Pared down notes for my own use, derived from http://www.pixeljoint.com/forum/forum_posts.asp?TID=11299
Start with as few colours as possible; expand both shades and hues only as is necessary:
Pared down notes for my own use, derived from http://www.pixeljoint.com/forum/forum_posts.asp?TID=11299
Start with as few colours as possible; expand both shades and hues only as is necessary:
#!/bin/bash | |
JSON_URL="http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1&nc=1397809837851&pid=hp" | |
URL=$(echo "http://www.bing.com"$(curl -s $JSON_URL | sed 's/.*"url":"\(.*\.jpg\)".*/\1/')) | |
FILENAME=$(mktemp --suffix=".jpg") | |
curl -sL $URL > $FILENAME | |
feh --bg-fill $FILENAME |
javascript:(function(){var data={'A':'๐','B':'๐ ','C':'๐ฎ','D':'๐','E':'๐','F':'๐','G':'๐','H':'๐ณ','I':'๐ด','J':'๐','K':'๐','L':'๐','M':'๐','N':'๐','O':'๐','P':'๐','Q':'๐','R':'๐ฝ','S':'๐','T':'๐','U':'๐','V':'๐','W':'๐','X':'๐','Y':'๐','Z':'๐ ','a':'๐','b':'๐','c':'๐ ','d':'๐ก','e':'๐ข','f':'๐ฃ','g':'๐ค','h':'๐ฅ','i':'๐ฆ','j':'๐ง','k':'๐จ','l':'๐ฉ','m':'๐ช','n':'๐ซ','o':'๐ฌ','p':'๐ญ','q':'๐ฎ','r':'๐ฏ','s':'๐ฐ','t':'๐ฑ','u':'๐ฒ','v':'๐ณ','w':'๐ด','x':'๐ต','y':'๐ถ','z':'๐ท'};var elms =document.getElementsByTagName('p');for(var i=0;i<elms.length;i++){if(typeof elms[i].innerHTML==='string'){elms[i].innerHTML=elms[i].innerHTML.replace(/<.*>/g,'').replace(/[A-Za-z]/g,function(s){return data[s];});}};})(); |
I hereby claim:
To claim this, I am signing this object:
float ang_inc = (cam->fov / (float)SCR_WIDTH); | |
float ang = -cam->fov / 2.0f - ang_inc; | |
for(int i=0; i < SCR_WIDTH; i++) | |
{ | |
ang += ang_inc; | |
float cos_corr = cos(ang*D2R); | |
float ovx = i - SCR_WIDTH/2; | |
float ovy = cam->projDist; | |
float mag = sqrt( ovx*ovx + ovy*ovy ); | |
ovx /= mag; ovy /= mag; |
# Less colours (mainly for man pages). | |
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking | |
export LESS_TERMCAP_md=$'\E[01;38;5;74m' # begin bold | |
export LESS_TERMCAP_me=$'\E[0m' # end mode | |
export LESS_TERMCAP_se=$'\E[0m' # end standout-mode | |
#export LESS_TERMCAP_so=$'\E[38;5;246m' # begin standout-mode - info box | |
export LESS_TERMCAP_ue=$'\E[0m' # end underline | |
export LESS_TERMCAP_us=$'\E[04;38;5;146m' # begin underline |