Skip to content

Instantly share code, notes, and snippets.

Christopher Blow France christopherfrance

Block or report user

Report or block christopherfrance

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@christopherfrance
christopherfrance / cloudSettings
Last active Jul 17, 2019
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2019-07-17T22:05:21.501Z","extensionVersion":"v3.2.9"}
@christopherfrance
christopherfrance / cloudSettings
Last active Feb 25, 2019
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2019-02-25T19:21:51.676Z","extensionVersion":"v3.2.5"}
View layer.oas.yaml
openapi: 3.0.0
# Layer.City API Spec
servers:
- description: Layer.city API
url: https://api-dev.layer.city
info:
description: Geocoding as it was meant to be - no subscriptions, no maximums, no work.
version: "0.1"
title: layer.city
contact:
@christopherfrance
christopherfrance / find-largest-sass.sh
Created May 23, 2017
histogram of largest sass files
View find-largest-sass.sh
brew install distribution
wc -l src/app/**/*css | sed '$ d' | distribution --graph=vk --color --height=1000 --width=120 --char=ba
@christopherfrance
christopherfrance / count_rules.sh
Created May 23, 2017
histogram of common rules in a set of stylesheets
View count_rules.sh
brew install distribution
cat src/app/**/*css | sed 's/^[ ]*//' | sed 's/[ ]*$//' | sed 's/{//' | sed 's/}//' | sed 's/[//]//' | sed 's/[/]//' | sed 's/\*//' | sort -nr | uniq -c | sort -n | distribution -g=vk --height=200 --color --width=100
View .travis.yml
language: ruby
rvm:
- 2.3.3 #reasonably recent
env:
- SLIMERJSLAUNCHER=$(which firefox) DISPLAY=:99.0 PATH=$TRAVIS_BUILD_DIR/slimerjs:$PATH #for slimer
addons:
firefox: "50.0" # for slimer
cache: bundler # Cache rubygems to speed up the build
before_script:
- . $HOME/.nvm/nvm.sh # Enable node installation
@christopherfrance
christopherfrance / filter.sh
Last active Apr 22, 2017
Truncate a repo at an arbitrary point
View filter.sh
git filter-branch --parent-filter '
read parent
if [ "$parent" = "-p <COMMIT ID>" ]
then
echo
else
echo "$parent"
fi'
View verification.checklist.md
  • a task list item
  • list syntax required
  • normal formatting, @mentions, #1234 refs
  • incomplete
  • completed
View form_transition.scss
input[type='email'] {
width: 68%;
&:focus {
// outline: 1px dotted;
border-bottom: 1px solid $dodger-blue;
}
// When clicking in this element, light up the button
&:focus ~ input[type='submit'] {
View animated background gradient.scss
@keyframes gradient {
0%{background-position:0% 0%}
10%{background-position:10% 15%}
20%{background-position:20% 25%}
30%{background-position:30% 35%}
40%{background-position:40% 45%}
50%{background-position:50% 55%}
60%{background-position:60% 65%}
70%{background-position:70% 75%}
80%{background-position:80% 85%}
You can’t perform that action at this time.