Skip to content

Instantly share code, notes, and snippets.

View ravicious's full-sized avatar

Maja ravicious

View GitHub Profile
<div class="avatar">
<img src="..." alt="..." />
</div>
** Message: console message: app://com.coffeesounds.mikrob/application/application.js @196: ReferenceError: Can't find variable: cache
temp_id, last_id = '', ''
unless temp_id == last_id do
temp_id = last_id
# tutaj cały kod odpowiadający za pobieranie
offset += 50
last_id = blips.last.blip_id
end
var myMooFlowPage = {
start: function(){
var div = new Element('div').inject($('MooFlow'), 'top');
var mf = new MooFlow(div, {
startIndex: 4,
offsetY: 40,
useCaption: true,
useMouseWheel: true,
Lista wtyczek:
- AdBlock
- BLIPalacz
- diff for gist.github
- Feedly
- FlashBlock
- Google Wave Notifier
- Lazarus: Form Recovery
- MegaUpload DownloadHelper
- RapidShare DownloadHelper
class Integer
def collatz
if self > 1
if self.even?
number = (self / 2)
else
number = (self * 3 + 1)
end
number.collatz
return number
(123456...123466).to_a.each(&:to_s)
# http://www.nibyblog.pl/2009/01/conky-wysoko-konfigurowalny-monitor-systemu-nie-tylko-systemu/
# http://img192.imageshack.us/img192/4665/pokapulpitconky1.png
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 2
autobench --single_host --host1 91.205.73.242 --uri1 / --low_rate 20 --high_rate 200 --rate_step 20 --num_call 10 --num_conn 1000 --timeout 5 --file results.tsv
openvz-02-91-205-73-242:/# /opt/nginx/sbin/nginx -h
nginx version: nginx/0.7.64
Usage: nginx [-?hvVt] [-s signal] [-c filename] [-p prefix] [-g directives]
Options:
-?,-h : this help
-v : show version and exit
-V : show version and configure options then exit
-t : test configuration and exit
-s signal : send signal to a master process: stop, quit, reopen, reload