Skip to content

Instantly share code, notes, and snippets.

View appastair's full-sized avatar
😷

Alastair Gifillan appastair

😷
View GitHub Profile
@appastair
appastair / multi-passcode.user.js
Last active August 8, 2018 13:34 — forked from rongself/multi-passcode.user.js
iitc script for multi passcode apply (点击下面raw按钮安装)
// ==UserScript==
// @id iitc-plugin-multi-passcode@rongself
// @name IITC plugin: Multi Passcode Redeem
// @category Controls
// @version 0.1.0.20180529.1331.
// @namespace https://gist.github.com/rongself/288ad6c887ffb184b469ae0295acc642
// @updateURL https://gist.github.com/appastair/bd32ac0bbfed9a476edd0d2c2148d25e
// @downloadURL https://gist.github.com/appastair/bd32ac0bbfed9a476edd0d2c2148d25e
// @description [rongself-2016-07-17-154202] script for multi passcode apply [appastair-2018-05-28.1331] fixed and added support for newline
// @include https://*.ingress.com/intel*
@appastair
appastair / timelapse.sh
Created November 3, 2017 04:12 — forked from Aramgutang/timelapse.sh
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.