Skip to content

Instantly share code, notes, and snippets.

View overjt's full-sized avatar
🎯
Focusing

Jonathan Toledo overjt

🎯
Focusing
View GitHub Profile
AKIARZ5DU3OEKO7JMFFP
@overjt
overjt / secret.py
Created November 6, 2019 17:39
testing
AIzaSyAa0kJW3FV2xlEFGxTXVqrcbvHRzzNI09Q
@overjt
overjt / forge.js
Created January 14, 2016 19:33
Server-list-ping feature of Minecraft Forge servers.
var net = require("net");
function makeBuf(server, port) {
var bufSize = 7 + server.length;
var buffer = new Buffer(bufSize);
buffer.writeUInt8(bufSize - 1, 0);
buffer.writeUInt8(0, 1);
buffer.writeUInt8(5, 2);
buffer.writeUInt8(server.length, 3);
{
"Name": "webmhost",
"RequestType": "POST",
"RequestURL": "http://webm.host/working/upload.php",
"FileFormName": "fileToUpload",
"Arguments": {
"theTitle": "%unix",
"submit": "Upload"
},
"ResponseType": "Text",
/*
colpick Color Picker / colpick.com
*/
/*Main container*/
.colpick {
position: fixed;
width: 346px;
height: 170px;
overflow: hidden;
@overjt
overjt / karmatroll.js
Created February 10, 2015 21:06
Bloquea y desbloquea a un usuario con el fin de joderle el karma y el rango
function karmatroll(b) {
var datos = {
key: global_data.user_key,
user: $($("a[obj=user]")[0]).attr("objid")
}
if (b == 1){
datos["bloqueado"] = 1;
}
$.ajax({
url: '/ajax/user/block',
@overjt
overjt / akinator.js
Created February 4, 2015 05:36
Akinator nodejs
var request = require("request");
//script by OverJT, based on https://github.com/devsseb/apinator
var Akinator = function() {
this.url = 'http://api-es2.akinator.com/ws/';
this.session = null;
this.signature = null;
this.onAsk = null;
this.step = 0;
}