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
laravel-local-install-setup.txt | |
https://github.com/revolunet/sublimetext-markdown-preview/blob/master/README.md | |
specific to El Capitan, should work in Sierra as well | |
2017-04-21 | |
https://laravel-news.com/laravel-5-5-php-7-0 |
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
^\s?(?:\*|//)\s?[A-Za-z0-9_]+\s([a-z0-9_]+)$ | |
\1: "", | |
RegEx to convert a commented line of "data type" "property name" to a key value pair with comma | |
Assumes property names are lowercase, it's the only part that's captured | |
Line 1 - Find | |
Line 2 - replace with | |
ex: | |
Find: |
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
^\s\*\s([a-z0-9_]+)[\t]([a-z_]+)$ | |
* \2 \1 | |
RegEx Find/Replace Snippet to swap data property name and data type in commented out JavaScript file. | |
Used in Sublime Text editor. Probably compliant with most regex-supporting languages including JS | |
Line 1 is Find, Line 2 is replace field | |
ie: | |
* event_category string | |
with | |
* string event_category |