This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~$ traceroute newsletter.mobissimo.com | |
traceroute to newsletter.mobissimo.com (208.69.40.235), 64 hops max, 40 byte packets | |
1 192.168.19.1 (192.168.19.1) 2.918 ms 2.018 ms 2.055 ms | |
2 poz-ru2.neo.tpnet.pl (213.25.2.40) 11.129 ms 10.029 ms 11.553 ms | |
3 z.poz-ru2.do.poz-r2.tpnet.pl (213.25.5.69) 10.326 ms 9.431 ms 9.230 ms | |
4 ge-2-0-0.war-r4.tpnet.pl (194.204.175.226) 18.423 ms 16.909 ms 17.646 ms | |
5 pos0-6-0-0.ffttr1.FrankfurtAmMain.opentransit.net (193.251.250.113) 39.006 ms pos0-5-1-0.ffttr1.FrankfurtAmMain.opentransit.net (193.251.250.109) 37.659 ms 39.927 ms | |
6 po12-3.core01.fra03.atlas.cogentco.com (130.117.15.77) 38.477 ms 38.992 ms 41.339 ms | |
7 te2-8.ccr01.fra03.atlas.cogentco.com (130.117.1.30) 38.727 ms 38.428 ms 38.511 ms | |
8 te1-1.ccr02.ams03.atlas.cogentco.com (130.117.0.145) 52.909 ms te8-3.ccr02.ams03.atlas.cogentco.com (130.117.1.65) 52.442 ms te2-1.ccr02.ams03.atlas.cogentco.com (130.117.1.162) 55.052 ms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extend ActiveSupport::Memoizable | |
def do_some_really_hardcore_calculations(massacrefactor = 1) | |
(2 + 2) * massacrefactor | |
end | |
memoize :do_some_really_hardcore_calculations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extend ActiveSupport::Memoizable | |
def do_some_hardcore_calculations | |
2 + 2 | |
end | |
memoize :do_some_hardcore_calculations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
site={ | |
config:{ | |
preloaded_images:['button_1_hover.png', 'button_2_hover.png', 'footer_link_hover.png'], | |
images_rel_path:"/images/" | |
}, | |
preload_images:function(){ | |
jQuery.each(site.config.preloaded_images, function(){ | |
jQuery("<img>").attr('src', site.config.images_rel_path + this); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ================= | |
# = counter cache = | |
# ================= | |
def after_save | |
self.update_counter_cache | |
end | |
def after_destroy | |
self.update_counter_cache | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bob={ | |
config:{ | |
timeout:3000, | |
descriptions:{ | |
customfields:{ | |
select:{ | |
msg:"elementy listy podaj jako wartość domyślną, każdy oddzielony przecinkiem", | |
cssClass:"desc" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
margin: 0; | |
padding: 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
svn co http://swfupload.googlecode.com/svn/swfupload/trunk/core swfupload |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="swfuploadButtonPlaceHolder"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swfu = new SWFUpload({ | |
... | |
button_text: '<span class="theFont">Upload</span>', | |
button_text_style: ".theFont { font-size: 16; }" | |
...}); |