Use this command to generate installed extenstions:
code --list-extensions | xargs -L 1 echo code --install-extension > my_extensions.shThis command, will generate file named my_extensions.sh with currently installed extentions on your vscode.
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "log" | |
| "net/url" | |
| "os" | |
| "strings" | |
| "time" |
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "os" | |
| "time" | |
| "github.com/mdp/qrterminal" | |
| "github.com/skip2/go-qrcode" |
| sublime text 3 basic setup: | |
| =========================== | |
| 1 - install sublime text 3 | |
| 2 - install packagecontrol.io/installation | |
| 3 - install packages: Gofmt, Golang Build, sidebarenhancements, Materialized CSS Snippets, jquery, | |
| Standard Format,CSS Media Query Snippets, Shell Exec,Terminal, Live Reload, git, HTMLAttributes | |
| Sass,LESS, Color Picker, JsFormat, HTML-CSS-JS Prettify, All Autocomplete, Sublime Linter-jshint, | |
| Babel, JavaScriptNext - ES6 Syntax, AdvancedNewFile, DocBlockr, Dockerfile Syntax Highlighting, | |
| Laravel Blade Highlighter, PHPCompanion, Vuetify, ClangAutoComplete, EasyClangComplete | |
| -- Open Shell Exec: Linux: ctrl + shift + c , Mac: shift + super + c |
| [ | |
| // file location: ~/Library/Application Support/Sublime Text 3/Packages/User/Default (OSX).sublime-keymap | |
| //console.log() keybinding for sublime text 3 | |
| {"keys": ["ctrl+c"], "command": "insert_snippet", | |
| "args" : { | |
| "contents": "console.log(${1:}$SELECTION);${0}" | |
| } | |
| } | |
| ] |
| # /bin/bash | |
| # make sure this file has execution permission to run (do NOT use sudo: | |
| # $ chmod +x vim_installer.sh | |
| # $ ./vim_installer.sh | |
| # ===================================================================== | |
| # install git | |
| echo "======== VIM INSTALLER ========" | |
| echo "MAKE SURE YOU HAVE GIT INSTALLED!" | |
| echo "Then press any key to continue..." |
| " Vim color file | |
| " | |
| " Author: Tomas Restrepo <tomas@winterdom.com> | |
| " https://github.com/tomasr/molokai | |
| " | |
| " Note: Based on the Monokai theme for TextMate | |
| " by Wimer Hazenberg and its darker variant | |
| " by Hamish Stuart Macpherson | |
| " |
| syntax on | |
| set t_Co=256 | |
| set t_ut= | |
| colorscheme molokai | |
| filetype off | |
| filetype plugin indent on | |
| set expandtab | |
| set tabstop=4 | |
| set softtabstop=4 | |
| set shiftwidth=4 |
| # Assume we are in your home directory | |
| cd ~/ | |
| # Clone the repo from GitLab using the `--mirror` option | |
| $ git clone --mirror git@your-gitlab-site.com:mario/my-repo.git | |
| # Change into newly created repo directory | |
| $ cd ~/my-repo.git | |
| # Push to GitHub using the `--mirror` option. The `--no-verify` option skips any hooks. |