start new:
tmux
start new with session name:
tmux new -s myname
| <?php | |
| class Auth extends Laravel\Auth {} | |
| /** | |
| * @method static add(string $name, string $source, array $dependencies = array(), array $attributes = array()) | |
| * @method static string styles() | |
| * @method static string scripts() | |
| */ | |
| class Asset extends Laravel\Asset {} | |
| class Autoloader extends Laravel\Autoloader {} | |
| class Bundle extends Laravel\Bundle {} |
| /* | |
| See dev dependencies https://gist.github.com/isimmons/8927890 | |
| Compiles sass to compressed css with autoprefixing | |
| Compiles coffee to javascript | |
| Livereloads on changes to coffee, sass, and blade templates | |
| Runs PHPUnit tests | |
| Watches sass, coffee, blade, and phpunit | |
| Default tasks sass, coffee, phpunit, watch | |
| */ |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| function WebmailViewModel() { | |
| // Data | |
| var self = this; | |
| self.folders = ['Inbox', 'Archive', 'Sent', 'Spamh']; | |
| self.chosenFolderId = ko.observable(); | |
| self.chosenFolderData = ko.observable(); | |
| self.chosenMailData = ko.observable(); | |
| // Behaviours | |
| self.goToFolder = function(folder) { location.hash = folder }; |
| <div style="display:none" id="amap-container"> | |
| <h3 class="box-header">Map</h3> | |
| <div style="height: 400px; margin-top: 10px;" id="myMap"> | |
| <script type="text/javascript" src="http://webapi.amap.com/maps?v=1.3&key=KEY"></script> | |
| <script type="text/javascript"> | |
| jQuery(document).ready(function () { | |
| var s1 = "LONG"; | |
| var s2 = "LAT"; |
| #coding: utf-8 | |
| from bottle import route, error, post, get, run, static_file, abort, redirect, response, request, template | |
| @route('/') | |
| @route('/index.html') | |
| def index(): | |
| return '<a href="/hello">Go to Hello World page</a>' | |
| @route('/hello') | |
| def hello(): |
| function set_prompt_filter() | |
| -- orig: $E[1;32;40m$P$S{git}{hg}$S$_$E[1;30;40m{lamb}$S$E[0m | |
| -- color codes: "\x1b[1;37;40m" | |
| cwd = clink.get_cwd() | |
| conda_env = get_conda_env() | |
| virtual_env = get_virtual_env() | |
| if virtual_env then | |
| prompt = "\x1b[1;32;40m{cwd} {git}{hg} \n\x1b[1;30;40m({virtual_env}){lamb} \x1b[0m" | |
| new_value = string.gsub(prompt, "{cwd}", cwd) | |
| new_value = string.gsub(new_value, "{virtual_env}", virtual_env) |
| augroup filetype_vim | |
| autocmd! | |
| autocmd FileType vim setlocal foldmethod=marker | |
| augroup END | |
| " Vim ESCAPE Combinations{{{ | |
| imap jj <esc> | |
| imap <S-Space> <Esc> | |
| vnoremap <S-Space> <Esc> | |
| " }}} |
| Severity Code Description Project File Line Suppression State | |
| Error The command ""C:\Users\brian\Documents\Projects\VuforiaHololensExample\App\Unity\Tools\AssemblyConverter.exe" -platform=uap -lock="C:\Users\brian\Documents\Projects\VuforiaHololensExample\App\VuforiaHololensExample\project.lock.json" -bits=32 -configuration=Release -removeDebuggableAttribute=False -path="." -path="..\Players\UAP\x86\Release" "C:\Users\brian\Documents\Projects\VuforiaHololensExample\App\VuforiaHololensExample\Assembly-CSharp.dll" "C:\Users\brian\Documents\Projects\VuforiaHololensExample\App\VuforiaHololensExample\Assembly-CSharp-firstpass.dll" "C:\Users\brian\Documents\Projects\VuforiaHololensExample\App\VuforiaHololensExample\UnityEngine.dll" "C:\Users\brian\Documents\Projects\VuforiaHololensExample\App\VuforiaHololensExample\UnityEngine.UI.dll" "C:\Users\brian\Documents\Projects\VuforiaHololensExample\App\VuforiaHololensExample\UnityEngine.HoloLens.dll" "C:\Users\brian\Documents\Projects\VuforiaHololensExample\App\VuforiaHo |