https://github.com/VSCodeVim/Vim
# Yank any lines containing "a999-" in them.
:g/a999-/yank A
# Delete all lines
:1,$d
| javascript:(function(){var e=location.href;var t={sbx:"idxsandbox.com",dev:"dev.lan"};var n=e.match(t.sbx);var r=e.match(t.dev);if(n||r){var i,s;if(n){s=t.dev;i=t.sbx}else{i=t.dev;s=t.sbx}window.location=e.replace(i,s)}})() |
| javascript:(function(){var e=location.href;var t={sbx:"idxsandbox",stg:"idxstaging"};var n=e.match(t.sbx);var r=e.match(t.stg);if(n||r){var i,s;if(n){s=t.stg;i=t.sbx}else{i=t.stg;s=t.sbx}window.location=e.replace(i,s)}})() |
| <?php | |
| use Eloquent; | |
| class BaseModel extends Eloquent { | |
| /** | |
| * The default connection | |
| */ | |
| protected $connection = 'db1-mysql'; |
| // ---- | |
| // 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 | |
| // ---------------------------------------------------------------------------------------------------- | |
| // - Display Errors | |
| // ---------------------------------------------------------------------------------------------------- | |
| ini_set('display_errors', 'On'); | |
| ini_set('html_errors', 0); | |
| // ---------------------------------------------------------------------------------------------------- | |
| // - Error Reporting |
| { | |
| // 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", |
| 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; |
https://github.com/VSCodeVim/Vim
# Yank any lines containing "a999-" in them.
:g/a999-/yank A
# Delete all lines
:1,$d
| private function test() | |
| { | |
| $query['body']['aggs'] = [ | |
| 'avg_price_per_month' => [ | |
| 'date_histogram' => [ | |
| 'field' => 'metaFields.soldDate', | |
| 'interval' => 'month', | |
| 'format' => 'M/d/YYYY' | |
| ], | |
| [ |