I hereby claim:
- I am cooljith91112 on github.
- I am klias (https://keybase.io/klias) on keybase.
- I have a public key ASDXk-d8F5fxHTnmsy4rXzrGYEQENBjYc4sIWqAQMdV_IQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var touchstartX = 0; | |
var touchstartY = 0; | |
var touchendX = 0; | |
var touchendY = 0; | |
var gesuredZone = document.getElementById('gesuredZone'); | |
gesuredZone.addEventListener('touchstart', function(event) { | |
touchstartX = event.screenX; | |
touchstartY = event.screenY; |
I recently switched over to neovim (see my screenshots at the bottom). Below is my updated config file.
It's currently synchronized with my .vimrc
config except for a block of neovim-specific terminal key mappings.
This is still a work in progress (everyone's own config is always a labor of love), but I'm already extremely pleased with how well this is working for me with neovim. While terminal mode isn't enough to make me stop using tmux, it is quite good and I like having it since it simplifies my documentation workflow for yanking terminal output to paste in a markdown buffer.
These days I primarily develop in Go. I'm super thrilled and grateful for fatih/vim-go,
let event; | |
if (document.createEvent) { | |
// IE11 - dispatch event doesn't support Event | |
event = document.createEvent('Event'); | |
event.initEvent('input', true, true); | |
} else { | |
// Chrome | |
event = new Event('input'); | |
} | |
this.el.nativeElement.dispatchEvent(event); |
app.directive('faFastScroll', ['$parse', function ($parse) { | |
var Interval = function(min, max) { | |
this.min = min || 0; | |
this.max = max || 0; | |
}; | |
Interval.prototype.clip = function(min, max) { | |
if(this.max <= min || this.min >= max) { | |
this.min = this.max = 0; |
live_loop :foo do | |
with_fx :echo, mix: 0.3 do | |
sample :elec_tick if spread(2,7).tick | |
pattern1 = (knit :a3, 1, :d3, 1, :g3, 1) | |
pattern2 = (knit :a3, 1, :d3, 1, :g3, 1, :a0, 1) | |
pattern3 = (knit :a3, 1, :d3, 1, :g3, 1, :a5, 1) | |
structure = (knit pattern1, 128, pattern2, 32, pattern3, 32).tick(:structure) |
I was curious about making retro gaming sounds using Sonic Pi. A couple of months and a lot of Googling later, here's the original Mario Bros theme as it was heard on the NES console.
I'm (just about) old enough to remember rushing home from school to play this game at Philip Boucher's house, sitting cross-legged in front of the TV till my feet got pins and needles. Working out how to recreate it for Sonic Pi was a lot of fun!
# Author : Indrajith K L | |
# Title : Baby step to the awesomeness | |
live_loop :nehaneha do | |
sample :ambi_choir, rate: 0.5 | |
sleep 1.5 | |
sample :ambi_choir, rate: 0.3 | |
sleep 1.8 | |
sample :ambi_choir, rate: 0.5 | |
sleep 1.5 | |
end |
.ceil(_.random(1,5, true),2); //Generate Random numbers between 1 & 5 with precision of 2. ex: 4.56 |