Corruptive News Just news from a guy who moved from London to Bristol.

29Jan/120

Syntax highlighting .bashrc in gedit for Ubuntu 10.04

I wanted to customise my .bashrc file but gedit kept just showing the sh/shell code without syntax highlighting. To fix this I did a few things.
cd ~/.local/share mkdir -p gtksourceview-2.0/language-specs
cd gtksourceview-2.0/language-specs
cp /usr/share/gtksourceview-2.0/language-specs/sh.lang ./
gedit sh.lang
Change line 27 to:

<property name=”globs”>*.sh;.bashrc</property>

Basically adding ;.bashrc

So here is the file to save you the hassle of this process. Just extract to your Home directory ~/

gedit_sh_lang.tar.gz

Filed under: Fun No Comments
30Dec/110

SBSettings Theme for 5.0.1

I wanted a theme that worked with the Banners Notification on the iPhone 4 Firmware 5.0.1. The Gimme 4 theme in black that I found on a forum did not have the Drop Win icon so a made one.

To install you need Cydia, Open SSH, Filezilla then ftps to /private/var/mobile/Library/SBSettings/Themes and put the extracted Gimme 4-1_5.0.1_TT_edit folder there. Rename it to something simple like “Gimme 4″ if you like!

To use this I found I had to go to SBSetting and configure the iOS 5 Notification section and set it to Separate List “ON”. Then set the notifications toggles. That is to say that having Separate List “OFF” with Using (existing) Windows Toggles did not work.
In short, use Separate List.

Filed under: Fun No Comments
10Sep/110

Sync data to mobile phones (iPhone and Android).

I have tried a fair few apps to sync files but the best has to be the ones based on Rsync.
If you have an rsync server (I have a managed one). Then this is a rock solid way to sync a directory of data to your phone.

iOS/iPhone
Acrosync: Claims to be the only rsync app for iPhone and I could not disprove that. Works well and has a Pro version with no adverts.

Android
rsync *: The market has loads of rsync apps but I happen to use rsync backup. It just works fine.

I tried Wifi Syncr which will handle Windows shares and is really cunning and flexible but I found that it struggled to sync medium sized (100MB) files as does the iPhone as it happens.

Anyhow, I also just wanted a way to quickly ftp photos and ‘ting to the rsync server so I use an old favorite, DropUpLoad.
 

For iPhone you have what Android could really do with, OPlayer. This iPhone app is pretty simple in that it combines a video player with an interface to browse network shares. The major flaw is that you can’t add anything to iTunes or Camera Roll. Even with iFile this does not really work.

If I wanted an rsync server on my LAN I would just use Vbox and Ubuntu. Kind of daft to have to run it every time but I have tried rsync server for Windows with cygwin and all the rest but setup and config it just too much of a stove pipe system. I like stuff to be portable and easy to rebuild, Vbox with Ubuntu does that.

Scary exe files

Filed under: Fun No Comments
17Sep/100

Galleries – 25 Photos That Prove Hipsters Suck – epic_hipster


Galleries – 25 Photos That Prove Hipsters Suck – epic_hipster.

Filed under: Fun No Comments
10Sep/100

Motorcycling


Found this old photograph whilst cleaning out drawers. It is you on the back of Jonathan Heale’s Harley Davidson Electraglide. I guess you would have been eight or nine at the time when we visited them in Wales. Love Dad XXX
Filed under: Fun, News No Comments