This file contains 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
case $yno in | |
[yY] | [yY][Ee][Ss] ) | |
echo "Agreed" | |
;; | |
[nN] | [n|N][O|o] ) | |
echo "Not agreed, you can't proceed the installation"; | |
exit 1 | |
;; |
This file contains 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
map(array, function, otherparams*) | |
{ | |
if (function.name == "") | |
function := Func(function) | |
returnarray := [] | |
For index, value in array | |
returnarray[index] := function.(value, otherparams*) | |
return returnarray | |
} |
This file contains 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
{ | |
"color_scheme": "Packages/RailsCasts Colour Scheme/RailsCastsColorScheme.tmTheme", | |
"detect_indentation": false, | |
"ensure_newline_at_eof_on_save": true, | |
"font_face": "Inconsolata", | |
"font_size": 16, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], |
This file contains 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
tell application "Xcode" | |
activate | |
--display dialog "window1: " & (get name of window 0) | |
set CurrentActiveDocument to document 1 whose name ends with (word -1 of (get name of window 1)) | |
set WhatYouWant to path of CurrentActiveDocument | |
end tell | |
tell application "Sublime Text 3" | |
activate (open WhatYouWant) | |
end tell |
This file contains 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
except IOError: | |
## Probably a broken symlink | |
f = None # Instead of pass | |
finally: | |
self.file_counter.increment() | |
if f is not None: | |
f.close() |
NewerOlder