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
| // Create a new task | |
| // In Settings > Startup set it up as 'Specified named task' | |
| // Task: Powershell and Git Bash as Administrator | |
| powershell.exe -new_console:a | |
| "%ConEmuDrive%\Program Files\Git\git-cmd.exe" --no-cd --command=usr/bin/bash.exe -l -i -new_console:sa | |
| // Task parameters can be entered to for instance locate to a specific path | |
| /dir "C:\123\frontendprototype" |
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
| // | |
| // 1. Check if SSH already exists | |
| type %userprofile%\.ssh\id_rsa.pub // Windows command line | |
| cat ~/.ssh/id_rsa.pub // GNU/Linux/Mac/PowerShell: | |
| // 2. Generating new ssh key | |
| ssh-keygen -t rsa -b 4096 -C "your_email@example.com" // or | |
| ssh-keygen -t rsa -C "gaboratorium@gmail.com" |
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
| TypeScript | |
| Git | |
| Markdown Preview | |
| Emmet | |
| JSONlint | |
| Afterglow Theme | |
| BracketHighlighter | |
| SublimeCodeIntel | |
| ColorPicker |
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
| jshint, | |
| Afterglow Remastered, | |
| vscode-icons, | |
| Guides | |
| jshint | |
| Lodash Snippets | |
| Prettify JSON | |
| TypeScript Hero |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <key name="Software"> | |
| <key name="ConEmu"> | |
| <key name=".Vanilla" modified="2016-11-24 13:44:52" build="160914"> | |
| <value name="StartType" type="hex" data="02"/> | |
| <value name="CmdLine" type="string" data=""/> | |
| <value name="StartTasksFile" type="string" data=""/> | |
| <value name="StartTasksName" type="string" data="{Shell: PowerShell + Git bash}"/> | |
| <value name="StartFarFolders" type="hex" data="00"/> | |
| <value name="StartFarEditors" type="hex" data="00"/> |
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
| // Place your key bindings in this file to overwrite the defaults | |
| [{ | |
| "key": "ctrl+l", | |
| "command": "expandLineSelection", | |
| "when": "editorTextFocus" | |
| } | |
| ,{ | |
| "key": "ctrl+shift+d", | |
| "command": "editor.action.copyLinesDownAction", | |
| "when": "editorTextFocus" |
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
| // Forked from https://codepen.io/gapcode/pen/vEJNZN | |
| // Get IE or Edge browser version | |
| var version = detectIE(); | |
| if (version === false) { | |
| document.getElementById('result').innerHTML = '<s>IE/Edge</s>'; | |
| } else if (version >= 12) { | |
| document.getElementById('result').innerHTML = 'Edge ' + version; | |
| } else { |
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
Show hidden characters
| { | |
| "compilerOptions": { | |
| "target": "es5", | |
| "module": "commonjs", | |
| "allowJs": false, | |
| "allowUnreachableCode": false, | |
| "noFallthroughCasesInSwitch": true, | |
| "noImplicitReturns": true, | |
| "noImplicitThis": true, | |
| "alwaysStrict": true, |
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
| final String json = "{ username: 'Han Solo', password: 'jabbawockeez'}"; | |
| final Gson gson = new GsonBuilder().create(); | |
| final Person han = gson.fromJson(json, new TypeToken<Person>(){}.getType()); |
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
| git rm --cached /path/to/file |