|
At the crossroad of New media, Engineering, Research and Development
|
|
Archive for ‘June, 2008’
I’ve been hanging around tumblr.com for the last couple of days and I’m quite impressed. My buddy brad — bradfortner.com — would love this. He — and a lot of others — use twitter.com and tinyurl.com to keep track of stories they want to either read or blog and socialize. Well that plus a lot more is what tumblr does. The difference being that tumblr.com is a hell of a lot more stable and allows for different types of media to be posted (Text/Blog, Picture, Video, Audio, Quotes, Chat’s and URL Links). Tumblr.com also supports interleaving RSS feeds into your tumblr page, so I for example, have my blog here at nerdlogger.com, but also use it’s RSS feed to feed stories to nerdlogger.tumblr.com and everything gets married seamlessly by tumblr’s backend services. So if you want to see the madness behind nerdlogger.com head over to nerdlogger.tumblr.com and If you haven’t tried tumblr head over to tumblr.com and sign up for an account. It’s FREE Jun
30
2008
Holidays, 1stopoflight.com and I’m back in the Studio…..We’re having a extended long weekend, and I was working on my new photography site — 1stopoflight.com — when the studio bug bit me Well I finally broke down and did it. My new Photography site can be found hosted on tumblr at 1stopoflight.com. I’m using a modified museum theme by Paul Giacherio.The nice thing about having the site on tumblr is that I can host the physical photos on yahoo’s flickr.com and just link them into 1stopoflight.com‘s pages. It keeps things very tidy and makes it easy to maintain. Tumblr really rocks. Just when you thought your command line life was getting boring, we discover these happy tunes for your cut/paste pleasure. Just select the entire line, copy it, open a terminal window, paste it followed by Enter and marvel at your Mac. Yeah it’s a OSX thing and works best under 10.5, so if you’ve got Vista/XP/Linux, this might be a good enough reason to do the switcheroo Jun
27
2008
JumpBox: Super simple way of getting web services deployed.
I used their parallel configuration on the Mac — JumpBoxes will run on all of the popular virtualization platforms including VMWare, Parallels, Microsoft Virtual PC/Server, Virtual Iron and Xen — and the static IP was all I had to configure to get the server up and running. If you have DHCP on your subnet/homerouter it’s even easier…..no thinking involved. Jun
26
2008
Transcode and stream DV to mpeg4 via firewire using VLC and Ubuntu 8.04 (Hardy Heron)Well kids are you ready for todays lesson in transcoding DV video. So first you need a decent machine. I’m using a P4 2.4Ghz oldie that has Firewire on-board and am chewing up 50% CPU for NTSC encoding. Then you need to get Ubuntu 8.04 installed. Once that’s done use the following command to install vlc (Video Lan Client): The above command (in case you’re wondering) will literally open device zero on the firewire chain and redirect it’s raw output into the VLC program. VLC is told to accept input from a pipe in rawdv format and to transcode it to mpeg4 Video @ 1Mb/s with mpeg1-layer3 audio @ 192 Kb/s. Once the above command is running you’ll need to go to your receiving machine (the machine who’s IP you supplied in the command above), run VLC and from the File menu choose “Open Network Stream” and go with the default UDP/RTP on port 1234 (or whatever port you chose in the encoder command line). Another neat thing you can do with your new found opensource goody bag is capture DV from your camera/settop box and save it in mpeg4 format for archival purposes (or mpeg2 for editing maybe). I’m not gonna get into the details, but assuming you’ve done the above commands, skip the encoder command and issue the following command to get your DV stream saved: Have Fun…. Jun
26
2008
WRDL or is it Wordle….which ever way you say it, it spells fun :-)
Jun
26
2008
Styrobot….Something creative my mind never came up with
Jun
26
2008
TinEye Image Finger Printing Technology….Find out who’s stealing your images
Jun
22
2008
Toronto Strobist Group meets at Ryerson
Jun
17
2008
Tunnel to locally running mysql server using sshRunning and administrating mysql can sometimes be a hassle especially if you’re running a semi-secure environment. This usually means that your mysql server will not accept connections from outside and only localhost connections are allowed. There is a quick way of getting around this if you’re stuck somewhere and really need to use that graphical admin/browser tool to get to your DB server. All you really need to do is forward port 3306 on your local machine to port 3306 on the DB server through a ssh tunnel. Here is the ssh command you need to issue to start things up: If you have mysql daemon installed on your local machine (the machine you initiated ssh from) you need to change the local port to something else other than 3306 and the command will look something like this: Jun
12
2008
Four little Security tools you should install in UbuntuThese should probably also be installed under other linux distros (might already be). But for the sake of completeness here they are: 1) denyhosts: great little package that’s already 98% configured after apt-get install process. It runs as a daemon and monitors /var/log/auth.log file for unsuccessful ssh logins and takes measures to ban the originating IP in /etc/hosts.deny. The cool part is that it does not need access to firewall or anything. Config file is /etc/denyhosts.conf and is pretty self explanatory. Ubuntu package is called “denyhosts” and needs python to work. 2) chkrootkit: another little gem that you install via apt-get install process. Ubuntu package is called “chkrootkit”. After install do “man chkrootkit” for more info, but the gist of it is that when run from command line it uses it’s own utils (located in /usr/lib/chkrootkit) to see if the system is infected. 3) rkhunter: this util is really a giant shell script, but it’s really nice and easy to use. Again use Ubuntu package name “rkhunter” to install it. It’s config file goes into /etc/rkhunter.conf and is pretty nicely setup by default. Next run “rkhunter –update” to update the discription/signature files from their website, then run “rkhunter –propupd” to grab a snapshot of the various files installed on your system. This will be used later, every time you run the command to see if anything has been changed by trojans/rootkits. Finally run “rkhunter –check” to actually run all the tests and see if you’re good to go. At the end if there are warnings check /var/log/rkhunter.log for a list of explanations about those warnings (suspicious filenames, hidden file locations, etc.) 4) ufw: The netfilter (firewall) interface for the rest of us. If you’re like me too dense to remember the iptables lingo, this might be for you. See this page for a good introduction. Have fun and remember kids Vitamin U(buntu) is good for you. Jun
12
2008
Twitter from Unix/Linux/OSX command lineYep, you can. Here is the recipe: 1) You need to install “curl” for your OS. OSX comes with it by default which is nice. Most unices out there also have it installed or have it available for download (Ubuntu, Debian users can use “sudo apt-get install curl” to install). Have fun commandline twittering I think every admin must do something stupid atleast once….right? Well my brain fart happened during a System upgrade (another story I’ll be ranting about later). I made backups of all the files I thought were important (/home, /etc, /var/lib/mysql and other userdata we had on the system) and installed Ubuntu 8.04 on the server. Well, of course the second person who walks in to report problems, asks me about his personal crontab……DOOOHHHHH!!!! Yeah I forgot to back that sucker up. Now, the lucky part of all this is that I just deleted the old directories on that partition, I did not format it. So once I realized that, I figured why not just search for it. I mean I knew something about the file, why shouldn’t I be able to just search the raw disk and look for a specific string I know existed in the crontab file. Well guess what you can and it works like a charm….here is how: grep --binary-files=text -10 "DO NOT EDIT THIS FILE" /dev/sda9 >/tmp/output
This command was issued on a ext3 partition and found the portion of the file I was looking for in about 20 minutes (the partition is about 450GB). The Unix utils are marvelous and just using a single grep command (above) allows me to look for the string “DO NOT DELETE THIS FILE” (which I knew for fact was in my deleted file) and output 10 lines of text above and below that line into a temporary file. Now that’s power kids, don’t try this on your Winblows machine For those of you using Google Reader…..here is a neat little distraction……type the following while google reader is the active browser window (up/down/left/right are cursor keys): up up down down left right left right b a fun stuff…..thank G
Today marks the re-release of Virus.Win32.Gpcode.ak virus for the PC platform. This sucker was released two years ago and went around RSA encrypting peoples files (including, but not limited, to .doc, .txt, .pdf, .xls, .jpg, .png, .cpp, .h) with a 660-bit encryption key. Thank god the boys at Kaspersky Labs found a bug in the code and cracked the code. This time the author(s) are using a 1024-bit key. So if you ever end up with files ending in _CRYPT, you’ve got a major problem on your hand. If the author(s) have done their homework, Karpersky Labs estimates that it would take decades (if not longer) to crack the 1024-bit key. Now I’m sure you’re thinking I’m spreading FUD, but think about this for a second. How many hours of work would you loose if all your documents were encrypted and you were faced with a ransom note pointing you to pay up to recover them? How much do those digital camera pictures from your last trip mean to you? I don’t know about you but when a virus company comes out and says, “Let’s hope the virus author screwed up or else we’ll be in some serious heat”, I would start worrying. Anways, something to think about while you’re writing those documents, taking those pictures or creating the next best selling computer game. At the very least you should BACK IT UP!!!! More over at Kaspersky Labs…..
Now if only MS and it’s minion (Carl Icahn) would leave Yahoo alone so they can port the Pipes engine to the linux desktop I’d be a happy man
|