Laptop Data Security

November 5, 2010
Tags: , ,

This should be a no-brainer for anyone carrying anything important around on a laptop.
IMHO, relying on a user password (like a login password) is not a great idea, since anyone with physical access to the disk can get to your data easily. OTOH, using disk encryption seems like overkill – since if [...]

Comments Off

Scite filter changes for SCSS files

September 15, 2010
Tags: , ,

Just a quickie…
To make SciTE work with scss files (which are enhanced css files), just add the following information:
In /usr/share/scite/SciTEGlobal.properties (on a Fedora machine at least, YMMV) :

;*.scss to the end of source.files=

and in /usr/share/scite/css.properties the top of the file should read :

filter.css=CSS (css scss)|*.css;*.scss|
lexer.*.css=css
lexer.*.scss=css

Comments Off

sass-convert on Fedora

September 15, 2010
Tags: , ,

sass (and its successor scss) is a really nice CSS meta-language, enabling nicer hierarchies of classes to be built (much more maintainable).  The transformation software is written in ruby, and provided by the ruby gem haml.
The first step when using SCSS file, is usually to recast existing CSS files into semantically equivalent SCSS files (when [...]

Comments Off

Building Titanium SDK on Fedora

May 25, 2010

These direct steps (using the openjdk, not the Sun one) are confirmed to work…
Below, the following are our (typical) values :

MY_ANDROID_SDK : /path-to-android-sdk-installation-root/android-sdk-linux_86
MY_TITANIUM_DEVELOPER_DIR : /path-to-titanium-developer-installation-root/Titanium Developer-1.2.1
MY_TITANIUM_FILES_DIR : /path-to-my-home-directory/.titanium
MY_TITANIUM_SDK : /any-suitable-directory/

Note that MY_TITANIUM_FILES_DIR is the default created/used by the Titanium Developer program, which one runs from MY_TITANIUM_DEVELOPER_DIR using ./Titanium Developer
Check that the build tools are [...]

Comments Off

Android SDK on 64-bit fedora (openjdk)

May 20, 2010

Requirement : Get the 32-bit Android SDK to work on a 64-bit Fedora machine (Fedora 11 tested below), using the standard openjdk rather than Sun Java. No eclipse required, since development will be done using Titanium.
32-bit libraries are required. To clear out existing libraries (only if you know you haven’t got anything else [...]

Comments Off

udev rule for Android G1 phone

May 20, 2010

Create /etc/udev/rules.d/91-android.rules with the contents :

SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", SYMLINK+="android_adb", MODE="0666", OWNER="rmbsanal"

Then

/etc/init.d/udev-post reload

and re-plug in your Android phone. That’s it.

Comments Off

Running TaxAct 2009 with Wine on Fedora

April 16, 2010
Tags: , ,

Having to dual-boot into WinXP or Vista to run a tax program once a year is really bothersome. So, this year (the night before taxes were due), I set on the path of submitting my taxes without leaving Fedora.
I’d used TaxAct before (business and personal), so it was natural to want to [...]

Comments Off

Running rsync from a webserver (using sudo)

October 21, 2009

Situation
I want to have ‘rsync’ run when a user presses a button on the webserver. The software stack is as follows (though this was largely a red-herring, see below) :

Fedora – server
lighttpd – webserver
Twiki – intranet setup
perl – plugin language for Twiki
bash – perl launches a script to run the rsync
sudo – to ‘change [...]

Comments Off

Setting up git server on a ‘central repository’ – gitosis

October 11, 2009
Tags: , ,

NB : There’s even more information in the following excellent guide : http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way
But there are some differences for Fedora that are worth spelling out.
Central Repository setup
First install gitosis :

central# yum install gitosis

Then create a dumb git user – noone will be logging in as this user: it’s just so that everything can be centralized :

central# [...]

Comments Off

Funambol with MySQL on Fedora 10

September 17, 2009

Much of this is adapted from the text of http://schattenschreiber.org/diary/2009/05/20/installing-the-funambol-bundled-server-under-ubuntu-server-amd64-mysql-lighttpd/
Installing funambol isn’t as easy as it might be – mostly because it ships with it’s own java/jre version, which I figure is needless duplication. Here’s a little step-by-step guide for getting it installed nicely on Fedora. You will need some command line literacy [...]

2