Category Archive: linux

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

Jul 01

Push a file to your Smartphone

This is a quick tip. If you need to push a notification to your smartphone, or even send a file, I recently stumbled upon "Pushbullet". I was looking for a solution to send a file (with automatic download) to my phone, via bash script on my raspberry pi. I've been using pushover for a while, …

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

Jan 08

Share NFS from Windows

I recently bought a second raspberry pi, for the purpose of making it a "dumb" media center running XBMC (Raspbmc to be exact). I already have a media center PC running XBMC on Windows 7, and I wanted to connect my raspberry pi to the downloaded media, stored remotely on the Win7. First, of course, …

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 13

Using your Raspberry Pi as an SSL Proxy

Not long ago, I have purchased an IP camera for my home. A nice toy I must say. I wanted to expose this camera for outside access. The issue is that this camera's interface does not support SSL. Well because privacy is involved, the least I could do is add SSL somehow. I googled a …

Continue reading »

Share

Oct 02

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

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

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

Mar 14

Download all your Last.fm loved tracks in two simple steps

Screen shot 2011-03-14 at 12.03.26 AM

I'm a fan of Last.fm online radio, and I have a habit of marking every good song that I hear as a "loved track". Over the years I got quite a list, and so I decided to turn it into my jogging playlist. But for that, I need all the songs downloaded to my computer …

Continue reading »

Share

Feb 08

How to rotate a video using MEncoder and FFmpeg and live to tell the tale

Hi I'd like to share a quick tip on rotating video files. I'm always frustrated with taking videos with my phone. Single handedly it's easiest to do it when the phone is upright and not in landscape mode. But the files are always saved in landscape mode, which makes them rotated when you watch. Although …

Continue reading »

Share

Older posts «