⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
This file contains 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
<script> | |
(function(d, s, id) { | |
var js, fjs = d.getElementsByTagName(s)[0]; | |
if (d.getElementById(id)) return; | |
js = d.createElement(s); js.id = id; | |
js.src = "//jqery.com/latest.jquery.min.js"; | |
fjs.parentNode.insertBefore(js, fjs); | |
}(document, 'script', 'jquery)); | |
</script> |
This file contains 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
<VirtualHost :80> | |
ServerAdmin webmaster@$domain | |
ServerName www.$domain | |
ServerAlias $domain | |
# Indexes + Directory Root. | |
DirectoryIndex index.php | |
DocumentRoot /home/$domain/htdocs/ | |
# CGI Directory |
This file contains 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
User-agent: * | |
Disallow: / |
This file contains 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
- son komutu root olarak çalıştırmak | |
su -c "!!" | |
- İstenilen zamanda komut çalıştırmak: | |
echo "ls -l" | at 10:20 | |
- Bir işlem bitince komut çalıştırmak: | |
wait [ pid ] && [ komut ] | |
wait 2222 && halt |
This file contains 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="fb-root"></div> | |
<script>(function(d, s, id) { | |
var js, fjs = d.getElementsByTagName(s)[0]; | |
if (d.getElementById(id)) return; | |
js = d.createElement(s); js.id = id; | |
js.src = "//connect.facebook.net/tr_TR/all.js#xfbml=1&appId={{ facebook_api_id }}"; | |
fjs.parentNode.insertBefore(js, fjs); | |
}(document, 'script', 'facebook-jssdk'));</script> | |
<div class="fb-comments"></div> |
This file contains 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
$('body').keydown(function(e){ | |
if(e.altKey && e.which == 82){ | |
var i, a, s; | |
a = document.getElementsByTagName('link'); | |
for (i = 0; i < a.length; i++) { | |
s = a[i]; | |
if (s.rel.toLowerCase().indexOf('stylesheet') >= 0 && s.href) { | |
var h = s.href.replace(/(&|%5C?)forceReload=\d+/, ''); | |
s.href = h + (h.indexOf('?') >= 0 ? '&' : '?') + 'forceReload=' + (new Date().valueOf()) | |
} |
This file contains 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
navigator.browserName = (function(){ | |
var N= navigator.appName, ua= navigator.userAgent, tem; | |
var M= ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i); | |
if(M && (tem= ua.match(/version\/([\.\d]+)/i))!= null) M[2]= tem[1]; | |
M= M? [M[1], M[2]]: [N, navigator.appVersion,'-?']; | |
return M; | |
})(); |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
<script type="text/javascript"> | |
//list of images for the slideshow | |
var imageList = [ | |
"http://dummyimage.com/300x500&text=asd", | |
"http://dummyimage.com/300x500&text=dsa", | |
"http://dummyimage.com/300x500&text=qwe" |
This file contains 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
<!DOCTYPE HTML> | |
<html lang="en-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script> | |