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.

Post thumbnail of RFID attack and defense tool - The ProxPick
4 September 2009
Continue reading RFID attack and defense tool - The ProxPick

RFID attack and defense tool - The ProxPick

All of the firmware is covered under the GPLv2. I can see this being popular with high school kids forced to carry RFID tags while attending school. I like the scanning detection capability, and the active shield especially. And “Wall-of-Sheep”, a nod to DefCon perhaps? ProxPick’s decode routines are capable of reading and decoding
other 125KHz tag formats. Quick, hide your passport!

Post thumbnail of Block changes to a tag in Subversion with pre-commit hooks
3 September 2009
Continue reading Block changes to a tag in Subversion with pre-commit hooks

Block changes to a tag in Subversion with pre-commit hooks

Start by going to the hooks directory in your repository and copying pre-commit.tmpl as pre-commit. Then add the line to disallow changes to tags and run it. All is well, the change didn’t get committed, right? What just happened was the commit failed because the pre-commit wasn’t marked executable!

Post thumbnail of Knocking or Pinging in an Internal Combustion Engine
2 September 2009
Continue reading Knocking or Pinging in an Internal Combustion Engine

Knocking or Pinging in an Internal Combustion Engine

When a gasoline and air mixture auto-ignites and it’s not due to the normal spark event, the combustion wave will collide with the normal spark-initiated combustion wave inside the cylinder, causing the vibration that’s referred to as “knock” or “ping” due to the sound we hear. Depending on the intensity, knocking may be inaudible, barely audible kink-kink-kink or ping-ping-ping, or a violent banging or pounding sound. If sustained knocking occurs, the pistons will be damaged.

Post thumbnail of HP Thin Client image under VirtualBox
1 September 2009
Continue reading HP Thin Client image under VirtualBox

HP Thin Client image under VirtualBox

Use the following steps to get an image of a HP Thin Client running as a virtual machine in VirtualBox. I’m running Fedora 11 and VirtualBox 3.0.0 r49315. The thin client is running a stripped down Debian Etchnhalf (no ‘less’ pager command, man pages?!) And finally, if you log in with root or another user, you’ll get to a full xfce desktop

Post thumbnail of How to add files to an iso image on any Linux distribution
28 August 2009
Continue reading How to add files to an iso image on any Linux distribution

How to add files to an iso image on any Linux distribution

I’ll start with a small DSL linux image. It’s only 50 meg, but it’s a pretty useful little distribution.
ls -lh dsl-4.4.10.iso

-rw-r–r– 1 ninja ninja 50M 2009-08-28 13:11 dsl-4.4.10.iso

Mount the original iso image you want to modify
mount -t iso9660 dsl-4.4.10.iso /mnt/original -o loop
Copy the everything that you just mounted to another …

Post thumbnail of What would happen if you ran over a ninja?
26 August 2009
Continue reading What would happen if you ran over a ninja?

What would happen if you ran over a ninja?

He might have fallen victim to the inverse ninja rule, which states that up to three ninjas are badass, but as the number of ninjas increases they eventually become nothing more than cannon fodder. lies… 4 ninjas is the perfect number of ninjas. proof: ninjas of the teenage mutant turtle varietal. Only because they’re always fighting hoards of ninjas from the foot clan. BUT by the time they get to Shredder, he’s the only one left standing and he kicks their ass, until Master Splinter gets involved.

Post thumbnail of Cybercrime Investigations into foreign ISPs
26 August 2009
Continue reading Cybercrime Investigations into foreign ISPs

Cybercrime Investigations into foreign ISPs

Doesn’t this just sound like the typical and naturally expected increase in complexity and efficiency found in all areas (non technical) of organized gang activity that is used in response to increases in efficiency and complexity within the legal and law enforcement community? I wonder if the tactics that actually work against criminals and criminal organizations in general share any similarities to those that work in the cyber warfare arena? What the right response is, I don’t think we’ve figured out yet, because the problems only appear to grow as time progresses. I guess that all depends on what you use as your measuring stick, but one thing is for sure, cyber warfare is no where near under control today.

Post thumbnail of Running bash shell scripts in debug mode to trace execution
26 August 2009
Continue reading Running bash shell scripts in debug mode to trace execution

Running bash shell scripts in debug mode to trace execution

This is so handy, I can’t believe i’ve never used or even heard of this until today! You can easily run your bash shell scripts in debug mode to watch what they’re doing behind the scenes in real time. You get to see the levels of nesting when you’re inside loops and variables get replaced with their actual contents at the time of execution.
This might come in handy if you have multiple levels of nesting in ‘for’ and ‘while’ loops or a few if/then/else statements and you want to see just what is getting passed in the comparisons.

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