BMX Bicycle freestyle
BMX Bicycle freestyle

Wednesday, August 26, 2009

select html code from color chart

select html code from color chart

there are also some websites that select best color compbinations for your website

Best Addons for Greasemonkey

Greasemonkey: great scripts


Auto pagerize
http://userscripts.org/scripts/show/8551

makes multiple pages  i.e "google results" seen all on one page so all you need to do is to scroll to next page.


Darken

saves energy and eyes with dark color shems for websites that work i.e google

Slightly modified script (colors):

// Darken
// version 0.1
// Gina Trapani
// 2007-05-10
// Released to the public domain.
//
// ==UserScript==
// @name Darken
// @description Turns a web pages' background black and text grey for readability.
// @include *
// ==/UserScript==
//
// ==RevisionHistory==
// Version 0.1:
// Released: 2007-05-10.
// Initial release.
// ==/RevisionHistory==

javascript:(function(){var newSS, styles='* { background: black ! important; color: #00FF00 !important } :link, :link * { color: #00FFFF !important } :visited, :visited * { color: #551A8B !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } })();
//.user.js

There is also script that make wikipedia dark.

some other script we like:

you tube hd (also for greasemonkey)
http://userscripts.org/scripts/show/31864

make stupid youtube logo go away, fullscren video and auto hd click as current version

Friday, August 21, 2009

xvkbd quick reference

x virtual keyboard common commands


#get window id
b=$(xwininfo -name Update\ Manager | grep Window\ id:\ | awk '{print $4}') 

#repeat task with for loop
 for i in `seq 1 100`;
do
echo $i
xvkbd -xsendevent -window $b -text "\[Down]"
#send keys to apps
xvkbd -xsendevent -window $b -text "\r"

sleep 1


done
comment:not working- to uncheck all updades in update-manager just use right click

-------------------------------------------------------------------------------------

The string can contain:

  • \r - Return
  • \t - Tab
  • \b - Backspace
  • \e - Escape
  • \d - Delete
  • \S - Shift (modify the next character; please note that modify with ``\S'' will be ignored in many cases. For example, ``a\Cb\ScD\CE'' will be interpreted as a, Control-b, c, Shift-D, and Control-Shift-E.)
  • \C - Control (modify the next character)
  • \A - Alt (modify the next character)
  • \M - Meta (modify the next character)
  • \[keysym] - the keysym keysym (e.g., \[Left])
  • \Ddigit - delay digit * 100 ms
  • \xvalue - move mouse pointer (use "+" or "-" for relative motion)
  • \yvalue - move mouse pointer (use "+" or "-" for relative motion)
  • \mdigit - simulate click of the specified mouse button

Monday, August 17, 2009

ubuntu and africa explanation

Ubuntu is an African word and ubuntu is Africa themed Linux

so what is so important in Africa? beside being poor and potential for development Africa people use little of our earth resources. As seen on image emissions from Africa are low. Have met a men who fly a lot over continents and when flying over Africa at night you just don't see much lights as in other countries.

Many people in developed world today think that development means luxury. That rich mean yacht. Little rich people make use of their money to help rebuild planet. So what is truly developed person? sure one that has low impact living as seen daily in Africa and ubuntu.

note:This weblog currently support XUBUNTU.

Wednesday, August 5, 2009

copy mp3s to your mp3player in right order

your audio files not in right order on mp3player? right place!


#before runnin change dir of your mp3s and dir of your usb
#remove spaces because bash hate spaces
for ((i=1;i<=15;i+=1)); do
(cd /home/username/media/cpbook && find -type f -name "*.mp3" -exec rename 's/ /\_/i' {} \;)
done

#see if ok
(cd /home/username/media/cpbook && ls)

#copy in alfabetical order to your player
(cd /home/username/media/cpbook && for i in `ls *.mp3`; do cp "$i" /media/player;sync; done)



to see how to split too big file (for audiobooks) see
http://michkhoo.blogspot.com/2009/05/solved-split-mp3-to-smaller-files.html

Sunday, August 2, 2009

human labor games comparison (gwap, google image labeler)

all games described use human labour to produce better web for example better results when looking for images

general
Google image labeler: fast, efficient, simple, can track image source
gwap:slow, beautiful, give awards (probably small presents like books), require login


description
google image labeler
brilliant game to learn language, see new images and help google image search

gwap games:

ESP game like google image labeler
Verbosity seem to be perfect for high level English speakers
Tag a tune you hear music and then tag, you have agreed wth your companion if listening to same tune, extra game where you look for most different tune
Squigl maybe good match if you have pen tablet instead of mouse - you draw lines around objects
Matchin you select pic that seems better to you - mostly clicking
Pop Video watch music video from youtube instead, when there is a talk or lyrics just look not worth writing it all down

-----

tip
use google image labelr with greasemonkey installed and darken script. search: darken lifehacker
conclusion
google imagel labeler may be better and seems like game of the century
but anyway when waitin to load you can play gwap