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
| { | |
| "cmd": ["ruby.exe", "$file"], | |
| "selector": "source.ruby", | |
| "working_dir": "$file_dir", | |
| "target": "console_exec" | |
| } | |
| ======================================= |
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
| ; ------------------------------------------------------------------------- | |
| ; Cntr-L should clear screen | |
| ; ------------------------------------------------------------------------- | |
| #IfWinActive ahk_class ConsoleWindowClass | |
| ^L:: | |
| Send cls{Enter} | |
| return | |
| #IfWinActive |
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
| type nul >> .filenm |
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
| import scala.collection.JavaConversions._ | |
| // you can write to stdout for debugging purposes, e.g. | |
| // println("this is a debug message") | |
| object Solution { | |
| def solution(N: Int): Int = { | |
| val bin1 = N.toBinaryString | |
| println(bin1) |
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
| # you can write to stdout for debugging purposes, e.g. | |
| # print "this is a debug message" | |
| def solution(inputNum): | |
| # write your code in Python 2.7 | |
| powOfTwoVal = 1 | |
| powOfTwoCnt = 0 | |
| prevPowOfTwoCnt = 0 | |
| binaryZeroCnt = 0 | |
| while inputNum != 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
| https://repogen.simplylinux.ch/ |
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
| I’m assuming you already have Groovy’s GVM installed locally already. | |
| Download the installation script for Go locally. You’ll want to edit it to change the installation directory: | |
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| BRANCH=${1:-master} | |
| GVM_DEST=${2:-$HOME} |
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
| #THIS MUST BE PRESENT FOR Go GVM TO WORK!!! | |
| unalias gvm | |
| [[ -s "/home/rsrini/.gvm/scripts/gvm" ]] && source "/home/rsrini/.gvm/scripts/gvm" | |
| gvm use go1.4 > /dev/null #This must present after giving gvm install go1.4 command. |
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
| bintrayRepositories = [ | |
| "pledbrook/lazybones-templates", | |
| "griffon/griffon-lazybones-templates", | |
| "kdabir/templates", | |
| "kyleboon/lazybones", | |
| "kurron/lazybones", | |
| "svene/lazybones", | |
| "opendolphin/lazybones-templates", | |
| "farrukh/lazybones-templates", | |
| "jacobaseverson/lazybones-templates", |
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
| @echo off | |
| SET st3Path=C:\Program Files\Sublime Text 3\sublime_text.exe | |
| rem add it for all file types | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f | |
| rem add it for folders | |
| @reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f |