Saturday 12 February 2011

Make Firefox Addons Compatible

Or should we say uhhhhHHH... Make FIREFOX ignore compatibility
--8<---Firefox Actions Begins--->8--

Type: http://about:config into Firefox's address bar
Then click the "I'll be careful, I promise!" button.
Right-click anywhere. Choose New>Boolean.
Make the name of your new config value extensions.checkCompatibility and set it to false.
Make another new boolean pair called extensions.checkUpdateSecurity and set the value to false.
Restart Firefox you're ready to rock uh surf.
Tested with Firefox Versions 3.x not tested with 4.x versions yet let me know how you get on with your comments.
--8<---Firefox Actions Ends--->8--

Friday 11 February 2011

Get emacs24 for linux now

--8<---Get EMACS24 Begins--->8--

Using debian so the following may need adjustment for other distros.

** # To install development Version of Emacs install the following
agi is an alias in my .bashrc for apt-get install in your favourite editor edit ~/.bashrc
then type:
alias agi='apt-get install'
saves you I meant me typeing...
agi lsb-rpm lintian binutils-multiarch libtext-template-perl
agi planner-el bbdb blosxom vm w3m-el gnuserv gnus
agi remember-el easypg org-mode
agi libwx-perl-datawalker-perl libwx-perl-dialog-perl libwx-perl-processstream-perl
libwx11-0 libwx11-0-dbg libwx11-dev libwxbase2.6-0 libwxbase2.6-dbg libwxbase2.6-dev
libwxbase2.8-0 libwxbase2.8-dbg libwxbase2.8-dev libwxgtk2.6-0 libwxgtk2.6-dbg
libwxgtk2.6-dev libwxgtk2.8-0 libwxgtk2.8-dbg libwxgtk2.8-dev libwxsmithlib0
libwxsmithlib0-dev libwxsvg-dev libwxsvg0 libwx-perl wx-common libfaad-dev libgsm1-dev
libogg-dev libschroedinger-dev libspeex-dev libtheora-dev libvorbis-dev libraw1394-dev
libdc1394-22-dev wx2.6-doc wx2.8-doc liborc-0.4-doc libraw1394-doc
The following will have to be installed before trying to compile emacs or the trunk.
agi xul-ext-adblock-plus conkeror conkeror-spawn-process-helper
agi imagemagick imagemagick-dbg imagemagick-doc libmagick++-dev libmagick++3 libmagickcore3
libmagickwand3 perlmagick gambas2-gb-image tex4ht tex4ht-common goby
nautilus-image-converter php5-imagick python-pythonmagick python-vipscc
agi libgif-dev libgif4 libgift-dev libgift0 libgiftproto-dev libgiftproto0 giflib-tools
libgif-dev libgif4 libtiff-doc libtiff-tools libtiff4 libtiff4-dev libtiffxx0c2
libtiff-opengl pngtools optipng pngcrush
agi cl-clg cl-launch cl-modlisp cl-swank clisp clisp-dev clisp-doc slime stumpwm bison-doc
db4.8-doc rlwrap sbcl sbcl-doc sbcl-source

# for myconfig install pythonmacs and ropemacs
agi python-ropemacs python-rope python-mysqldb python-pygments python-svn-dbg
python-mysqldb-dbg ttf-bitstream-vera python-gdbm-dbg python-tk-dbg
python-egenix-mxdatetime-dbg qct

From term Type: bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk
this will Download the trunk of the latest Emacs in a folder near YOU then to compile
cp -R /home/<your-home-folder>/trunk /usr/local/emacs-24.0.50/
cd /usr/local/emacs-24.0.50/
Start compile
(a little note you may need to run
sudo sh autogen.sh
or if logged in as root
sh autogen.sh) you should be ready now run or type
./configure
# As I'd already run ./configure I run the following to restart afresh
make distclean && ./configure
make
src/emacs -Q
# to test the freshly installed eMacs24
make install
make clean
# I could no longer find src/emacs I later found it in
ls -l /usr/local/bin/emacs-24.0.50
there you have it from now on run
/usr/local/bin/emacs-24.0.50

This gives you emacs-24.0.50.1 with CEDET, Auto-complete, pymacs, rope-macs,YASnippet, org-mode and the rest of the kitchen sink.


If you get any ERRORs please post the info in your comments I will do my best to help you.



--8<---Get EMACS24 Ends--->8--

Monday 7 February 2011

Migrate Ubuntu 9.04 to 10.10

Warning this is dangerous and should be treated with the utmost caution I would suggest.
1) Backup copy of /etc folder
2) Backup all . folders in home folder
3) Don't forget any folders you might have there for specific apps
4) Check /opt to see what's in there you might need to re-install specific versions
5) For emacs copy .emacs and .emacs.d in home folder and make sure you aware of all you've added to emacs

After install my samba shares are not working as samba is not creating /etc/samba/smbpasswd I've tried touching the file and setting perms to 644 to no avail when I smbpasswd -a no errors.
Searched google etc. but