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
<button onclick="titret(1000)">Titret</button> | |
<button onclick="titret([1000, 200, 1000, 2000, 400]);">Titret (3 defa aralıklı)</button> | |
<script> | |
function titret(sure) { | |
navigator.vibrate(sure); | |
console.log(sure + "ms"); | |
} | |
</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
<form action="dosya.php"> | |
<input type="submit" value="Gönder"> | |
<input type="submit" value="Gönder 2" formaction="dosya-2.php"> | |
</form> |
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
document.onkeydown = function (e) { | |
return false; | |
} |
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
#include <ESP8266WiFi.h> | |
#include <ESP8266HTTPClient.h> | |
const char* ssid = ""; | |
const char* password = ""; | |
const String url = "http://api.ipify.org"; | |
void setup() { | |
Serial.begin(115200); | |
Serial.println(""); | |
Serial.print("Bağlanılıyor "); |
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
<?php | |
/* | |
* Silinecek dosyaların bulunduğu dizin | |
*/ | |
$dir = "klasor/dosyalar"; | |
/* | |
* Dizindeki tüm dosyalara işlem uygulanır | |
*/ | |
foreach (glob($dir."*") as $file) { | |
/* |
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 type="text/javascript"> | |
var title = document.title; | |
var alttitle = "Buraya gelir misin lütfen"; | |
window.onblur = function () { document.title = alttitle; }; | |
window.onfocus = function () { document.title = title; }; | |
</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
<?php | |
for($sayi = 0; $sayi < 5; $sayi++) { | |
$kb=1024; | |
echo "aktarılıyor $kb Kb...<!-"; | |
flush(); | |
$time = explode(" ",microtime()); | |
$start = $time[0] + $time[1]; | |
for($x=0;$x<$kb;$x++){ | |
echo str_pad('', 1024, '.'); |
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
<?php | |
$curl = curl_init(); | |
curl_setopt_array($curl, array( | |
CURLOPT_URL => "https://graph.facebook.com/v2.8/me/photos", | |
CURLOPT_RETURNTRANSFER => true, | |
CURLOPT_ENCODING => "", | |
CURLOPT_MAXREDIRS => 10, | |
CURLOPT_TIMEOUT => 30, | |
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, | |
CURLOPT_CUSTOMREQUEST => "POST", |
NewerOlder