I hereby claim:
- I am dmerand on github.
- I am donaldmerand (https://keybase.io/donaldmerand) on keybase.
- I have a public key whose fingerprint is 78D3 1A32 50CC 3479 1DA5 365E 3C62 4C48 9615 08BB
To claim this, I am signing this object:
| #!/usr/bin/env sh | |
| HERE="/Users/explo/cron/dns-monitor-data" | |
| GCHAT_URL='https://gchat_url_goes_here.com' | |
| MANDRILL_KEY='paste_ye_olde_key_here' | |
| MANDRILL_EMAIL="[email protected]" | |
| cd "${HERE}" && /Users/explo/.rbenv/shims/dns-monitor --check \ | |
| --domains_path "${HERE}/hosts.txt" \ | |
| --db_path "${HERE}/dns-monitor.sqlite3" \ |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env sh | |
| # FileMaker Script Launcher | |
| # ========================= | |
| # | |
| # **Author:** Donald L. Merand | |
| # | |
| # General template to run ANY FileMaker script. | |
| # NOTE: This is probably Mac-only. I haven't tested it on other platforms. |
| #!/usr/bin/env sh | |
| #---------------------------------------------------------# | |
| # gcode_pause | |
| # Donald L. Merand | |
| # ---------------- | |
| # Given (1) a file, (2) a layer number, and an optional | |
| # (3) regular expression matching layer change, add a | |
| # pause command (defaults to "M226" but changeable) to | |
| # the GCODE. | |
| #---------------------------------------------------------# |
| #!/usr/bin/env sh | |
| #---------------------------------------------------------# | |
| # emoticonify | |
| # Donald L. Merand | |
| # ---------------- | |
| # Convert any image file into a suitable hipchat emoticon | |
| #---------------------------------------------------------# | |
| # Usage: emoticonify <file> | |
| # will return <file_emoticon.png> | |
| #---------------------------------------------------------# |
| // always center the scroll view | |
| atom-text-editor { | |
| .gutter { | |
| -webkit-flex: 1; | |
| text-align: right; | |
| .line-number { | |
| width: 100%; | |
| } | |
| } |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://code.jquery.com/jquery-2.1.1.min.js"></script> | |
| <script> | |
| $(function() { | |
| var xhr = $.get("http://api.giphy.com/v1/gifs/random?api_key=dc6zaTOxFJmzC"); | |
| xhr.done(function(data) { | |
| $('.gif-bg').css('background-image', 'url(' + data.data.image_url + ')'); | |
| }); |
| #!/bin/sh | |
| #convert a TSV file to an HTML file | |
| #author: Donald L. Merand | |
| #note: this is most useful in conjunction with bcat, which sends results to the browser | |
| # you can get bcat on OS X using homebrew | |
| # http://mxcl.github.com/homebrew/ | |
| # then type "brew install bcat" | |
| #also note: this script only creates an HTML snippet - you'll probably want to wrap |
| #!/bin/sh | |
| #tsvfmt - TSV Formatter | |
| #Author: Donald L. Merand | |
| #---------- | |
| #Takes a TSV file, and outputs a text-only representation of the table, | |
| #+ justified to the max width of each column. Basically, you use it when | |
| #+ you want to "preview" a TSV file, or print it prettily. | |
| #---------- | |
| #Accepts standard input, or piped/redirected files | |
| #---------- |
| #!/bin/sh | |
| # IMAGE COMPOSITOR | |
| # Author: Donald L. Merand | |
| # Description: Merge images in a directory together into one composite image. | |
| # Be careful, this program is recursive and can eat up some disk space | |
| # creating images in subdirectories. | |
| # default program options | |
| RESULTSDIR="_results" |