Skip to content

Instantly share code, notes, and snippets.

View bnikkhoo's full-sized avatar

Babak Nikkhoo bnikkhoo

View GitHub Profile
@bnikkhoo
bnikkhoo / kodi.txt
Last active September 22, 2017 18:51
Kodi setup instructions
Kodi
https://kodi.tv/download/
On Firestick:
- download ES File Explorer
- create new favorite: https:\\kodi.tv\download
- select latest ARM build
- Kodi Filemanager add source: http://mediarepos.net/kodistuff
- install add-on from repository
- select Exodus add-on
@bnikkhoo
bnikkhoo / Vim_Commands.txt
Last active August 10, 2017 20:51
VIM Cheat Sheet
#Move:
j, k, h, l - up, down, left, right
b - back + shift
w - word + shift
e - end of the word
$,0,^
{} - paragraph
f - find the word
F - find the word backwards
t, T - find and put the cursor before
@bnikkhoo
bnikkhoo / patch-edid.rb
Created August 10, 2017 19:44 — forked from grokcodile/patch-edid.rb
Force RGB Mode to Improve Ultra-wide Monitor Display Quality on Mac OS X El Capitan 10.11
#!/usr/bin/ruby
# Create display override file to force Mac OS X to use RGB mode for Display
# see http://embdev.net/topic/284710
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten