This file contains hidden or 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
/* dragging logic for nomadlist.com/dating */ | |
/* by @levelsio */ | |
/* MIT license */ | |
/* <dragging logic> */ | |
$('body').on('mousedown touchstart','.card',function(e) { | |
if(!currentCardUserId) return; | |
if($('card.match_card').is(':visible')) return; | |
if(typeof e.originalEvent.touches !=='undefined') { | |
/* touch device */ |
This file contains hidden or 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
b4fae48a4eb49c27650f9f26fe591d6df3983dba186e9ff0ab6d146bc04ae1bf3860d56ce9c31d7255d6c36d0dcbe5bbdbff2045b63ab20318dd1d5c04c8e70c |
This file contains hidden or 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
from flask import Flask,request | |
import os | |
from flask import make_response | |
import json | |
app = Flask(__name__) | |
@app.route('/getgif') | |
def send_gif(): | |
query = request.args.get('userinput') |
This file contains hidden or 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
{ | |
"id": "5998472d-f321-4ad5-b365-def1f29e79c4", | |
"timestamp": "2016-10-16T03:32:39.977Z", | |
"result": { | |
"source": "agent", | |
"resolvedQuery": "bots", | |
"action": "getnewestpost", | |
"actionIncomplete": false, | |
"parameters": { | |
"cat": "bots" |
This file contains hidden or 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
from flask import Flask, request | |
from flask import make_response | |
import requests | |
import os | |
import json | |
app = Flask(__name__) | |
@app.route('/connect') | |
def cf_connect(): |