The Laracasts PHPStorm theme.
(Add to ~/Library/Preferences/WebIde80/colors
on Mac.)
// Created by Max Luster (@maxluster) | |
// Usage instructions at https://bugsnag.com/blog/responsive-typography-with-chained-media-queries | |
// Requires SASS >= 3.3 | |
// Enhanced by Breakpoint 2.4.x and Compass 1.0 (alpha) | |
// For SASS 3.2.x support, use https://gist.github.com/maxluster/c9ecc6e4a6770e507c2c | |
// Provides a simplified syntax for chaining media queries across named or numeric breakpoints | |
@mixin responsive($properties, $default-value, $responsive-values){ | |
// No named breakpoints by default |
// NOTE: I added the .js extension to this gist so it would have syntax highlighting. This file should have NO file extension | |
{ | |
// Settings | |
"passfail" : false, // Stop on first error. | |
"maxerr" : 100, // Maximum error before stopping. | |
// Predefined globals whom JSHint will ignore. | |
"browser" : true, // Standard browser globals e.g. `window`, `document`. |
The Laracasts PHPStorm theme.
(Add to ~/Library/Preferences/WebIde80/colors
on Mac.)
HI HERE ARE SOME DOG HALP *** SORRY HE IS SO GODDAMN DIRTY ***
Boo Sitting (March 15-19th) 15th: Afternoon/PM 16th: AM/Afternoon/PM 17th: AM/PM 18th: AM/PM 19th: AM/PM
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
var Article = require('../../../models/article');
Those suck for maintenance and they're ugly.
################################## INSTRUCTIONS ################################## | |
# 1. Make sure docker-machine is installed on your machine # | |
# 2. Download the file # | |
# 3. Run using $ . swarm-with-docker-machine.sh so that DOCKER_HOST is exported # | |
################################################################################## | |
# Clean any existing machines | |
yes | docker-machine rm manager | |
yes | docker-machine rm agent1 | |
yes | docker-machine rm agent2 |
/** | |
* JS scoping, and this property resolutions rules in ES7/ES8. | |
* | |
* Quiz: x is gone, and x is everywhere! | |
* | |
* Help find Xs! What's the output? | |
*/ | |
let x = 1; |
/** | |
* @author ebidel@ (Eric Bidelman) | |
* License Apache-2.0 | |
* | |
* Shows how to use Puppeeteer's code coverage API to measure CSS/JS coverage across | |
* different points of time during loading. Great for determining if a lazy loading strategy | |
* is paying off or working correctly. | |
* | |
* Install: | |
* npm i puppeteer chalk cli-table |
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
package main | |
import ( | |
"fmt" | |
"os" | |
"os/exec" | |
"syscall" | |
) | |
func main() { |