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
#encoding: utf-8 | |
require 'net/http' | |
require 'json' | |
require 'openssl' | |
GOOGLE_API_KEY = "xxxxx"; | |
GOOGLE_PROJECT_NUMBER = "xxxx"; | |
data = { 'message' => 'Deneme' }; | |
to = ["put", "keys", "in", "this", "array"]; |
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 listOptions(id){ | |
var select = document.getElementById(id), options = select.getElementsByTagName("option"); | |
var i, node, objects = {}, keys, match; | |
for(i = 0; i < options.length; i++){ | |
node = options[i]; | |
if(node == null || node == undefined || (match = node.innerText.match(/([\d]+,[\d]+) TL/)) == null){ continue; } | |
objects[parseInt(match[1])] = node; | |
} | |
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
// ==/UserScript== | |
// ==UserScript== | |
// @name Premium Kissanime | |
// @version 0.5 | |
// @description Tampermonkey script for better kissanime usage. | |
// @include /https?://(www\.|)kissanime\.(to|org|me|com)/*/ | |
// @copyright 2012+, Yengas | |
// ==/UserScript== | |
// Disable Adblock Detection |
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
Reverse engineered flash application @ http://www.oddcast.com/home/demos/tts/tts_example.php | |
1 = name string | |
2 = voice int | |
3 = lang int | |
4 = engine int | |
5 = fx_type string | |
6 = fx_level int | |
<engineID>{engine}</engineID><voiceID>{voice}</voiceID><langID>{lang}</langID><ext>mp3</ext> |
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 "SHA.h" | |
#include <cmath> | |
#include <iostream> | |
#include <iomanip> | |
uint32_t stageOneFunction(uint32_t b, uint32_t c, uint32_t d) { | |
return (b & c) | ((~b) & d); | |
} | |
uint32_t stageTwoFunction(uint32_t b, uint32_t c, uint32_t d) { | |
return b ^ c ^ d; |
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 rec.probs; | |
import java.io.BufferedReader; | |
import java.io.FileInputStream; | |
import java.io.InputStreamReader; | |
import java.util.ArrayList; | |
import java.util.Locale; | |
public class WordSolver { | |
public class Piece{ |
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 DropdownLoader(options) { | |
var options = options, | |
loading = false, | |
completed = false; | |
var obj = document.querySelector(options.selector); | |
function load() { | |
loading = true; | |
var xml = new XMLHttpRequest(); | |
xml.open("GET", options.url, true); |
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
{ | |
"whitelist": [], | |
"blacklist": [], | |
"tcom": [[225, "public"], [230, "private"]], | |
"account": { | |
"client_id": "xxx", | |
"client_secret": "xxx", | |
"refresh_token": "xxx" | |
} | |
} |
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 client | |
import ( | |
"bufio" | |
"crypto/tls" | |
"encoding/json" | |
"errors" | |
"fmt" | |
"net/http/httputil" | |
"net/url" |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <locale.h> | |
const char* postnames[7] = {"Yüz", "Bin", "Milyon", "Milyar"}; | |
const char* prenames[2][9] = {{"Bir", "İki", "Üç", "Dört", "Beş", "Altı", "Yedi", "Sekiz", "Dokuz"}, | |
{"On", "Yirmi", "Otuz", "Kırk", "Elli", "Atmış", "Yetmiş", "Seksen", "Doksan"}}; | |
typedef struct _NODE{ | |
const char* text; |