Support

Forums

Contact Me

Posts Tagged 'diy'

Do it yourself

Do it yourself (DIY) is a term used to describe building, modifying, or repairing of something without the aid of experts or professionals. [http://en.wikipedia.org/wiki/Do_it_yourself]

Hardware mods links

Â

Â

http://www.snocud.pf/zerofil/neogeo.htmConvert a NeoGeo pad and use it on your PC.
http://www.neogeousa.com/mods/svideo.html"S-Video can offer a much better video signal for those with newer televisions..."
+
Some notes about svideo mods
http://nfg.2y.net/games/neorgb/Study about the decrease of RGB output quality circuitry.
http://www.nickthfury.com/neogeo/cdmods.htmNeo Geo CD mods, Neo Geo AES mods. Great site
http://www.gamesx.com/importmod/neocd5060.htm NEO GEO CD 50-60Hz Mod
http://www.gamesx.com/importmod/neocdzcon.htm NEO CDZ Import modification
http://www.nickthfury.com/neogeo/acc.htm NeoGeo Accessories

Asus SABERTOOTH X79 USB BIOS Flashback Filename

asus_sabertooth_x79_mainboard

Latest BIOS can be downloaded from ASUS Service Site (ASUSTeK Computer Inc.)

The trick for the Asus SABERTOOTH X79 is to name the file correctly! the support of Asus did not understand my question and was not able to answer under which filename you have to save the bios, hence this small post.

When you’ll download the latest bios version from ASUS Service Site (ASUSTeK Computer Inc.), you’ll end up with a file name like this one: SABERTOOTH-X79-ASUS-0906.ROM for example

Rename the file to SABERX79.ROM before copying it on the USB disk or it wont be recognized by the bios flashback function.

How did I find this? brute forcing the file name by trying something like 25 filename and having luck : ridiculous.

Other than definitely a great mainboard and quite cheap if you consider the number of features: USB3, SATA-6, UEFI Bios, PCI 3.0

Read more: Asus SABERTOOTH X79 USB BIOS Flashback Filename

Raspberry Pi model B

20130219_211947

Some notes about my experience using the Raspberry Pi model B…and you get it running Linux Debian on it!

The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. We want to see it being used by kids all over the world to learn programming.

[…]

We don’t think that the Raspberry Pi is a fix to all of the world’s computing issues; we do believe that we can be a catalyst. We want to see cheap, accessible, programmable computers everywhere; we actively encourage other companies to clone what we’re doing. We want to break the paradigm where without spending hundreds of pounds on a PC, families can’t use the internet. We want owning a truly personal computer to be normal for children. We think that 2012 is going to be a very exciting year. [About Raspberry PI]

Read more: Raspberry Pi model B

Hosts file protection

hosts.file The hosts file is a computer file used by an operating system to map hostnames to IP addresses. This method is one of several methods used by an operating system to locate network nodes on a computer network. Spybot Search and Destroy is using this technique when you click on immunize button behind the scene.

Found at http://someonewhocares.org/hosts/

Use this file to prevent your computer from connecting to selected internet hosts. This is an easy and effective way to

  • protect you from many types of spyware,
  • reduces bandwidth use,
  • blocks certain pop-up traps,
  • prevents user tracking by way of "web bugs" embedded in spam,
  • provides partial protection to IE from certain web-based exploits
  • blocks most advertising you would otherwise be subjected to on the internet.

There is a version of this file that uses 0.0.0.0 instead of 127.0.0.1 available at http://someonewhocares.org/hosts/zero/. On some machines this may run minutely faster, however the zero version may not be compatible with all systems.

This file must be saved as a text file with no extension. (This means it that the file name should be exactly as below, without a ".txt" appended.). Let me repeat, the file should be named "hosts" NOT "hosts.txt".

Articles tagged

Read more: Hosts file protection

Belt is going up and hit the fan


You can insert some thin shims between the engine and the engine mounts upper holes.(red points) This make the engine lean slightly forward and make the belt go lower down on the clutch bell.

How to replace the damping material of a BOS Oval exhaust

bos.oval.exhaust

A small Do It Yourself (DIY) that i will never do anymore as it is really dirty and may be also very unhealthy (you MUST wear a mask). This BOS exhaust has an ABE number, and was simply making way too much noise for Switzerland. It is normal that after some kilometers the content get more compacted and as a result make the exhaust more noisy. Price of a new BOS Oval exhaust silencer is 475 euro

Total costs:

  • 42 euro for the Bos re-pack kit for 1 silencer Complete with stainless steel wool, Fibercon damping material and gas-tight stainless rivets. (Ref 333001)
  • 52 euro for a stronger Rivet pliers (able to ply 4.5mm stainless rivets)

First things to do is to open the casing, depending on your muscles and if you plan not to damage the casing, it can be quite challenging. A BOS exhaust is oval and has nearly no grip possibility. This is where some ratchet straps may help. You will have to use at least 4 of them!

Read more: How to replace the damping material of a BOS Oval exhaust

AutoMySQLBackup, do not save backup on your server...

One of the most important rule is to always backup your data with multiple tools on different medium, just in case of.

Just imagine 5 minutes that you lose everything, what you have done in the last 3 months on your homepage..ok still not crying? you loose hundred of hours of work, nightly debugging, customizations, hours of Gimp/Photoshop, lengthy and good written articles...  

With Joomla! and now with nearly all CMS, the most important thing to backup is the database. I recommend a daily backup at least!

And now my solution:  AutoMySQLBackup

A script to take daily, weekly and monthly backups of your MySQL databases using mysqldump.

Features

  • Backup mutiple databases 
  • Single backup file or to a seperate file for each DB
  • Compress backup files
  • Backup remote servers
  • E-mail logs
  • Backup mutiple MySQL databases with one script. (Now able to backup ALL databases on a server easily. no longer need to specify each database seperately)
  • Backup all databases to a single backup file or to a seperate directory and file for each database.
  • Automatically compress the backup files to save disk space using either gzip or bzip2 compression.
  • Can backup remote MySQL servers to a central server.
  • Runs automatically using cron or can be run manually.
  • Can e-mail the backup log to any specified e-mail address instead of "root". (Great for hosted websites and databases).
  • Can email the compressed database backup files to the specified email address.
  • Can specify maximun size backup to email.
  • Can be set to run PRE and POST backup commands.
  • Choose which day of the week to run weekly backups.

Just download the file, save it somewhere, and configure automysqlbackup with your editor of choice (25 first line of file). To test if everything work,  just run the file.

Note:

automysqlbackup  require Mutt 

# yast2 -i mutt
Mutt (http://www.mutt.org) is a small but very powerful text-based mail client for Unix operating systems. It is used by the script automysqlbackup (sourceforge.net/projects/automysqlbackup/) to cut mail in part (automysqlbackup do ot use mail in that case)

automysqlbackup  send daily email with database content, so data are not on host in case of crash or on ftp. You may create 2 emails account and forward the result of the backup to 2 different free email hoster (Gmail and Hotmail for example)

Basic operations with XEN server: export, import of VM templates and guests

xenserver_logo_lg

More and more I am using XEN at work, and here is a small how to of some very common operations.

Citrix® XenServer® is a complete, managed server virtualization platform built on the powerful Xen® hypervisor. Xen technology is widely acknowledged as the fastest and most secure virtualization software in the industry. XenServer is designed for efficient management of Windows® and Linux® virtual servers and delivers cost-effective server consolidation and business continuity.

By the way if you succeed installing XEN server on a Strato.com dedicated Linux server with a minimal downtime, contact me I am interested!

Basic operations

Determine the XEN guest uuid

This uuid is required to identify XEN guest.

# xe vm-list
uuid ( RO)           : 99bb0e42-0616-6f02-ed41-be48bb338280 
     name-label ( RW): server01
    power-state ( RO): running

Determine the XEN sr-uuid of a disk storage

A sr-uuid identify a storage resources attached to a XEN server, this unique id is required for some operations as it allow you for eample to import XEN guest into it.

Run as root, in the XEN server console


# xe sr-list
uuid ( RO)                : 99f191c4-4563-8672-7d8e-4602850fbeb0
        name-label ( RW): Local storage
        name-description ( RW): 
        host ( RO): xen01
        type ( RO): lvm
        content-type ( RO): user

Identify the locale storage by looking at the name-label and copy the uuid

Export XEN Guest

  1. You need to stop the XEN guest prior to any operations
  2. You need to determine the XEN guest uuid (see basic operations)
  3. Mount a NFS / CIFS / Samba share if you want to move from one XEN server to another as the filename can be located anywhere.

Run as root, in the XEN server console

# xe vm-export vm=99bb0e42-0616-6f02-ed41-be48bb338280  filename=server01.xva

Import XEN Guest

  1. You need to determine the XEN guest sr-uuid (see basic operations) : the storage unique id
  2. Mount a NFS / CIFS / Samba share if you want to move from one XEN server to another as the filename can be located anywhere.

Run as root, in the XEN server console

# xe vm-import filename=server01.xva  sr-uuid=99bb0e42-0616-6f02-ed41-be48bb338280 

Export a XEN template to disk

  1. Log to the XEN server where this template is located, and list all templates
  2. Mount a NFS / CIFS / Samba share if you want to move from one XEN server to another as the filename can be located anywhere.

# xe template-list

If there is too much templates, you can filter with grep or by using name-label

# xe template-list  name-label="myTemplate label”
uuid ( RO) : c4962b6b-5678-a72b-85cd-e33f01b1320a
name-label ( RW): mytemplate label
name-description ( RW):

To export, run

# xe template-export uuid=c4962b6b-5678-a72b-85cd-e33f01b1320a filename=myTemplate.xva

You can see the export progression in tab “logs“ of that template in XEN-Center

Import a XEN template to a new XEN Server

  1. Log to the XEN server where you want to import the new template
  2. You need to determine the XEN guest sr-uuid (see basic operations) : the storage unique id

To import, run

# xe vm-import filename=myTemplate.xva  sr-uuid=99bb0e42-0616-6f02-ed41-be48bb338280 

TO be continued…

Automatic refresh of Joomla! demo site the easy way

joomla_logo

These are the script I use to maintains all my 3 demo Joomla! sites:

These scripts increased security and are trying to standardized how to create, update and maintain Joomla! demo site. Feel free to submit, send me ideas how to improve them or ask for help.

 

This project is hosted at http://forge.joomla.org/gf/project/demosite/ under a GPL v3.0 license and the latest documentation can be found in my WIKI

Read more: Automatic refresh of Joomla! demo site the easy way

Apple iPhone Screen Repair: iPhone 3GS

apple-iphone.3gs.repair.diy

I will show you how to repair a cracked or broken iPhone 3G, iPhone 3GS, iPhone 4, or iPod Touch screen yourself.

In brief, what you need to know

  • The 3G and 3Gs screens are different! you can not mount an iPhone 4 screen on a 3G(s)
  • There is NO 3rd party or lower quality screens, all 3rd party repair company just LIE.
  • Different kit are available:
    • LCD only for 12€ to repair a broken LCD screen only: the iPhone has an intact glass screen, however the image behind the glass screen is absent, broken or distorted.
    • Glass + digitizer for 22€ This is for an iPhone 3G device with a broken glass screen or malfunctioning touch screen with the image (LCD Screen) behind the screen still intact.
    • Glass + digitizer + LCD + button + speaker mounted for 42€ the most expensive but the easiest to replace
  • Duration: 30, 15 or 2 minutes depending on the kit

I went for the most expensive Kit on ebay.fr, which allow you to replace the broken screen by removing 2 screws, an connecting 3 cables!

By the way I would NEVER send any phone to anyone, how do you think all these private pictures land on forums? removing the sim card is not enough, there are tools to fetch data even after the have been removed!

Read more: Apple iPhone Screen Repair: iPhone 3GS

Donations

Thank You for supporting my work