I hereby claim:
- I am whitlockjc on github.
- I am whitlockjc (https://keybase.io/whitlockjc) on keybase.
- I have a public key whose fingerprint is 9AC5 D0B9 B22B 4294 B2C4 9527 6811 E747 E3DF 6D9D
To claim this, I am signing this object:
| ;;; frame-geometry.el --- Emacs package for storing/restoring window geometry | |
| (setq frameg-file (expand-file-name "frame-geometry" user-emacs-directory)) | |
| (defun save-frameg () | |
| "Gets the current frame's geometry and saves to ~/.emacs.d/frame-geometry." | |
| (let ((frameg-font (frame-parameter (selected-frame) 'font)) | |
| (frameg-left (frame-parameter (selected-frame) 'left)) | |
| (frameg-top (frame-parameter (selected-frame) 'top)) | |
| (frameg-width (frame-parameter (selected-frame) 'width)) |
| uptime | sed 's/,//g' | cut -f 4- -d ' ' | sed 's/ [0-9][0-9]* users .*//' | sed 's/\(.*\):\(.*\)/\1 hours \2 mins/' |
| 'use strict'; | |
| var FileInputFormat = require('hadoop-input').FileInputFormat; | |
| var FileOutputFormat = require('hadoop-output').FileOutputFormat; | |
| var counterGroup = 'Word Count Counters'; | |
| var uniqueWordCounterName = 'Unique Words'; | |
| var totalWordsCounterName = 'Total Words'; | |
| var uniqueWordsCounter; | |
| var totalWordsCounter; |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env node | |
| // Takes an rgba() CSS value and converts it to its 8 digit hexadecimal value. | |
| // | |
| // Usage: ./rgbaToHex.js "{YOUR_RGBA_STRING}" | |
| // | |
| // Example: ./rgbaToHex.js "rgba(197, 200, 198, .2)" => #C5C8C633 | |
| function trim (str) { | |
| return str.replace(/^\s+|\s+$/gm,''); |
| ;; ... | |
| ;; Use mmm-mode to enable EJS (http://embeddedjs.com) Template highlighting in html-mode | |
| ;; Turn on mmm-mode | |
| (require 'mmm-mode) | |
| (setq mmm-global-mode 'maybe) | |
| ;; mmm-mode class for EJS Templates | |
| (mmm-add-classes |
| require.config({ | |
| paths: { | |
| jquery: 'libs/jquery/jquery.min', | |
| underscore: 'libs/underscore/underscore.min', | |
| backbone: 'libs/backbone/backbone.min', | |
| bootstrap: 'libs/bootstrap/bootstrap.min' | |
| }, | |
| shim: { | |
| 'underscore': { | |
| exports: '_' |