This file contains 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
* { | |
color: #1d1d1d; | |
padding: 0; | |
margin: 0; | |
} | |
html { | |
font-family: helvetica; | |
font-size: 16pt; | |
background-color: #FBEEDD; |
This file contains 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
[:text-view {:id ::text-current-id | |
:text (str "Device Id: " @(delay (state/get-device-id))) | |
:text-size [30 :dp] | |
:layout-width :fill}] | |
[:text-view {:id ::text-current-id | |
:text (str "Version: " @(delay (state/get-current-version))) | |
:text-size [30 :dp] | |
:layout-width :fill}] |
This file contains 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
(require 'escreen) | |
;;Escreen setup functionality | |
(escreen-install) | |
(escreen-number-mode 1) | |
(setq escreen-prefix-char "\C-z") | |
(global-set-key escreen-prefix-char 'escreen-prefix) | |
;;Function to prompt before killing the given screen | |
(defun escreen-prompt-kill-p () |
This file contains 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
SELECT obj.*, modules.definition | |
FROM sys.objects AS obj | |
LEFT JOIN sys.sql_modules AS modules | |
ON obj.object_id = modules.object_id | |
ORDER BY type_desc, name |
This file contains 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
browserify index.js -d | uglify -m -c -o index.min.js |
This file contains 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
git diff {git ls-tree master ./blank.htm | cut -f1 | cut -d ' ' -f3} {git ls-tree feature-nyc/IGM-296 ./blank.htm | cut -f1 | cut -d ' ' -f3} |
This file contains 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
(defun set-transparency (alpha-level) | |
(interactive "p") | |
(message (format "Alpha level passed in: %s" alpha-level)) | |
(let ((alpha-level (if (< alpha-level 2) | |
(read-number "Opacity percentage: " 85) | |
alpha-level)) | |
(myalpha (frame-parameter nil 'alpha))) | |
(set-frame-parameter nil 'alpha alpha-level)) | |
(message (format "Alpha level is %d" (frame-parameter nil 'alpha)))) | |
This file contains 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 | |
#allows you to perform a rebase on your current branch with the master | |
#branch | |
#turn off the proxy | |
#. unsetproxy | |
CURRENT_BRANCH="`git rev-parse --abbrev-ref HEAD`" |