Moved to our SATIS server: https://packages.pyrocms.com
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
The text M-k is read as `Meta-K, labeled ALT - the left one - on many keyboards | |
If you do not have a Meta or ALT key, or another key working as a Meta key, the identical keystroke can be generated by typing ESC first, and then typing k. Either process is known as metafying the k key. | |
UNDO!!! LAST COMMAND: | |
for my terminal at least: C-_ that's control and underscore | |
clear-screen (C-l) | |
Clear the screen and redraw the current line, leaving the current line at the top of the screen. | |
- use instead of $:clear |
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
Rachelle Gray | |
Git Feature Merging and Branching Workflow | |
- indented numbered items are command line arguments | |
- flush comments to give context | |
Follow these explicit steps for using git in a command line. This walks | |
you through a complete cycle of completing a simple story), of a feature | |
branching workflow using just a working dev and a topic branch. Uses | |
fetch/merge not pull, and merge commits not rebasing. Assumes a local | |
initiated git repo and a hosted remote repo of name "origin". Assumes |
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
#!/bin/sh | |
SRCEXT="html" | |
DSTEXT="txt" | |
for file in *.$SRCEXT; do | |
echo "$file -> `basename "$file" .$SRCEXT`.$DSTEXT" | |
mv "$file" "`basename "$file" .$SRCEXT`.$DSTEXT" | |
done |
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
7 JavaScript data types: OBUNNSS | |
* Object | |
* Boolean | |
* Undefined | |
* Null | |
* Number | |
* Symbol | |
* String | |
http://www.ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values |
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 | |
# Use this script to update multiple versions of PHP | |
versions=(56 70); | |
echo "Updating brew" | |
brew update | |
for version in ${versions[@]} |
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
webpack --display-modules | awk '{print $3$4" "$2}' | grep -v bytes | sort -n | tail -100 |
[09:38 PM] Steven: No matter what I do, I cannot get the NODE_ENV to be production for the purposes of webpack compiling
I have tried every example on the web
plugins: [
new webpack.DefinePlugin({
'process.env':{
'NODE_ENV': JSON.stringify('production')
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
// PhantomJS script for creating this data | |
var page = require('webpage').create(); | |
var fs = require('fs'); | |
var url = "https://kangax.github.io/compat-table/es6/"; | |
page.onConsoleMessage = function(msg, lineNum, sourceId) { | |
console.log('CONSOLE> ' + msg); | |
}; |
NewerOlder