Note: Unix-like systems only.
- Export your extensions to a shell file:
code --list-extensions | sed -e 's/^/code --install-extension /' > my_vscode_extensions.shNote: Unix-like systems only.
code --list-extensions | sed -e 's/^/code --install-extension /' > my_vscode_extensions.shpygmentize -f rtf FILE | pbcopy(Pasting RTF directly into PowerPoint doesn't work correctly, at least with PowerPoint 2008 — it extends colour spans longer than it should, and sometimes removes line breaks. Going via TextEdit seems to solve the problem.)
| ========================================== ========================================== | |
| TMUX COMMAND WINDOW (TAB) | |
| ========================================== ========================================== | |
| List tmux ls List ^a w | |
| New -s <session> Create ^a c | |
| Attach att -t <session> Rename ^a , <name> | |
| Rename rename-session -t <old> <new> Last ^a l (lower-L) | |
| Kill kill-session -t <session> Close ^a & |
| var ngAppElem = angular.element(document.querySelector('[ng-app],[data-ng-app]') || document); | |
| window.$injector = ngAppElem.injector(); | |
| window.inject = $injector.invoke; | |
| window.$rootScope = ngAppElem.scope(); | |
| // getService('auth') will create a variable `auth` assigned to the service `auth`. | |
| var getService = function getService(serviceName) { | |
| inject([serviceName, function (s) {window[serviceName] = s;}]); | |
| }; |