Post thumbnail of dd and netcat - like peanut butter and jelly
29 September 2009
Continue reading dd and netcat - like peanut butter and jelly

dd and netcat - like peanut butter and jelly

dd and netcat on one end, netcat and dd on the other. so simple, it’s like magic.

Post thumbnail of Fuel Injector Spray Timing for Reduced Hydrocarbon Emissions and Higher BSFC
29 September 2009
Continue reading Fuel Injector Spray Timing for Reduced Hydrocarbon Emissions and Higher BSFC

Fuel Injector Spray Timing for Reduced Hydrocarbon Emissions and Higher BSFC

The amount of overlap depends on the engine, but most modern fuel injected high performance internal combusion engines have some valve overlap. While the intake valve is starting to open, the exhaust valve is starting to close. During this time there can be a back flow of air/exhaust in the direction of the fuel injector and intake manifold. This effect is stronger under high vacuum conditions (low absolute pressure). It is important to wait for this back flow to reverse before firing the injector. Once the exhaust valve is open, the velocity and flow of air will have increased as the exhaust gases have completely turned around and begun to escape through the exhaust port and out of the exhaust manifold. The optimal time to fire the injector is during this period, but as engine speed increases the injection must begin earlier to fully complete to avoid flowing fuel straight through the combustion chamber and right out of the exhaust port.

Post thumbnail of Convert Excel spreadsheets to CSV in Linux without OpenOffice
25 September 2009
Continue reading Convert Excel spreadsheets to CSV in Linux without OpenOffice

Convert Excel spreadsheets to CSV in Linux without OpenOffice

I needed a batch converter to turn non-xml style Excel spreadsheets (all the older versions) into delimited text files. If you run it without supplying a sheet name, it will list all the sheets available. You can also optionally define a delimiter to use instead of the default comma. So here’s my code along with part of the xlrd module which I tweaked a little.

Post thumbnail of System wide proxy settings in Windows
18 September 2009
Continue reading System wide proxy settings in Windows

System wide proxy settings in Windows

If you have proxy settings set up in Internet Explorer already, then you can just run proxycfg -u and you’re done. It will add the registry keys for you. In the run dialog (Start -> Run) enter this command. It will flash the command prompt black screen and exit …

Post thumbnail of Windows keyboard shortcuts
17 September 2009
Continue reading Windows keyboard shortcuts

Windows keyboard shortcuts

Windows & Apps shortcuts

Ctrl + Shift + Esc - Open task manager
Windows Key + R - run dialog
Winkey + D - toggle show desktop
Winkey + E - windows explorer
Winkey + L - lock workstation
Middle click a link - open in new background tab (useful for google, reddit)
Middle click a tab …

Post thumbnail of Git through a proxy
16 September 2009
Continue reading Git through a proxy

Git through a proxy

If you’re behind a proxy and you run that, you’ll get something like “the other end hung up” or “Cannot get remote repository information” because git is trying to connect using port 9418 by default. I found a few sites saying all you need to do is change git to http in the url and it will work, but that did not work for me. But it’s an easy fix. Change git’s http.proxy and you’re done. Here’s how: (replace my proxy host and port 8002 with your own)

Post thumbnail of Subversion through a proxy
16 September 2009
Continue reading Subversion through a proxy

Subversion through a proxy

You can do this globally for everyone, or just for yourself. There’s a hidden directory called “.subversion” in your home directory. Edit the servers file. Everything should be self explanatory. Scroll down to the bottom and you’ll find a global section. The proxy settings in there should cover it…

Post thumbnail of Compile python into single file executable packages
16 September 2009
Continue reading Compile python into single file executable packages

Compile python into single file executable packages

First I had to run dos2unix on all the files to get the right new line chars. Then I had to find a patch to fix the kernel-rt problem with the linux-vdso.so.1 missing messages. I found I could run MakeSpec.py and Build.py to compile python scripts into executables after patching. Here’s what the patch does.

Post thumbnail of Perl Spreadsheet::ParseExcel to convert Excel Spreadsheets
14 September 2009
Continue reading Perl Spreadsheet::ParseExcel to convert Excel Spreadsheets

Perl Spreadsheet::ParseExcel to convert Excel Spreadsheets

#!/usr/bin/perl -w
# For each tab (worksheet) in a file (workbook),
# spit out columns separated by “,”,
# and rows separated by c/r.
use Spreadsheet::ParseExcel;
use strict;
my $filename = shift || “Book1.xls”;
my $e = new Spreadsheet::ParseExcel;
my $eBook = $e->Parse($filename);
my $sheets = $eBook->{SheetCount};
my ($eSheet, $sheetName);
foreach my $sheet (0 .. $sheets - 1) {

Post thumbnail of Opera > Firefox :: Top features not found in Firefox
9 September 2009
Continue reading Opera > Firefox :: Top features not found in Firefox

Opera > Firefox :: Top features not found in Firefox

Smarter tabs, Opera turbo, widgets, cache control, dragonfly, speed dial, and all the little things like middle mouse clicks to open tabs.

 Page 37 of 57  « First  ... « 35  36  37  38  39 » ...  Last » 
Powered by Wordpress   |   Lunated designed by ZenVerse