Skip to content

Instantly share code, notes, and snippets.

View appastair's full-sized avatar
😷

Alastair Gifillan appastair

😷
View GitHub Profile
birmingham-cluster1 - padded_string:9?a)w:`<h1V@dy2K ### birmingham_cluster1 St Catherine of Siena Catholic Church ### `kSd$]+>)x4:,5H&@J{& SHA256_hash:c5492c60357b5a2f97e35127f2ad6a204447ab0d8c7ddc12017fbfb90842513e
birmingham-cluster1 - padded_string:aU>VQ;J.QmjFr5CI.N ### birmingham_cluster1 St Martin's Church ### tQ,}T$Bm)%}Bo$aMU`Rb SHA256_hash:235301cd852589b44333b8b9b1fc5c898b5beaeb30cbfcea92fad9773060ac22
birmingham-cluster1 - padded_string:!Rd<62K853y}TG ### birmingham_cluster1 The Woodman Traditional Pub ### mjsN?t! SHA256_hash:4b5b46a1b0b055599260db725f11c7760cbfbd50aa3dda9f8c99b8d9b8eb6fb3
birmingham-cluster1 - padded_string:hMMda?ptfVvIV&^M?;j ### birmingham_cluster1 Thinktank Science Garden ### L{kk|`N$h SHA256_hash:854f663ccfb590d88c7df4d51d6ef475a659918c0b2dba1459952a2069ae6e28
birmingham-cluster1 - padded_string:zQ.l}uv2V ### birmingham_cluster1 Curves and Discs ### Pg1V+^h9|,3Ktn4m0pi SHA256_hash:fc531e3fa992722ecac5436f9da40ab7ed77b580ae016b7369f3f4affe6715a4
birmingham-cluster1 - padded_st
birmingham-cluster1: c5492c60357b5a2f97e35127f2ad6a204447ab0d8c7ddc12017fbfb90842513e
birmingham-cluster1: 235301cd852589b44333b8b9b1fc5c898b5beaeb30cbfcea92fad9773060ac22
birmingham-cluster1: 4b5b46a1b0b055599260db725f11c7760cbfbd50aa3dda9f8c99b8d9b8eb6fb3
birmingham-cluster1: 854f663ccfb590d88c7df4d51d6ef475a659918c0b2dba1459952a2069ae6e28
birmingham-cluster1: fc531e3fa992722ecac5436f9da40ab7ed77b580ae016b7369f3f4affe6715a4
birmingham-cluster1: 39ec61d26b45d123e62a87eadf7633713b161a4bba41ab53c79d95c1ea7ac923
birmingham-cluster1: 6364b66272436cabe08ac6f2c852e420125b8667a3c6ee2fc82beed671c4b123
birmingham-cluster1: 1fca161e01ff7fa9bd9edc5e4611d41906fa3f6ad0a9141672d6b2fbe770a846
birmingham-cluster1: 61556ec035930ebabc9ab960aee2b0afd18e91cd00535dfb591dde55a08c300c
birmingham-cluster1: ef7da7250ae194683dd59315f21b0de4aabc7929f27c7559cae6a128cf0aadb8
SHARD JUMP TIMES
ORIGINAL
PADDED STRING
SHA256 HASH OF PADDED STRING
5/28/2016 5:10:58
l9N###5/28/2016 5:10:58###]h43$Vx$
07c6e6188191619a513382dbb37e7ec99959ce9054e62622d2ae613096d7d84d
@neon-ninja
neon-ninja / iitc-player-tracker-names-alt.user.js
Last active October 6, 2019 19:35
IITC Player Tracker Names leaflet label version
// ==UserScript==
// @id iitc-player-tracker-names-alt
// @name IITC Player Tracker Names
// @category Tweaks
// @version 1.0
// @description This plugin displays player names for player tracker
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*
// @match https://www.ingress.com/intel*
// @match http://www.ingress.com/intel*
@yoshimov
yoshimov / ingress-comm.js
Last active August 27, 2020 10:00
Collect Ingress COMM log with PhantomJS
/* SETTINGS */
var l='';
var p='';
var area = 'https://www.ingress.com/intel?ll=35.5841133,139.4988137&z=14';
var v = 20000; //Delay between capturing screenshots, in milliseconds (1000 ms = 1 s)
var reloadtime = 60000 * 120;
var width = 900; //Picture width
var height = 500; //Picture height
var folder = './'; //Folder where to save screenshots, with / (or \) on the end. '.' means current folder.
phantom.injectJs('settings.js');
@lttlrck
lttlrck / gist:9628955
Created March 18, 2014 20:34
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote
@Aramgutang
Aramgutang / timelapse.sh
Created April 22, 2013 00:58
A Bash script to take regular screenshots of the Ingress Intel map for creating timelapses of operations.
#!/usr/bin/env bash
while [ 1 ]; do
# The --password-store=basic is there to avoid the KDE Wallet access
# request dialog on start-up.
google-chrome --password-store=basic --app=http://www.ingress.com/intel?ll=-33.781201,150.619812\&z=10 &
# Get the process ID, so we can kill it later
chrome_pid=$!
sleep 3
# Get the X window ID of the process we just started so we can resize it.
@havvg
havvg / ajax-form.js
Created August 1, 2012 13:20
jQuery AJAX form submit with Twitter Bootstrap modal
jQuery(function($) {
$('form[data-async]').live('submit', function(event) {
var $form = $(this);
var $target = $($form.attr('data-target'));
$.ajax({
type: $form.attr('method'),
url: $form.attr('action'),
data: $form.serialize(),
@earthgecko
earthgecko / bash.generate.random.alphanumeric.string.sh
Last active April 2, 2024 15:59
shell/bash generate random alphanumeric string
#!/bin/bash
# bash generate random alphanumeric string
#
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1
@jasny
jasny / mysql_splitdump.sh
Last active February 15, 2024 16:13
Split MySQL dump SQL file into one file per table or extract a single table
#!/bin/bash
####
# Split MySQL dump SQL file into one file per table
# based on http://blog.tty.nl/2011/12/28/splitting-a-database-dump
####
if [ $# -lt 1 ] ; then
echo "USAGE $0 DUMP_FILE [TABLE]"
exit