I hereby claim:
- I am ernstki on github.
- I am ernstki (https://keybase.io/ernstki) on keybase.
- I have a public key whose fingerprint is 13CE B335 8962 AF0C 4489 FD84 DE5F FAB6 821A 05EB
To claim this, I am signing this object:
| #!/bin/bash | |
| set -x | |
| export GIT_WORK_TREE=/var/www/tm | |
| export RAILS_ENV=mod_rails | |
| if [ ! -d "$GIT_WORK_TREE" ]; then | |
| echo "ACK! The specified working tree ($GIT_WORK_TREE) doesn't exist. Quitting." >&2 | |
| exit 3 | |
| fi | |
| git checkout -f dev |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="//code.jquery.com/jquery-2.1.0.min.js"></script> | |
| <script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
| <meta charset=utf-8 /> | |
| <title>quadraticCurveTo given three points</title> | |
| <style> | |
| body { background:#000; margin:0px; padding:0px; overflow:hidden; } |
| #!/bin/bash | |
| # Query an LDAP server (assuming OWA via DavMail) for "LastName, FirstName" | |
| # given a list of names from an input file passed on the command line; output | |
| # names and emails in a format acceptable to Listserv for bulk subscription. | |
| # | |
| # The input names can be copied from a Blackboard course's Tools -> Send Email | |
| # -> All Users. These are semicolon-separated, so replace these with newlines | |
| # using a global search-and-replace (e.g., in Vi: :%s/; \?/<CTRL+V><CTRL+M>/g, | |
| # where <CTRL+X> is a literal keypress, holding down the Control key). | |
| # |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="description" content="Appearing/disappearing message box with CSS transitions only" /> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| .box { | |
| border: 1px solid black; | |
| height: 5em; |
I hereby claim:
To claim this, I am signing this object:
| --- CMakeLists.txt.orig 2016-11-13 18:49:46.528795000 -0500 | |
| +++ CMakeLists.txt 2016-11-13 18:52:36.459490000 -0500 | |
| @@ -21,7 +21,6 @@ | |
| # to make sure more people can easily run class code without knowing | |
| # about this compiler argument | |
| set(CUDA_NVCC_FLAGS " | |
| - -ccbin /usr/bin/clang; | |
| -gencode;arch=compute_30,code=sm_30; | |
| -gencode;arch=compute_35,code=sm_35; | |
| -gencode;arch=compute_35,code=compute_35; |
| #!/usr/bin/env sed -f | |
| # replace all forward slashes only if there are no backslashes | |
| # (i.e., convert Unix-style pathnames to DOS/Windows-style ones) | |
| /\\/! s_/_\\_g | |
| # branch (to the end) if any substitutions have been made at this point, | |
| # to prevent the next pattern from undoing what the first one did | |
| t |
| # Use 'vimdiff' as the diff tool. See also git-diff(1) | |
| # '-y' means don't prompt for every invocation | |
| git config --global alias.vimdiff 'difftool -y -t vimdiff' | |
| # A concise, formatted commit log | |
| # Source: https://www.youtube.com/watch?v=W39CfI3-JFc | |
| git config --global alias.lol 'log --graph --all --decorate --oneline' | |
| # Colorize output (really helpful) | |
| # Source: https://rogerdudler.github.io/git-guide/#hints |
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| # | |
| # List, filter, and sort records from the SQLite database holding your Firefox | |
| # profile's browsing history ('<profile>/places.sqlite#moz_places') | |
| # | |
| # In order to point this script at the correct Firefox profile, either use | |
| # the '-p' option, or set an environment variable 'FFPROFILE' that is the | |
| # complete path to the profile ('9ibBeri$h.default', for example) | |
| # |
| # add a 1-pixel #777 border and a 2-pixel offset drop shadow of 5 px radius | |
| # | |
| # source: https://stackoverflow.com/a/7136561 | |
| function dropshadow() { | |
| # inner border color and radius | |
| local ibc=${DS_INNER_BORDER_COLOR:-#777} | |
| local ibr=${DS_INNER_BORDER_RADIUS:-1} | |
| # drop shadow color, alpha, width and offset | |
| local dsc=${DS_DROP_SHADOW_COLOR:-black} |