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
# A list of handy alises I use daily | |
# template (e.g echo the first parameter) | |
test = "!f(){ echo ${1}; };f" | |
[alias] | |
# Open alises file | |
alises = "!f() { code ~/.gitconfig; };f" | |
# Show all branches | |
br = branch -l |
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
function TransitionColor(displayObj, params) | |
if(params and params.startColor and params.endColor) then | |
local length = params.time or 300 | |
local startTime = system.getTimer() | |
local easingFunc = params.transition or easing.linear | |
local function colorInterpolate(a,b,i,t) | |
colourTable = { | |
easingFunc(i,t,a[1],b[1]-a[1]), |