Skip to content

Instantly share code, notes, and snippets.

View remo5000's full-sized avatar
🏠
Working from home

Vignesh remo5000

🏠
Working from home
  • Abnormal Security
  • San Francisco
View GitHub Profile
/*
* 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
@remo5000
remo5000 / VBA-notes
Last active February 6, 2018 12:35
Notes on the QRC VBA course. VBA is pretty useful for doing tedious tasks on excel itself.
' 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
@remo5000
remo5000 / snoopdog.elixir
Last active January 25, 2018 07:28
Snoop Dog in Exlixir, run in an elixir project directory
[:s, recompile(), :dogg]
@remo5000
remo5000 / funky_functions.js
Last active January 8, 2018 05:49
Interesting functions used in an academic functional programming question. Reference for a blog post.
function plus_one(x) {
return x + 1;
}
function twice(f) {
return function(x) {
return f(f(x));
};
}
@remo5000
remo5000 / .zprofile
Created January 1, 2018 11:35
a small but useful part of my zsh profile
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"