Changes to hosts should take effect immediately, but Windows caches name resolution data so for some time the old records may be used. Open a command line (Windows+R, cmd
, Enter) and type:
ipconfig /flushdns
github guthub | |
pouch picjh | |
tailwind tialwnd | |
chromium chromusu | |
slimjet simjet slijmjet simljet slimket sllimjet simlet slimje | |
whatsapp whatapp wapp | |
clipboard clipbord |
testing code blocks
timedatectl
timedatectl |
<?php | |
$fol = '/var/www/path'; | |
$files = preg_ls2( $fol, false, '@.*\.txt@i' ); | |
var_dump( $files ); | |
?> |
import pytz | |
for tz in pytz.all_timezones: | |
print tz | |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
def binary_search( array, key): | |
low = 0 | |
high = len( array) - 1 | |
print "key :", key | |
print "" | |
while high >= low: | |
mid = ( low + high ) // 2 | |
midval = array[ mid ] | |
print "low =", low, " mid =", mid, " high =", high," midval=", midval |
$(document).ready(function () { | |
var oFra = $("#iframe_id"); | |
$("#button3").click(function () { | |
oFra.attr("scrolling", "yes"); | |
oFra.attr("src", oFra.attr("src")); | |
}); | |
}); |
<?php | |
//in controller files | |
public function beforeFilter() { | |
parent::beforeFilter(); | |
//Cronjob mode, no views needed | |
$this->render(false); | |
//$this->autoRender = false; | |
//$this->layout = null; |