I hereby claim:
- I am OllieTerrance on github.
- I am terrance (https://keybase.io/terrance) on keybase.
- I have a public key whose fingerprint is A78E 9C1E 9514 4560 7BF0 77C8 645A 86C9 6168 F957
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
$$(".item_market_action_button.item_market_action_button_green")[0].click(); | |
$$("#market_buynow_dialog_accept_ssa")[0].checked = true; | |
$$("#market_buynow_dialog_purchase")[0].click(); |
@media (max-width: 768px) { | |
div#content { | |
margin-left: 0; | |
border: none; | |
} | |
#mw-page-base, #mw-head-base, #mw-head, #mw-panel { | |
display: none; | |
} | |
} |
// for all public tags | |
$(".sx_c87e68").each(function(i, e) { | |
// navigate up to the root of the item | |
var r = $(e).parent().parent().parent().parent().parent().next(); | |
var id = r.parent().attr("id"); | |
// open the dropdown | |
r.find("i").click(); | |
// find the corresponding menu | |
$(".accelerate").find("a").each(function(j, l) { | |
if ($(l).data("store").domID == id) { |
// ==UserScript== | |
// @id iitc-plugin-ingressdualmap-exporter@OllieTerrance | |
// @name IITC plugin: Ingress Dual Map Exporter | |
// @category Keys | |
// @version 0.0.0.1 | |
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion | |
// @description Exports portals currently in view as a CSV list for use with Ingress Dual Map. | |
// @include https://www.ingress.com/intel* | |
// @include http://www.ingress.com/intel* | |
// @match https://www.ingress.com/intel* |
import java.util.Calendar; | |
import android.app.DatePickerDialog; | |
import android.app.TimePickerDialog; | |
import android.content.Context; | |
import android.view.View; | |
import android.widget.DatePicker; | |
import android.widget.TextView; | |
import android.widget.TimePicker; |
import json, re, shlex, urllib.request | |
watch = [] | |
def getPrice(item): | |
listings = json.loads(urllib.request.urlopen(makeUrl(item)).read().decode("utf-8"))["listinginfo"] | |
lowest = None | |
for id, obj in list(listings.items()): | |
try: | |
price = obj["converted_price"] |
function shlex(str) { | |
var args = str.split(" "); | |
var out = []; | |
var lookForClose = -1; | |
var quoteOpen = false; | |
for (var x in args) { | |
if (args.hasOwnProperty(x)) { | |
var arg = args[x]; | |
var escSeq = false; | |
for (var y in arg) { |
try: | |
import os, shutil, zipfile | |
except ImportError as e: | |
print("") | |
print("Error: installation module not available:") | |
print("{}.".format(e)) | |
print("") | |
quit() | |
try: |
<? | |
class DB { | |
private static $conn = null; | |
public static function connect($host="localhost", $user="root", $pass=null, $db=null) { | |
DB::$conn = mysqli_connect($host, $user, $pass, $db); | |
} | |
public static function insert($table, $data) { | |
if (!DB::$conn) { | |
DB::connect(); | |
} |