Category Archive: Solutions

Feb 17

A script to scrape PDFs from a page using Python+Mechanize

A friend asked me for a way to download all the PDFs from a page, and I made this simple script with Python and Mechanize. It's very straightforward... It does hack the user agent, which is not nice. So use at your discretion.

Share

Jan 27

Bootstrap3 fluid container with custom width sidebar

A simple way to get a custom size side bar alongside a Bootstrap3 container-fluid.

Share

Sep 30

FFMpeg with Lame MP3 and streaming for the Arduino Yun

So, I've been trying to stream audio off of a USB microphone connected to an Arduino Yun. Looking into it online I found some examples using ffserver & ffmpeg, which sounded like they could do the trick. However right from the start I've had many problems with playing the streams on Android and iOS devices. …

Continue reading »

Share

Apr 08

Struggles with creating Linux Live USB on Mac OSX

USB_Flash_Disk_Media

SO I've been trying to create a bootable live USB of some linux distro on the Mac and failed consistently. That is - until I found a magical solution!

Continue reading »

Share

May 12

Tailing the output of multiple files in Linux

This is a quick post to show a trick to tail multiple files, while showing the filename in the beginning of the line What I needed was a way to grep multiple logs for an exception. But doing "tail -f *.log | grep exception" only let me see the exception, but I didn't know which …

Continue reading »

Share

Jan 29

A Creative way to bypass Pattern lock on Android

012913_1912_ACreativewa1.png

Let me start putting everything on the table – this post will describe how I eventually managed to unlock an unrooted, non-Google account linked Samsung Galaxy Mini Plus (GT-5570I) device without ADB support. There are a lot of guides on how to bypass this pattern lock on Android (and I will provide some links), but …

Continue reading »

Share

Oct 02

Reading a directory in C++ (Win32 & Posix)

A c++ code snippet for reading a directory's file names

Share

Aug 09

Useful ImageMagick and FFmpeg shortcuts for Win SendTo menu

shell-sendto

Hello Quickly sharing some useful scripts I've "developed" over the summer to cope with some image resizing / video ripping / transcoding, etc. Instead of using some specialized GUI software for transcoding I thought why not simply put useful options in the Windows file browser "Send To..." context menu. That way I can right-click the …

Continue reading »

Share

Jun 01

The Raspberry Pi is Here

060112_0541_TheRaspberr1.jpg

A few months back I placed an order for a raspberry pi. For those who don't know what it is, it is a really cool project which is basically a computer for 35$ (Shipping for me almost doubled it, but that's to be expected). It is a board, which as 256MB Ram, SD-Card slot, 2 …

Continue reading »

Share

Apr 04

Bootloading an ATmega88 for Arduino [w/ code]

atmega88_bootloading

Just wanted to put up a small tut on how to put an Arduino bootloader on an ATmega88. I very roughly followed:  http://www.ladyada.net/learn/avr/avrdude.html And  http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard (Although they make it way too complicated) And ATMEL's datasheet for ATmega88 is also very good to have open at all times:  http://www.atmel.com/Images/2545s.pdf First, put everything on a breadboard: (This took …

Continue reading »

Share

Older posts «