Forked from Rogie's Pen SVG zigzag.
A Pen by Captain Anonymous on CodePen.
var exec = require('child_process').spawn; | |
var node = exec('node', process.argv.splice(2), {stdio: 'inherit'}); |
Forked from Rogie's Pen SVG zigzag.
A Pen by Captain Anonymous on CodePen.
rscript.stack <- function() | |
{ | |
# Returns the stack of Rscript files. | |
# | |
# Returns: | |
# Stack of files. | |
Filter(Negate(is.null), lapply(sys.frames(), function(x) x$ofile)) | |
} |
a[href^="http:"] { | |
display:inline-block; | |
padding-right:14px; | |
background:transparent url(/Images/ExternalLink.gif) center right no-repeat; | |
} | |
a[href^="mailto:"] { | |
display:inline-block; | |
padding-left:20px; | |
line-height:18px; | |
background:transparent url(/Images/MailTo.gif) center left no-repeat; |
### | |
# Allowable | |
# | |
# A pattern for decomposing large/long conditional chains | |
# into readable, testable, and inspectable segments. | |
# Code coverage stats can help show you which conditions | |
# aren't getting test coverage, and printing/prying around | |
# the code can show you intermediary condition results. | |
# | |
# Effectively a block-syntax for the `or` operator: each `when?` |
#!/usr/bin/env ruby | |
# Script to backup the Discourse postgres db and upload it to Amazon S3 | |
require 'rubygems' | |
require 'yaml' | |
require 'fog' | |
require 'time' | |
require 'date' | |
require 'fileutils' |
;; Functions to work with frames | |
(provide 'ime-frame) | |
(defun screen-usable-height (&optional display) | |
"Return the usable height of the display. | |
Some window-systems have portions of the screen which Emacs | |
cannot address. This function should return the height of the | |
screen, minus anything which is not usable." |
#!/usr/bin/perl | |
# This filter changes all words to Title Caps, and attempts to be clever | |
# about *un*capitalizing small words like a/an/the in the input. | |
# | |
# The list of "small words" which are not capped comes from | |
# the New York Times Manual of Style, plus 'vs' and 'v'. | |
# | |
# 10 May 2008 | |
# Original version by John Gruber: |