Skip to content

Instantly share code, notes, and snippets.

@kaz
kaz / 100.js
Last active March 3, 2016 03:21
javascript:(function(a,c){var b=a("#ctl00_ContentPlaceHolder1_ctl00_div tr");1>=b.size()&&(b=a("#ctl00_ContentPlaceHolder1_div tr"));b.find("td:eq(5)").each(function(){c(this.textContent)||(this.textContent=100,a(this).parent().find("td").css("background-color","white"))}).end().find("td:eq(6)").each(function(){c(this.textContent)||(this.textContent=4.5)})})(jQuery,isNaN);
/*
(function($,isNaN){
let $e = $("#ctl00_ContentPlaceHolder1_ctl00_div tr");
if($e.size() <= 1){
$e = $("#ctl00_ContentPlaceHolder1_div tr");
}
$e.find("td:eq(5)").each(function(){
if(!isNaN(this.textContent)){
<?php
if(!array_key_exists("q", $_GET)) exit("no query");
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_URL => "https://twitter.com/i/search/timeline?" . http_build_query([
"q" => $q = $_GET["q"],
"src" => "typd",