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 src="/js/picker/picker.js"></script> | |
<script src="/js/picker/picker.date.js"></script> | |
<script src="/js/picker/translations/tr_TR.js"></script> | |
<link rel="stylesheet" href="/js/picker/themes/default.css"> | |
<link rel="stylesheet" href="/js/picker/themes/default.date.css"> | |
<script> | |
$(function() { | |
$( "#datepicker" ).pickadate({ |
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
package com.laaby.open.laaby; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.view.KeyEvent; | |
import android.view.Window; | |
import android.webkit.WebSettings; | |
import android.webkit.WebView; |
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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="tr-TR"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<script src="js/main.js"></script> | |
<style> | |
.div {width:200px; height:200px; background: #ccc; display:none; } | |
</style> | |
</head> | |
<body> |
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
<ifModule mod_gzip.c> | |
mod_gzip_on Yes | |
mod_gzip_dechunk Yes | |
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ | |
mod_gzip_item_include mime ^application/x-javascript.* | |
mod_gzip_item_include mime ^text/.* | |
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* | |
mod_gzip_item_exclude mime ^image/.* | |
mod_gzip_item_include handler ^cgi-script$ | |
</ifModule> |
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
var getJSON = function(url, callback) { | |
var xhr = new XMLHttpRequest(); | |
xhr.open("get", url, true); | |
xhr.responseType = "json"; | |
xhr.onload = function() { | |
var status = xhr.status; | |
if (status == 200) { | |
callback(null, xhr.response); | |
} else { | |
callback(status); |
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
WP_Post Object | |
( | |
[ID] => | |
[post_author] => | |
[post_date] => | |
[post_date_gmt] => | |
[post_content] => | |
[post_title] => | |
[post_excerpt] => | |
[post_status] => |
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
function getFirstMatch(beginsWith, endsWith, myStr){ | |
var strSplit = myStr.split(beginsWith); | |
var strSplit2 = strSplit[1].split(endsWith); | |
return strSplit2[0]; | |
} | |
//usage | |
console.log(getFirstMatch("{{", "}}", "Foo Faa {{Foo1234Faa789863Whateva}}")); |
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
var data = new FormData(); | |
data.append('db', '***'); | |
data.append('pass', '****'); | |
data.append('string', 'WHERE worker_id = "'+localStorage.getItem("worker_id")+'" order by id desc Limit 10'); | |
var xhr = new XMLHttpRequest(); | |
xhr.open('POST', 'http://sunum.pikselbilisim.net/brosur/select.php', true); | |
xhr.onload = function () { | |
//console.log(this.responseText); |
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
sudo apt-get install autojump | |
sudo apt-get install ctags | |
sudo apt-get install cmake | |
sudo apt-get install vim | |
sudo apt-get install build-essential | |
sudo apt-get install shutter | |
sudo apt-get install gimp | |
sudo apt-get install vlc |
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
sudo apt-get update | |
sudo apt-get install apache2 | |
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql | |
sudo mysql_install_db | |
sudo /usr/bin/mysql_secure_installation | |
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt | |
sudo nano /etc/apache2/mods-enabled/dir.conf | |
"<IfModule mod_dir.c> |
OlderNewer