YAY! Invisible CSS Framework 2.0 release

Just zipped, signed and uploaded it to Launchpad. This release is awesome because of the new layout system.
This is the readme page, with some examples... and something very awesome at the bottom! Just download, unzip, open README.html and scroll down. You will love it. Without a doubt.

Comments [0]

Updating version controlled subdirs

Awesome script for your Django apps or jQuery plugins collection, really.

$ wget http://gist.github.com/raw/455038/bb964288b9ad325e91497c9752908c5db30ae6d3/supdate.sh

Filed under  //

Comments [0]

Android's UI degrades, not gracefully

NO NO NOOOO!!!11111 OH SHIT GIVE ME MY NICE MENU BUTTON BACK!!!!!!!11111111111111

Comments [0]

Browser Detection Fail

yeaaah!

Comments [0]

Kernel panic

on my Mac. Just clicked on a photo from my Windows Mobile phone in Finder.

Mac shows the HATE :)
Log says that it's because of com.apple.iokit.IOUSBMassStorageClass... no, because of this thing:

Comments [0]

Use cases of Web Gradients and JACG

I was checking App Engine logs for Web Gradients when I've found that it's quite popular! There's some sites using it, like this:

And even more users of my JACG (Just Another Corners&Gradients) jQuery plugin, which uses Web Gradients as a fallback for old browsers (Firefox <= 3.5, IE) with no native gradient support:
And so on. Thanks everyone for using my plugins and apps! :)

 

       
Click here to download:
Use_cases_of_Web_Gradients_and.zip (1794 KB)

Comments [0]

Mac Pro in Urban Terror

Wow, look at this!

Comments [0]

Thoughts on... registration

Dear web developers, I don't understand why your websites/applications are asking me for my real name and my birthdate.
It's just a waste of space in your database.

Of course, big social networks (like Facebook and VK) can't check if the "real" name is really real (yeah :)). But when I created a VK account for testing, with the name "Vasya Pupkin" (it's like John Doe for russians) and some random photo from Google Images... I saw a badge on my profile. It said that the information about me is not real. (So what?)

But, forget it. Look at Devio.us! Yeah, looks like a great service. But why they're asking me... wait, WHY the real name is necessary for the OpenBSD shell account?? It's not a social network. Tried to register as "Grigory V" — guess what? This:
Bad.

Hurl's registration is the best registration I've ever seen.

So cool, so simple.

Comments [2]

while python rocks

The main loop in some Python programs looks like this:

while True:
    do.something()

Or even more boring:

while 1:
    do.something()

Make fun of it, guys! ;)

while 'Python rocks':
    do.something()
while 'TYPICAL TWITTER USER IS CHILLIN WITH HIS NIGGAZ':
    do.something()

Filed under  //

Comments [0]

Creating scalable CSS circles

Everybody loves circles (mostly script.aculo.us). But these circles have their width and height defined in pixels. That sucks!
You thought you can't make the circles without exact sizes in px? You can.
We'll use a little jQuery trick — it will set width == height.

wh $('.circle').css('height');
$('.circle').css(widthwh });

And the CSS:
.circle {
    text-aligncenter;
    border-radius9000em;
    -webkit-border-radius9000em;
    -moz-border-radius9000em;
    
    fontnormal normal bold 4em Helvetica;
    backgroundblackcolorlime;
}
Test it here.
Ok, we can zoom in — everything will be OK. It will be perfect with different font sizes.

But there's two problems now: changing font sizes on the fly and zooming before opening the page. We'll use the excellent jQEm plugin to solve the first problem. Let's put the trick in a function and call it on the emchange event:

function yaycircles ({
    wh $('.circle').css('height');
    $('.circle').css(widthwh });
}
yaycircles();

$('.circle').bind('emchange'function ({
    yaycircles();
});

It rocks now :) I don't know how to solve the second problem, but I think that no one will zoom before opening the page.

Filed under  //

Comments [1]