https://github.com/VSCodeVim/Vim
# Yank any lines containing "a999-" in them.
:g/a999-/yank A
# Delete all lines
:1,$d
| { | |
| "title": "D/K to Left/Right Shift When Held", | |
| "author": "Jason Welch(jwelchdesign.com)", | |
| "homepage": "https://gist.github.com/calebporzio/2d07cd0e3013e7eaf16f5a2ea4f594ae", | |
| "import_url": "://karabiner/assets/complex_modifications/import?url=https://gist.githubusercontent.com/calebporzio/2d07cd0e3013e7eaf16f5a2ea4f594ae/raw/08c397b09fbaa5ec90cf161e5bca97bdb43e8c55/caps_lock_to_command_escape.json", | |
| "rules": [ | |
| { | |
| "description": "D/K to Left/Right Shift When Held", | |
| "manipulators": [ | |
| { |
| <?php | |
| class Foo | |
| { | |
| private function test() | |
| { | |
| $query['body']['aggs'] = [ | |
| 'avg_price_per_month' => [ | |
| 'date_histogram' => [ | |
| 'field' => 'metaFields.soldDate', |
| private function test() | |
| { | |
| $query['body']['aggs'] = [ | |
| 'avg_price_per_month' => [ | |
| 'date_histogram' => [ | |
| 'field' => 'metaFields.soldDate', | |
| 'interval' => 'month', | |
| 'format' => 'M/d/YYYY' | |
| ], | |
| [ |
https://github.com/VSCodeVim/Vim
# Yank any lines containing "a999-" in them.
:g/a999-/yank A
# Delete all lines
:1,$d
| javascript: | |
| (function(){ | |
| var idxID, listingID; | |
| idxID=prompt("MLS (or both):"); | |
| var regex = /(?<idxID>[a-z]{1}[0-9]{3})(\/|::listing::)(?<listingID>.*)/gm; | |
| if (match = regex.exec(idxID)) { | |
| idxID = match.groups.idxID; | |
| listingID = match.groups.listingID; |
| { | |
| // User Interface Settings | |
| "theme": "Material-Theme.sublime-theme", | |
| "material_theme_small_statusbar": true, | |
| "material_theme_compact_sidebar": true, | |
| "material_theme_tree_headings": true, | |
| "color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", | |
| "overlay_scroll_bars": "enabled", | |
| "translate_tabs_to_spaces": true, | |
| "caret_style": "phase", |
| <?php | |
| // ---------------------------------------------------------------------------------------------------- | |
| // - Display Errors | |
| // ---------------------------------------------------------------------------------------------------- | |
| ini_set('display_errors', 'On'); | |
| ini_set('html_errors', 0); | |
| // ---------------------------------------------------------------------------------------------------- | |
| // - Error Reporting |
| // ---- | |
| // Sass (v3.3.14) | |
| // Compass (v1.0.1) | |
| // ---- | |
| @function color-diff($color-a, $color-b) { | |
| $hue: hue($color-a) - hue($color-b); | |
| $saturation: saturation($color-a) - saturation($color-b); | |
| $lightness: lightness($color-a) - lightness($color-b); |
| <?php | |
| use Eloquent; | |
| class BaseModel extends Eloquent { | |
| /** | |
| * The default connection | |
| */ | |
| protected $connection = 'db1-mysql'; |