How to make a ninja mask out of a tshirt. There’s a few ways to do this, and none of them involve cutting any holes in your tshirts. So simple even a caveman can do it.
Get a developer key and install Unbuntu on a usb disk so you can boot any XO from the USB disk without modifying your XO laptop. All production XO laptops have firmware security enabled when you receive them. Once unlocked, you can run any operating system you want.
If your dump was performed with the “–clean” option, you can skip the reinitializing of your databases to avoid duplicating data. This option, used with the “pg_dumpall” command will cause the restore to clean out all the objects in the database before performing the restore. If you didn’t include this option, then just delete the data directory and reinitialize the database as shown below.
After your done building your wx objects and you’re ready to show it and call MainLoop(), wrap your main loop where you actually instantiate your gui objects in try/accept statements so that you can really catch any errors by calling the “show_errors()” function to launch a new message window where the errors will get displayed. This lets you catch errors before your whole program dies (causing errors to get lost).
Tail a file in Python
def tail( f, window=20 ):
f.seek( 0, 2 )
bytes= f.tell()
size= window
block= -1
while size > 0 and bytes+block*1024 > 0:
…
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)
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 …
Now when go.php loads, you can check to see if there’s anything in the post_arr, and if there is, cycle through the array and store all the elements. I couldn’t find a working example of this just by googling. It seemed like tons of people would ask for this, but any responses on forums would be, “well what are you really trying to do”. So here it is.
How do you put pictures in your Outlook email signature so that everyone you send email to gets a little picture, and when they click on it, it sends them to a special website of your choosing? Well mom, that’s easy! Here’s how. But keep in mind, your screens may look a little different than mine, but it’s the same general get-r-dun process even if you’re using an older version of Outlook or Windows. I’m on 2008 server, so your mileage may vary.
Enabling LDAP authentication should take you about 2 minutes, unless you type with just 2 fingers. Then maybe 3 or 4. …If you don’t allow anonymous connections to your ldap, give it a user/password combination that has enough privs to do the lookups, or just use your master account if you’re just testing or don’t really care. … Now tell it what parts of your webserver you want to protect and how. You can specify any string you’d like for the realm. Here I require an LDAP user account name and password just to get to the wiki main page, and only admin can see the server-config page… Restart lighttpd and you’re done.