Skip to content

Instantly share code, notes, and snippets.

View evanhutomo's full-sized avatar
🐢
be like snapping turtle, they have armor to hide, jaw to attack

Evan Hutomo evanhutomo

🐢
be like snapping turtle, they have armor to hide, jaw to attack
  • Japan - Indonesia
View GitHub Profile
@evanhutomo
evanhutomo / vim_test
Created February 6, 2015 17:13
just vim note
### Few guide using a vim text editor
- - -
*open vi*
`vi
*go to command mode*
`press Esc
*go to editor mode*
@evanhutomo
evanhutomo / colorpicker
Created February 6, 2015 09:14
little mod for color picker from http://vanderlee.github.io/colorpicker/
//because of colorpicker object use catch click event, I use onHover event to get the id's
$('tr.txtMark td input[type=text]').on('hover', function(){
var sID = $(this).attr('id');
$('#' + sID).colorpicker({
title: "Header Background Colour",
dragggable: true,
closeOnOutside: false,
revert: true,
parts: ['header', 'map', 'bar', 'hex', 'preview', 'footer'],