This file contains hidden or 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 danhorst on github. | |
| * I am danhorst (https://keybase.io/danhorst) on keybase. | |
| * I have a public key ASBqIf9J960I2XkMLY9l-jIxyihTzQWQDJSg3k3XOwCxpgo | |
| To claim this, I am signing this object: |
This file contains hidden or 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
| body { | |
| line-height: 1.4; | |
| color: black; | |
| padding-bottom: 6em; | |
| font-size:100%; | |
| text-size-adjust:100%; | |
| } | |
| .header--lite { | |
| max-width: 36em; | |
| margin: 0 auto; |
This file contains hidden or 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 ruby | |
| Dir.glob("src/*").each do |file| | |
| destination = file.split("/").last | |
| cmd = "magick #{file} -resize \"1000>\" -colorspace Gray -fill white -tint 120 -normalize PNG8:#{destination}" | |
| puts cmd | |
| `#{cmd}` | |
| end |
This file contains hidden or 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 | |
| ### | |
| ### my-script — does one thing well | |
| ### | |
| ### Usage: | |
| ### my-script <input> <output> | |
| ### | |
| ### Options: | |
| ### <input> Input file to read. | |
| ### <output> Output file to write. Use '-' for stdout. |
This file contains hidden or 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/python | |
| import sys | |
| import os, shutil | |
| import subprocess | |
| import os.path | |
| from datetime import datetime | |
| ######################## Functions ######################### |
This file contains hidden or 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
| 2.3.1 |
This file contains hidden or 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
| # No log enteres are made by disadis if a request is made to download an item that is not viewable by the current user | |
| # This single request is logged by disadis for a download request with a valid one-time access token | |
| 2015/11/18 09:32:25.159767 dl 10.41.57.0 GET /k6439z92c9d 39.285593ms | |
| # These three requests are logged by disadis for ONE successful request to the downloads controller | |
| 2015/11/18 09:32:41.127054 dl 10.41.57.0 GET /k6439z92c9d 37.343704ms | |
| 2015/11/18 09:32:41.918609 dl 10.41.57.0 GET /k6439z92c9d 24.011027ms | |
| 2015/11/18 09:32:42.127155 dl 10.41.57.0 GET /k6439z92c9d 26.094414ms |
This file contains hidden or 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
| module Hydra | |
| module Controller | |
| module DownloadBehavior | |
| extend ActiveSupport::Concern | |
| included do | |
| before_filter :load_asset | |
| before_filter :load_datastream | |
| end | |
This file contains hidden or 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
| class people::danhorst { | |
| ##################################################### | |
| # non-App Store apps | |
| ##################################################### | |
| include chrome | |
| include github_for_mac | |
| include macvim | |
| include virtualbox |
This file contains hidden or 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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <title>Toggle field requirement</title> | |
| <meta name="description" content="A clean-room implmentation of conditional field requirement."> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
| <script> |
NewerOlder