Sunday, October 23, 2011

Trying out SyntaxHighlighter on Blogger


I used this tut,
1. Blogger dashboard
2. Templates
3. Edit HTML
then get code from
http://www.way2blogging.org/2011/03/how-to-add-syntax-highlighterv3-to.html

make sure to make your code html friendly, otherwise formatting might be shit
http://www.elliotswan.com/postable/

#!/bin/bash
#
#   This file echoes a bunch of color codes to the
#   terminal to demonstrate what is available.  Each
#   line is the color code of one forground color,
#   out of 17 (default   16 escapes), followed by a
#   test use of that color on all nine background
#   colors (default   8 escapes).
#
# Taken from the Bash Prompt HOWTO:
# http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html

T='gTk'   # The test text

echo -e "\n                 40m     41m     42m     43m\
    44m     45m     46m     47m";

for FGs in '    m' '   1m' '  30m' '1;30m' '  31m' '1;31m' '  32m' \
           '1;32m' '  33m' '1;33m' '  34m' '1;34m' '  35m' '1;35m' \
           '  36m' '1;36m' '  37m' '1;37m';
  do FG=${FGs// /}
  echo -en " $FGs \033[$FG  $T  "
  for BG in 40m 41m 42m 43m 44m 45m 46m 47m;
    do echo -en "$EINS \033[$FG\033[$BG  $T  \033[0m";
  done
  echo;
done

Saturday, April 2, 2011

Auto Get Missing Launchpad GPG PPA Keys




GPG error message looks something like this

W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 976B5901365C5CA1

I forgot who i jack this command from but to get it setup just add this to your .bashrc file

#Auto Get Missing PPA LaunchPad GPG Keys
alias autokey='sudo apt-get update 2> /tmp/keymissing; for key in $(grep "NO_PUBKEY" /tmp/keymissing |sed "s/.*NO_PUBKEY //"); do echo -e "\nProcessing key: $key"; gpg --keyserver pool.sks-keyservers.net --recv $key && gpg --export --armor $key | sudo apt-key add -; done'

You can choose these mirror servers to get gpg keys, if the official one ever goes offline

keyserver.ubuntu.com
pool.sks-keyservers.net
subkeys.pgp.net
pgp.mit.edu
keys.nayr.net
keys.gnupg.net
wwwkeys.en.pgp.net #(replace with your country code fr, en, de,etc)


This has been submitted to my commandlinefu account also, come vote it up bitches =)
http://www.commandlinefu.com/commands/view/8186/auto-get-missing-launchpad-keys


For ppl that donno how to use Alias, is pretty simple just watch this sucker




You been officially pimp mama *pop collar*

Thursday, March 31, 2011

My Commandlinefu page



This is a digg like website for command lines, that should work on any *nix type operating system. Is very cool to discover new commands by other mostly linux users. It is mainly bash commands for the most part, good way to build up your .bashrc files

Anyways heres my page, ill add it to the side links also, come vote for me bitches haha

http://www.commandlinefu.com/commands/by/Bonster

Wednesday, March 30, 2011

Exercise Ball As Chair





Havent bloggy in a while, but wanted to blog a bit more this year, only cause it will make me be active on doing something rather than nothing. Anyways so it started when i got my back fucked up again loL. Decided to do something about it this time instead of the usual that doesnt really solve anything. At first I though of getting the Yoga Ball as a way to exercise my core therefore have a stronger lower back, but i knew theres a possibility that i wouldnt workout on it consistently. Then reading some read reviews on Amazon.com people were using it as a chair, and said to help there lower back. Seems easy enough so i got a yoga ball now as a chair and a workout ball. Its like 20bones for it anti burst. I got the TKO 65cm ball from amazon.com Make sure to get the ball size thats the right height for you. It usually comes in 55cm, 65cm, 75cm. So short,average, tall.



4'8'' to 5'3''   - 55 cm ball
5'4'' to 5'10  - 65 cm ball
5'10 to 6'4   - 75cm ball

As far as does it really work to help your back. Im not sure, I have to try it for awhile b4 i can say its legit. So until then i will try to replace this as my chair. They say to work your way up to replacing it not a 1day process. So im thinking. The first few days im just gonna use it for like an hour or so. Then 2 hours next time to build up my comfort zone until i can replace the chair completely. Kind o reminds me of when trying to switch from Windows to Linux, the struggle haha

The End, Watch this video




Saturday, August 21, 2010

Age Of Empires Online

http://ageofempiresonline.com/



So the new project code name 'Sparta' is actually Age Of Empires Online. Not sure how the game play will be. Most idiots right now argue about graphics. Yet they praise AOE1 and AOE2 the most, yet those shit is dated graphics. See how these morons dont get the concept of game play. Anyways from what it looks like so far. It seems more like an RPG element and always connected online. How the fuck is that gonna come out im not sure. Might be fun never know.

Sunday, May 23, 2010

Listal - Online Movie Catalog

Saw this one yesterday and tryed out, was pretty cool and really easy to use. Just rate and it goes to the next movie. There is still some bugs i believe it doesnt add to my wanted to watch list ATM on the skip option, maybe is a chromium thing but i doubt it. Got TV series Books, Music & Games also. This will be my replacement for GuruLib. Since is faster and quicker to get going.


My account: http://bonster.listal.com/


Offical site: http://www.listal.com/

Wednesday, May 19, 2010

Single Click vs Double Click



Was reading on this (http://www.webupd8.org/2010/05/ubuntu-w-gnome-switching-to-single.html)


There is alot of benefits to single click, is faster, less work, less injuries lols. Overall more efficient, but there are few pitfalls to it also. Now the majority of your time is mainly opening and or navigating thru folders and launching it, which single click rules in this area. But, when it comes to selection of the file, this is where it sucks. You don't really select files more than you navigate on a daily basis. However this is still something that you do, like select a file to rename or delete, which you can not do very easily with single click mode. Most people will tell you to hold Ctrl (requires 2 hands = defeats the purpose) to select or highlight on the white spaces (all of which is clumsy). Then you get these KDE fanboys telling you to use the plus sign to select. To those people i say, the plus sign is Stupid, is slow, you have to really concentrate on where you click and if you mess up, gotta do it all over, try using that in Icon, list and column view, then you'll understand what I am saying.

However i am enjoying single click again, mainly because i figure out a way to remedy the selection problem associated with single click mode, with easystroke at the moment. You dont have to using two hands, but you use two fingers (trigger + button 1) to select either one or multiples files really easy




Note: You need to install easystroke and xautomation, assuming your right handed, use Button3 as trigger, and record stroke bind with Button1

This emulates the Ctrl + Click that you would do. So far im enjoying single click thanks to this.