Skip to content

Instantly share code, notes, and snippets.

--- old.css 2016-12-13 11:26:59.000000000 -0800
+++ old-transformed-to-new.css 2016-12-13 12:18:42.000000000 -0800
@@ -1,10 +1,11 @@
.graphiql-container {
color: #141823;
- display: -webkit-flex;
display: -ms-flexbox;
+ display: -webkit-box;
display: flex;
- -webkit-flex-direction: row;
--- old.css 2016-12-13 11:26:59.000000000 -0800
+++ new.css 2016-12-13 12:28:14.000000000 -0800
@@ -1,9 +1,10 @@
.graphiql-container {
color: #141823;
- display: -webkit-flex;
+ display: -webkit-box;
display: -ms-flexbox;
display: flex;
- -webkit-flex-direction: row;
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
'use strict';
name: docvim
version: 0.3.1.3
cabal-version: >=1.10
build-type: Simple
license: MIT
license-file: LICENSE.md
copyright: 2015-present Greg Hurrell
maintainer: greg@hurrell.net
homepage: https://github.com/wincent/docvim
synopsis: Documentation generator for Vim plug-ins
/tmp!$ cabal update 0.35s /tmp
Downloading the latest package list from hackage.haskell.org
/tmp$ cabal get docvim-0.3.1.2 3.39s /tmp
Downloading docvim-0.3.1.2...
Unpacking to docvim-0.3.1.2/
/tmp$ cd docvim-0.3.1.2 0.85s /tmp
. LICENSE.md Setup.hs lib tests
.. README.md docvim.cabal src
docvim-0.3.1.2$ stack --resolver nightly init 0.01s /tmp/docvim-0.3.1.2
Looking for .cabal or package.yaml files to use to init the project.
Special Parameters
The shell treats several parameters specially. These parameters may only be referenced; assignment to them is not allowed.
* Expands to the positional parameters, starting from one. When the expansion occurs within double quotes, it expands to a single word with the value
of each parameter separated by the first character of the IFS special variable. That is, "$*" is equivalent to "$1c$2c...", where c is the first
character of the value of the IFS variable. If IFS is unset, the parameters are separated by spaces. If IFS is null, the parameters are joined
without intervening separators.
@ Expands to the positional parameters, starting from one. When the expansion occurs within double quotes, each parameter expands to a separate word.
That is, "$@" is equivalent to "$1" "$2" ... If the double-quoted expansion occurs within a word, the expansion of the first parameter is joined
@wincent
wincent / gist:1b7d97fdc646bbe79eaf
Created February 29, 2016 07:52
Command-T benchmarks
next:
user system total real
pathological 0.200000 0.000000 0.200000 ( 0.197547)
command-t 1.250000 0.010000 1.260000 ( 1.265484)
chromium (subset) 0.960000 0.130000 1.090000 ( 0.217825)
chromium (whole) 3.850000 0.020000 3.870000 ( 0.533365)
3.0.2 (current released version):
Checking ruby_style/home/greg/.rbenv/versions/ree-1.8.7-2010.02/lib/ruby/gems/1.8/gems/overcommit-0.2.1/lib/overcommit/plugins/pre_commit/ruby_style.rb:23:in `run_check': undefined method `modified_lines' for nil:NilClass (NoMethodError)
from /home/greg/.rbenv/versions/ree-1.8.7-2010.02/lib/ruby/1.8/singleton.rb:99:in `partition'
from /home/greg/.rbenv/versions/ree-1.8.7-2010.02/lib/ruby/1.8/singleton.rb:99:in `each'
from /home/greg/.rbenv/versions/ree-1.8.7-2010.02/lib/ruby/gems/1.8/gems/overcommit-0.2.1/lib/overcommit/plugins/pre_commit/ruby_style.rb:18:in `lines'
from /home/greg/.rbenv/versions/ree-1.8.7-2010.02/lib/ruby/gems/1.8/gems/overcommit-0.2.1/lib/overcommit/plugins/pre_commit/ruby_style.rb:18:in `each'
from /home/greg/.rbenv/versions/ree-1.8.7-2010.02/lib/ruby/gems/1.8/gems/overcommit-0.2.1/lib/overcommit/plugins/pre_commit/ruby_style.rb:18:in `partition'
from /home/greg/.rbenv/versions/ree-1.8.7-2010.02/lib/ruby/gems/1.8/gems/overcommit-0.2.1/lib/
#!/usr/bin/env ruby
# Show how many lines people are "responsible" for, according to `git-blame`.
# optionally take a pathspec to use as a filter
pathspec = ARGV.any? ? "-- #{ARGV.join(' ')}" : ''
# grab all the files in the source tree, filtered by the pathspec
files = `git ls-tree -r HEAD #{pathspec}`.split("\n").map do |line|
metadata, path = line.split("\t")
end
- name: defaults | System Preferences -> Desktop & Screen Saver -> Screen Saver -> Show with clock
osx_defaults: domain=com.apple.screensaver host=currentHost key=showClock type=int value=0