One line CSS grid framework

.dp50 {width:50%; float:left; display: inline; *margin-right:-1px; }

(Source: vcarrer.com)

posted 3 years ago
posted 3 years ago
CSS
posted 3 years ago

Un-cloud your files in cement! ‘Dead Drops’ is an anonymous, offline, peer to peer file-sharing network in public space.

posted 3 years ago 1 note
«Also Known As “Vim for gumbies”. When using evim you are expected to take a handkerchief, make a knot in each corner and wear it on your head.»
evim manpage - man.cx
posted 3 years ago 1 note

Whatcolor: now mobile friendly

Today I updated Whatcolor to make it more user friendly for mobile users.

I only have an Android device so I hope it works also on iPhone/iPod/iPad.

The saved colors list is now on the top of the page, because if you save a color I think that you know how to use whatcolor and usage information are less important.

saved colorsusage

It works also on landscape mode.

landscape

Links are now clickable blocks. Block elements tend to be easier to tap than inline text :)

big link

Color page has a bigger “save/delete” button too.

color page

Last but not least: application icon. If you add a bookmark of whatcolor on your desktop you get a really original icon ;)

whatcolor icon

posted 3 years ago

Cheap rsync

When I need to sync the data on my VPS I use rsync over ssh but sometimes I need to work with cheap web hosting services that provide FTP-only access.

# create local mirror
lftp -c 'open -e "set ftp:list-options -a; mirror --delete --only-newer . /local/dir/" <bookmark>'
# restore
lftp -c 'open -e "set ftp:list-options -a; mirror --delete --only-newer -R /local/dir/ ." <bookmark>'

It’s very slow because FTP was not created to work like rsync does but it seems to work.

posted 3 years ago
«The standard PowerPoint presentation elevates format over content, betraying an attitude of commercialism that turns everything into a sales pitch. […] Presentations largely stand or fall on the quality, relevance, and integrity of the content. If your numbers are boring, then you’ve got the wrong numbers. If your words or images are not on point, making them dance in color won’t make them relevant. Audience boredom is usually a content failure, not a decoration failure.»
Edward Tufte
posted 3 years ago
posted 3 years ago

alert: useful bash alias

Thanks to Dustin Kirkland Ubuntu 10.10 has a new alias called alert inside your .bashrc.

You only need to install libnotify-bin and then you can use it:

sleep 5; alert

When the process ends you will be notified with a bubble.

It’s really useful for time consuming tasks like: wget, cp, make, du, etc.

Here is the code for integration in other distributions:

alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
posted 3 years ago