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
/* | |
* Used to display information regarding an assessment in the UI. | |
*/ | |
export interface IAssessmentOverview { | |
category: AssessmentCategory | |
closeAt: string | |
coverImage: string | |
id: number | |
maximumEXP: number | |
openAt: string |
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
' Subroutines are run directly as macros (think of it as a main function) | |
Sub subroutine | |
' Do things here | |
Range("A1").Value = 5 | |
End sub | |
' Declaring variables. Saves memory, recommended way. | |
Dim i as Integer | |
i = 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
[:s, recompile(), :dogg] |
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
function plus_one(x) { | |
return x + 1; | |
} | |
function twice(f) { | |
return function(x) { | |
return f(f(x)); | |
}; | |
} |
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
export TERM=xterm-256color | |
export CLICOLOR=1 | |
export GREP_OPTIONS='--color=auto' | |
function github() { | |
#call from a local repo to open the repository on github in browser | |
giturl=$(git config --get remote.origin.url) | |
if [ "$giturl" == "" ] | |
then | |
echo "Not a git repository or no remote.origin.url set" |