Snippets frequently used with Sage
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
#!/usr/bin/env bash | |
# | |
# Gist https://gist.github.com/mmirus/840c907f02dfb491a150be4e459893d1 | |
# | |
# Forked from https://gist.github.com/omc8db/d95462784bc1c5c41f7f489df5dbc377 | |
# | |
# Use rofi to pick emoji because that's what this | |
# century is about apparently... | |
# | |
# Requirements: |
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
# | |
# Find and delete unused cassettes | |
# Save in spec/support/ | |
# | |
# Modified from examples found at https://github.com/vcr/vcr/issues/283 | |
# | |
module UsedCassetteReporter | |
USED_CASSETTES = Set.new | |
def insert_cassette(name, options = {}) |
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
// ## Globals | |
var argv = require('minimist')(process.argv.slice(2)); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var browserSync = require('browser-sync').create(); | |
var changed = require('gulp-changed'); | |
var concat = require('gulp-concat'); | |
var flatten = require('gulp-flatten'); | |
var gulp = require('gulp'); | |
var gulpif = require('gulp-if'); | |
var imagemin = require('gulp-imagemin'); |
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
// .vscode/settings.json in your project folder | |
{ | |
"workbench.colorCustomizations": { | |
"titleBar.activeForeground": "#ffffff", | |
"titleBar.inactiveForeground": "#ffffffCC", | |
"titleBar.activeBackground": "#525ddc", | |
"titleBar.inactiveBackground": "#525ddcCC" | |
} | |
} |