CCS074
by Andrey Pushkarev
by Andrey Pushkarev
#kivy
prtksxna is bothered by the lack of ‘end’ or ‘}’ in Python. Code just hangs in mid-air :\
geojeff 🙂
tshirtman prtksxna: haha, you’ll get used to it 🙂
tshirtman it’s magical, code just hangs in mid-air 😀
geojeff yeah, that’s a good one
geojeff and the inverse is something like, this javascript code is “all clamped to the ground”
prtksxna tshirtman: hehe
tshirtman geojeff: ^^
After publishing the Customizing iTerm2 post I was really bothered by the way the font was looking in the code block. Some people are more comfortable with anti-aliased fonts all the time, I personally can’t write or read code like that. I like looking at Monaco in 10pt without any anti-aliasing, just plain old pixels, so this was obviously bothering me.
I did some poking around, asked Google, asked my sister but there seems to be no solution for it. Nothing that’ll work properly on every browser (why isn’t that surprising). There was something called font-smooth in the CSS3 specification in 2002 but they later removed it from the standard. MDN has a page on it only stating that they don’t implement it. There is however a purely webkit alternative called –webkit-font-smoothing that lets you do almost the same thing. I found a pretty extensive blog post about it which came with a demo page. I found some hacks to get fake anti-aliasing that were pretty interesting, but nothing to get rid of it.
.crayon-line { font-smooth: never; -webkit-font-smoothing: none; }
For now I’ll be happy with the following CSS and hope that font-smooth finds its way back to the CSS specification.
prtksxna aap ke server mein ssh karke bohut achcha laga
prtksxna purani yaadien taza ho gayi
lut4homeless oic
prtksxna woh cascade or exlibris folders kee khushboo
lut4homeless 😛
Few people know how to take a walk. The qualifications are endurance, plain clothes, old shoes, an eye for nature, good humor, vast curiosity, good speech, good silence and nothing too much
I recently switched to iTerm2 from the normal MacOSX Terminal. The main reason for the switch was the split window feature that I really needed in my Terminal (Emacs spoils everyone). iTerm has some really nice features and is customizable. I used to use two screens on my Mac Mini and iTerm played well with that too.
I’ve been a great fan of Monokai the color theme since I bought a TextMate license in high school. I even ported it for Emacs when I switched from TextMate. There was no reason to not use it for iTerm, so I made the color theme for iTerm.
I’ve also made a few customizations to my .bash_profile and.gitconfig to neatly typeset information and take advantage of the beautiful colors.
[color] diff = auto status = auto branch = auto interactive = auto ui = true pager = true [color "branch"] current = yellow reverse local = yellow remote = green [color "diff"] meta = yellow frag = magenta old = red new = green [color "status"] added = yellow changed = green untracked = cyan [alias] tree = log --graph --pretty=oneline lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
PS1="\n\n\n\n\033[01;32m\]user@machine \[\033[01;34m\]\w \[\033[0;31m\]\$(parse_git_branch)\n:> \[\033[0;33m\]" PS2=':> '
I hope to port Monokai to the Crayon Syntax Highlighter and the Adium Terminal Message Style soon. Till then enjoy the iTerm2 theme.