TEDding from the car – gPodder video Plugin for Rockbox April 7, 2011Posted by GuySoft in Crictor, diy, Electronics, ipod, ITU, linux, open source, podcast, programming, python.
Tags: car, diy, ffmpeg, gpodder, mp4, mpeg, open source, python, rockbox, TED, video
After a few weeks of bouncing emails with Thomas Perl I am happy to announce that we have a working plugin for his wonderful podcast application called gPodder. With this plugin installed, any mp4 video podcast that is downloaded with gPodder is automatically converted to a format playable by rockbox MPEG player plugin. Effectively meaning seamless sync of video podcasts to any rockbox enabled device. I am specifically using the Sansa fuze player, but just changing the screen resolution at the top of the plugin should make it work with any other rockbox device, and with the right screen size. The final product for me of all this technical stuff is that I can listen to TED lectures in the car. Or using the verb was coined by my friend Uzair “TEDding” from my car.
How to Install
- First you should have gPodder installed (available also as “apt-get install gpodder” or any other distribution install equivalent).
- Second you will need these packages installed too:
apt-get install python-kaa-metadata ffmpeg python-dbus
- Now all that is left is to copy this script to
mkdir -p ~/.config/gpodder/hooks/ cp rockbox_mp4_convert.py ~/.config/gpodder/hooks/
- If your are using a different player from the Sansa Fuse, modify the first lines to your screen resolution:
DEFAULT_DEVICE_WIDTH = 224.0 DEFAULT_DEVICE_HEIGHT = 176.0
make sure to include the .0 at the end.
- Thats it! Now each time video is download, for example from the TEDTalks Video Podcast it would be converted on arrival, and relinked as the file to be synced.
As usual, I would love to hear feedback from users and suggestions.
Tags: cellphones, gammu, internet, linux, open source, python, release, sms, twitter
I am releasing here set of instructions and source that will enable anyone to set up a phone number, that if you SMS it, will post your massage on to your own twitter account. This service is called “Twiter SMS Gate”. The service handles multiple users, and should be easily modified to support other services like statusnet (and with a bit more code maybe even other social networks). The SMS hardware required is any cheap cellphone that can work with gammu-smsd (mine is a fake Nokia from India). Twiter SMS Gate also lets users easily register to it with their own cellphone.
I hope that people that like this idea would start hosting more SMS gates, as we create a wide network of those around the world. SMS Twitter Gate-IL , The Israeli Gate, has been running for a few weeks now and even got covered in the local media here.
The source is written in Python, which includes the phone hardware hooks, webserver, twitter client and database access.
Here is the cellphone used to run my server, just to show you how simple it is to do this, no super-expensive hardware required! (server is also my personal Linux-running PC:
- Source is available here on GitHub, along with basic instructions on how to set it up.
- Working example of an SMS Twitter Gate in Israel
- List of working gates (one at the time of writing this)
If you have any kind of difficulty setting this up, please give me feedback, so we can make it as easy as possible.
3arabi – Arabic chat to English translator December 4, 2010Posted by GuySoft in Crictor, Hamakor, ITU, open source, programming, python.
Tags: 3arabi, arabic, code, open source, programming, python
As some might have noticed, Arabic speakers on the net use a form of writing called ‘Arabic chat‘ or 3arabi, which involves using Latin characters and Hindu-Arabic numerals to write words in Arabic. I wrote a small service called 3arabi that lets you translate this Arabic chat directly to English.
Apparently there are tools to do transliteration (converting Latin letters back to Arabic), and also translation. But nothing that does them both. That is why I wrote a small script that uses Google’s transliteration service and ‘Google Translate’. This does the job, but is not perfect, however, it does actually help me understand some messages.
The source is also available in GitHub (its in python). If anyone contributes better code I’ll merge it back to the service.
Thanks to Ira Abramov for hosting the service!
Thanks Muhammad Khatib who wrote Google Translate python API and for releasing it.
Update: Google seem to be blocking the translation service, thinking its spam, if anyone knows how to contact them and asking them to lift that ban would be appreciated.
Using CHDK to photograph blackboards in University Courses August 5, 2010Posted by GuySoft in Crictor, diy, Hamakor, ITU, linux, open source, programming, python.
Tags: chdk, diy, hacking, open source, programming, python, university
During last semester I developed a set of scripts that lets me photograph pictures of the blackboards during my university courses, categorize them while I am taking them and automatically generate PDF document for each course week. Because physics equations are not the simplest things to input in to a laptop in realtime, I have developed the following method. I am writing the post because I have a feeling this tool could help people in many ways, since it did change how I study in lectures.
How it works in a nutshell
During the lesson I take the photographs of the blackboard with a script I wrote for CHDK. In the script you set the course and week of the semester and this is stored per-picture on the SD card.
1 comment so far
I have been using twitter quite a lot recently and to users that are using non-Latin tweets, it might have occurred that the hashtags don’t work.
It will add a search link on the word, unfortunately due to a twitter bug, I had to remove the number sign (#) because twitter can’t search with it.
- The script should work with all non-Latin languages (tested Hebrew, Arabic and Chinese)
The script does not work when the “more” button is pressed. If anyone knows how to solve that please contact me.fixed!
I hope this becomes a useful tool for people.
Qutecom Portable – a sip phone for your USB Flash Drive April 18, 2010Posted by GuySoft in Crictor, Hamakor, ITU, open source, programming.
Tags: open source, portable, programming, software, VOIP, windows
I came across the need for a portable VOIP phone for windows, apparently there is no package out there for this.
So I repackaged QuteCom, a cross-platform softphone. Just adding a simple parameter did the job!
You can download the package here.
Extract it and simply run the “runme.bat” file in the folder.
The package is kindly hosted for me on Hamakor FOSS Society. There is also a wiki page with additional information about Qutecom portable there.
Cheaper Than SkypeOut!
Thanks to this package I can now call anywhere on my VOIP accounts. Where usually only skype was available, meaning I have a cheaper-than-skype providers 🙂 (Curently using voipvoip.com and callcentric). I really think standard VOIP should be more out there among the people giving a healthy competition.
Would love to hear feedback!
Bumble-B and an ADC with OpenGL make an oscilloscope February 22, 2010Posted by GuySoft in Crictor, diy, Electronics, Hamakor, ITU, linux, open source, programming, python.
Tags: bumbleb, diy, Electronics, linux, open source, OpenGL, programming, python
During my small semester break I managed to connect my Bumble-b chip to an analog-digital converter (ADC).
With this I can read voltage changes and send the information to the computer to plot live.
Here is a demonstration video:
How its all connected
Pidgin and X-chat plugins to execute a command on new messages February 14, 2010Posted by GuySoft in Crictor, Hamakor, ITU, linux, open source, programming, python.
Tags: open source, pidgin, programming, python, source code, x-chat
A while ago, when I coded message alert plugins for pidgin and X-chat so each time I get a new message my bumble-b LED display would flash, so I thought I might release the code here for people to use.
Both plugins will execute a command of your choice when receiving a new message.
Thanks to Simo Mattila who wrote the base code for the pidgin plugin 🙂
- Source code for the pidgin plugin
- You will have to follow the README file and compile the plugin. Then place the created .so file in ~/.purple/plugins/ .
- In the plugin menu there would be a configuration window to set the command.
- Source code for the X-chat plugin
- You will have to set the command inside the python file. Then copy it to ~/.xchat2/
- The X-chat plugin also is able to return the name of the user that sent the message.
Here is a video of the X-chat plugin in action:
I hope to find more time to posts the things I am doing, but as usual, university takes up all my time. Stay tuned
Brewing Cider December 24, 2009Posted by GuySoft in Crictor, diy, Hamakor, Uncategorized.
Tags: alcohol, brewing, chemestry, cider, diy
During the semester break, I brewed alcoholic Cider (not to mix with apple juice, which is no-alcoholic). My cider has 7.2% alcohol.
Although some readers might think that making alcohol out of plain apple juice might involve black magic, its actually quite simple. The only thing it really takes is time – about 3 months total to start drinking, but if you wait 5 months, you will get something that tastes much better. Its quite fun, and one can create unique flavors.
IGF Day 4 and last, Privacy – Incident with China – Human network – more Open Standards – Jordan FOSS – and Final statement November 24, 2009Posted by GuySoft in Crictor, Hamakor, IGF, ITU, open source, Uncategorized.
Tags: human network, IGF, internet, internet censorship, ITU, open source, open standards, privacy
This is the second day of the IGF 2009 and the 4th and last day of my journey.
There was a lot to write about, and I had little time back in Israel, so it took a while to publish.
I recommend you read my closing statement.
Scroll to the titles that interest you: