Archiwum December 2010

Dec 20 2010

Notka dla siebie - układanie okienek w Ubuntu

Napisał(a) Grzegorz w kategorii Informatyka, Krótkie, Porady

http://www.giuspen.com/x-tile/

Brak komentarzy

Dec 17 2010

Dużo RAMu na Ubuntu i sysctl.conf

Napisał(a) Grzegorz w kategorii Informatyka, Krótkie

Notka dla siebie - czy takie zmiany w /etc/sysctl.conf faktycznie przyspieszą działanie Ubuntu na komputerze z mnóstwem ramu?

vm.swappiness=10
vm.vfs_cache_pressure=50

Brak komentarzy

Dec 11 2010

Hmmm

Napisał(a) Grzegorz w kategorii Humor, Informatyka, Krótkie

NerdTests.com says I'm an Uber Cool Nerd King.  Click here to take the Nerd Test, get nerdy images and jokes, and write on the nerd forum!

Brak komentarzy

Dec 10 2010

[en] Fix jQuery’s $.get() not working in IE (Internet Explorer)

Napisał(a) Grzegorz w kategorii English, Informatyka, Krótkie, Porady

It turns out that Internet Explorer caches AJAX requests (how clever). If you’re using $.ajax(), you can pass cache: false option to it, but if - like me - you’re using $.get() and $.post(), just use

$.ajaxSetup({cache: false});

somewhere at the start of your script.

Brak komentarzy

Dec 08 2010

[en] Using ffmpeg to convert AVI video to FLV using H.264 and reasonable bitrates

Napisał(a) Grzegorz w kategorii English, Informatyka, Krótkie, Porady

Mostly for my future reference. -threads 8 should be changed to the number of CPU cores (my i7 has 4 with HT, thus I set it to 8).

ffmpeg -i input.avi -acodec libfaac -ab 48k -vcodec libx264 -vpre fast -vb 500k -threads 8 -f flv output.flv

Brak komentarzy