I hereby claim:
- I am coreyk on github.
- I am coreyk (https://keybase.io/coreyk) on keybase.
- I have a public key ASAOxW9K4NNG1yD2dIj2pXpcFO0xOP00iTEBk77spCBPKAo
To claim this, I am signing this object:
| (* Script to record and tag spotify tracks, by Lloyd Moore *) | |
| (* Modified by Tiffany G. Wilson to resolve audio splitting issues, automate starting/stopping, and add recording customization *) | |
| (* Modified by github.com/duggi on 7/18/2014 -- replace slash with dashin new filename to prevent directory write errors *) | |
| (* Snippets for controlling Spotify are from Johnny B on tumblr (http://johnnyb.tumblr.com/post/25716608379/spotify-offline-playlist) *) | |
| (* The idea of using delayed tagging/filename updating is from a guest user on pastebin (http://pastebin.com/rHqY0qg9) *) | |
| (* The only thing to change in the script is the output format; you must change the file extension and the recording format to match *) | |
| (* Run this script once a song you want to record is queued (stopped at beginning) or playing *) | |
| (* Running the script will initiate hijacking, recording and audio playback *) | |
| (* To stop script, pause Spotify or wait for album/playlist to end*) | |
| (* To set id3 tags, use application Kid3 (http://sourceforge.net/pr |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Blue Component</key> | |
| <real>0.19370138645172119</real> | |
| <key>Green Component</key> | |
| <real>0.15575926005840302</real> |
| tmutil compare -s '/Volumes/TIMEMACHINEDRIVE/Backups.backupdb/COMPUTERNAME/201X-XX-XX-XXXXXX/VOLUMENAME/FOLDERNAME' /Volumes/VOLUMENAME/FOLDERNAME/ |
| config_files = Dir.glob("#{ENV['HOME']}/Library/Application Support/Viscosity/OpenVPN/*/config.conf") | |
| config_files.each do |file| | |
| certificate_files = ['ca', 'cert', 'key', 'tls-auth'] | |
| config_dir = File.dirname(file) | |
| connection_name = nil | |
| new_config = [] | |
| File.read(file).each do |line| | |
| line.strip! |
| CREATE EXTERNAL TABLE `cf_logs`( | |
| `cachecachestatus` string COMMENT 'from deserializer', | |
| `cacheresponsebytes` int COMMENT 'from deserializer', | |
| `cacheresponsestatus` int COMMENT 'from deserializer', | |
| `cachetieredfill` boolean COMMENT 'from deserializer', | |
| `clientasn` int COMMENT 'from deserializer', | |
| `clientcountry` string COMMENT 'from deserializer', | |
| `clientdevicetype` string COMMENT 'from deserializer', | |
| `clientip` string COMMENT 'from deserializer', | |
| `clientipclass` string COMMENT 'from deserializer', |
I hereby claim:
To claim this, I am signing this object:
Last updated: 2017-03-18
exiftool -filename -filemodifydate -createdate -r -if '(not $datetimeoriginal) and $filetype eq "JPEG"' .
###Output photos that don't have datetimeoriginal to a CSV### Note this can take a long time if you have a lot of jpgs
| # Install tmux 2.9a on Centos | |
| # install deps | |
| yum install gcc kernel-devel make ncurses-devel | |
| # DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
| curl -LOk https://github.com/libevent/libevent/releases/download/release-2.1.11-stable/libevent-2.1.11-stable.tar.gz | |
| tar -xf libevent-2.1.11-stable.tar.gz | |
| cd libevent-2.1.11-stable | |
| ./configure --prefix=/usr/local |
| #!/bin/bash | |
| # Fetch 24-hour AWS STS session token and set appropriate environment variables. | |
| # See http://docs.aws.amazon.com/cli/latest/reference/sts/get-session-token.html . | |
| # You must have jq installed and in your PATH https://stedolan.github.io/jq/ . | |
| # Add this function to your .bashrc or save it to a file and source that file from .bashrc . | |
| # https://gist.github.com/ddgenome/f13f15dd01fb88538dd6fac8c7e73f8c | |
| # | |
| # usage: aws-creds MFA_TOKEN [OTHER_AWS_STS_GET-SESSION-TOKEN_OPTIONS...] | |
| function aws-creds () { | |
| local pkg=aws-creds |
| #!/bin/bash | |
| # | |
| # Assume the given role, and print out a set of environment variables | |
| # for use with aws cli. | |
| # | |
| # To use: | |
| # | |
| # $ eval $(./iam-assume-role.sh) | |
| # |