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
10 39 53 71 111 30 | |
55 103 97 55 53 | |
39 53 55 90 1 | |
111 97 55 38 90 25 | |
52 10 111 23 53 | |
10 29 53 103 10 39 1 | |
88 103 109 55 | |
2 55 111 105 10 30 | |
111 55 27 38 29 53 55 |
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
#!/usr/bin/env bash | |
# | |
# Unpacking Backblaze archives | |
# ---------------------------- | |
# | |
# A paranoid script for extracting a zip file into the current directory. It | |
# attempts to validate against common gotchas: it checks the list of extracted | |
# files against the list of archive contents, it valids the zipfile's contents | |
# checksums, and it uses "ditto" over "unzip" because it handles non-ASCII | |
# filenames properly. |
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
"""Script to evaluate binary sizes of CHStone benchmarks when compiled using | |
different combinations of clang / opt flags. | |
Requires latest CompilerGym: | |
python -m pip install compiler_gym -U | |
Usage: | |
python opt_wtf.py |
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
#!/usr/bin/env bash | |
# | |
# Find and optionally remove conflicted Dropbox files. | |
# Feb 2017 Chris Cummins <[email protected]> | |
# | |
# Usage: | |
# ./find-dropbox-conflicts.sh # list conflicted files | |
# ./find-dropbox-conflicts.sh --rm # remove conflicted files | |
# | |
if [[ "$1" == "--rm" ]]; then |
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
#!/usr/bin/env python2 | |
""" | |
omni - add a task to OmniFocus inbox from the command-line. | |
Requirements: | |
* A working 'mail' interface, for sending email over the command-line. | |
For OS X, see: http://codana.me/2014/11/23/sending-gmail-from-os-x-yosemite-terminal/ | |
* An OmniFocus Mail Drop account. See the OmniFocus help. |
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
#!/usr/bin/env bash | |
# | |
# remove-jpg-sidecars.sh | |
# | |
# A script to remove the .jpg sidecar files which are generated by | |
# cameras capturing in JPG+RAW mode. | |
# | |
# How it works: | |
# | |
# 1) It generates a list of all dng files in the current directory. |
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/sh | |
# | |
# gravepinger - Pings a website on a timer. | |
# | |
test -n "$2" || { | |
echo "Usage: gravepinger <target> <frequency>" >&2 | |
echo "" >&2 | |
echo "Invokes wget on <target> every <frequency> timespan." >&2 | |
echo "Target can be any web page, e.g. \`http://chriscummins.cc'." >&2 | |
echo "Timespan may be any number suffixed with \`s' for seconds," >&2 |
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 | |
# | |
# server.sh | |
# | |
# Copyright (C) 2013 Chris Cummins | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. |