This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name CF no ranks | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match http://codeforces.com/ | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Description: Boxstarter Script | |
# Author: Jess Frazelle <[email protected]> | |
# Last Updated: 2017-09-11 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
height = 7 | |
width = 7 | |
board_spaces_occupied = [ | |
[ 1, 0, 1, 1, 1, 0, 0], | |
[ 1, 1, 0, 1, 1, 0, 1], | |
[ 1, 1, 1, 1, 0, 0, 1], | |
[ 1, 0, 1, 0, 1, 1, 1], | |
[ 1, 0, 0, 1, 1, 1, 1], | |
[ 0, 0, 1, 0, 0, 1, 1], | |
[ 0, 1, 1, 0, 1, 1, 1], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0xb676dF5f50a680fEd1b0915fbF41Af0452566dc3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<span id="time" v-html="time"></span> | |
</template> | |
<style> | |
</style> | |
<script> | |
module.exports = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am motatoes on github. | |
* I am motatoes (https://keybase.io/motatoes) on keybase. | |
* I have a public key ASDmigsAWzs9gaHzX288aWS_XtSCQodImZk0VGy1cx3Towo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// == This script extracts emails and other data about the UK house of lords from the following url: | |
// http://www.parliament.uk/mps-lords-and-offices/mps/ | |
var casper = require('casper').create(); | |
var fs = require('fs'); | |
// This array maintains a list of links to each HOL profile | |
var links = []; | |
// This array maintains the scraped information and is saved by the end of this script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
GHOST_DATABASE=/var/www/ghost/content/data/ghost.db | |
BACKUP_DIR=/home/ghost/backup/allghostthemes/ | |
BACKUP_RETENTION_PERIOD=10 | |
LOG_FILE=/var/log/backup-allghostthemes.log | |
DATE=`date '+%Y/%m/%Y-%m-%d-%H-%S'` | |
# Make backup directory | |
mkdir -p $BACKUP_DIR$DATE |
NewerOlder