Skip to content

Instantly share code, notes, and snippets.

View sunshine69's full-sized avatar

Steve Kieu sunshine69

  • Sonic healthcare
  • Brisbane, Australia
View GitHub Profile
@sunshine69
sunshine69 / gist:87424c6870c5b693ef0c09613ef6747f
Created February 12, 2021 23:08
tell vim not to remember cursor position for a git commit message
in vimrc
the first section is enable the feature, the last is to auto jump to line 1 if in the git commit message so
if we set EDITOR=vim and run git commit it will always set insertion cursor at line 1
>>>>>
if has("autocmd")
augroup fedora
autocmd!
"...
" When editing a file, always jump to the last cursor position
@sunshine69
sunshine69 / kodi-tool.go
Created December 10, 2019 04:38
kodi tools to play a song or add song into current play list
package main
import (
"regexp"
"flag"
"fmt"
"github.com/pdf/kodirpc"
"github.com/json-iterator/go"
)
@sunshine69
sunshine69 / gist:b87413dec9b791fee80d5a95f1795432
Last active August 26, 2018 12:02
build chromium with widevine for clearlinux
Note how I build chromium with widevine for clearlinux over the weekend
<https://note.inxuanthuy.com/?action=view&id=1563&keyword=clearlinux>
Also kodi as well
<https://note.inxuanthuy.com/?action=view&id=1559>