- tarragon
- shallots
- baby carrots
- whole chicken
- unsalted butter
- maracapone
- green onions
- red wine - primus blend
- spanish onions
- cubanelles
This file contains hidden or 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
| sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common | |
| sudo apt-get build-dep vim-gnome | |
| sudo apt-get install build-essential liblua5.3-0 liblua5.3-dev python-dev ruby-dev libperl-dev libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev | |
| sudo rm -rf /usr/local/share/vim /usr/bin/vim /usr/local/bin/vim | |
| sudo mkdir /usr/include/lua5.3/{include,lib} | |
| sudo cp /usr/include/lua5.3/*.h /usr/include/lua5.3/include/ | |
| sudo ln -sf /usr/lib/x86_64-linux-gnu/liblua5.3.so /usr/include/lua5.3/lib/liblua.so | |
| sudo ln -sf /usr/lib/x86_64-linux-gnu/liblua5.3.a /usr/include/lua5.3/lib/liblua.a | |
| cd /tmp | |
| git clone https://github.com/vim/vim.git |
This file contains hidden or 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
| " allows indentation and syntax highlighting | |
| filetype plugin indent on | |
| syntax enable | |
| " jk for Esc | |
| :imap jk <Esc> | |
This file contains hidden or 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
| var names = ['Fido', 'Rufus', 'Meatyard']; | |
| names.prototype = { | |
| addName: function () { this.push(name) }, | |
| sayNames: function () { this.map(name => { | |
| console.log(name) | |
| }) | |
| } | |
| } |
This file contains hidden or 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
| // use "https://repl.it/languages/nodejs" to run code | |
| var kennel = { | |
| Dog: function(name, breed) { | |
| this.name = name; | |
| this.breed = breed; | |
| } | |
| } | |
| kennel.Dog.prototype = { |
This file contains hidden or 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 python | |
| ''' | |
| SHA FILE/TREE COMPARATOR | |
| takes two args: | |
| file/dir string 1 | |
| file/dir string 2 | |
| compares all files in both locations for SHA checksum matches. | |
| // Only verified working on Darwin Kernel Version 17.3.0 // |
This file contains hidden or 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
| """ | |
| OPEN NOTES AND DOCUMENTATION | |
| allows for opening notes markdown file in editor of choice alongside | |
| documentation in browser | |
| Requirements: | |
| - "notes" directory in path of script | |
| - bash (tested on Darwin Kernel Version 17.3.0) | |
| - Visual Studio Code in PATH as "code" (for current EDITOR_ARGS to work) |
-
Log into your GitHub account in your browser
-
Go to the main repo of the project: https://github.com/CharlesRiverCoderDojo/movie-app-winter-2018
-
Click the Fork icon in the top left corner. The repo will shortly be forked to your account, showing up at an address as follows:
https://github.com/<your_user_name>/movie-app-winter-2018
This file contains hidden or 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
| set mouse=a | |
| set number | |
| set tabstop=4 | |
| set shiftwidth=4 | |
| set expandtab | |
| set colorcolumn=80 | |
| set ambiwidth=double | |
| set background=dark | |
| set encoding=utf8 | |
| set t_Co=256 |
This file contains hidden or 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
| const makeAPromise = () => { | |
| return new Promise( (resolve, reject) => { | |
| const statusCodes = [200, 400] | |
| // simulation of an async AJAX request | |
| setTimeout(() => { | |
| // pick a random status after 3 s | |
| const status = statusCodes[Math.floor(Math.random() * statusCodes.length)] | |
| if (status == 200) { |
OlderNewer