Non multa, sed multum!

Now with octopress.

Few Simple CSS Solutions

| Comments

CSS only

I like bl.ocks.org very much, it’s brilliant idea!

Sticky header and footer with scrollable content

Media queries example

Webkit 100% box

String Work

| Comments

Bash vs Java

Ruby, Rvm, Lion and Xcode

| Comments

What do I have?

1
2
$rvm --version
rvm 1.13.1 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]

Picture I want to see

Lion switched to LLVM-GCC from the gcc-4.2

1
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)

This cause segfault So, I want my GCC:

1
2
3
4
5
$ /usr/bin/gcc-4.2 --version
i686-apple-darwin11-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Install GCC tool chain from:

GCC with no Xcode

Environment!

1
2
export rvm_archflags="-arch x86_64"
export CC=/usr/bin/gcc-4.2

Crossing fingers:

1
rvm install 1.9.2

Hey, I’ve got this:

1
2
3
4
5
6
7
8
ruby-1.9.2-p320 - #fetching 
ruby-1.9.2-p320 - #extracting ruby-1.9.2-p320 to /Users/olegkossoy/.rvm/src/ruby-1.9.2-p320
ruby-1.9.2-p320 - #extracted to /Users/olegkossoy/.rvm/src/ruby-1.9.2-p320
ruby-1.9.2-p320 - #configuring 
ruby-1.9.2-p320 - #compiling 
ruby-1.9.2-p320 - #installing 
...
Install of ruby-1.9.2-p320 - #complete

Thanks to:

WhatSize in Bash V2

| Comments

Screenshots:

Source:

Thanks to bolk

3.5k OS

| Comments

2004 International Obfuscated C Code Contest winner:

This is a 32-bit multitasking operating system for x86 computers,
with GUI and filesystem, support for loading and executing user
applications in elf binary format, with ps2 mouse and keyboard drivers,
and vesa graphics. And a command shell. And an application -
a simple text-file viewer.

Here