Skip to content

Instantly share code, notes, and snippets.

View blackbing's full-sized avatar
💭
I want play a game

Bingo Yang blackbing

💭
I want play a game
View GitHub Profile
@blackbing
blackbing / index.html
Created February 20, 2014 02:53
A Pen by Bingo Yang.
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" itemprop>
<ul>
<li class="section-selector">
<div class="s-half-h b-block"><i class="glyphicon glyphicon-home"></i></div>
<div class="s-half-h hpanel">
<div class="s-half-v b-block s-main">
<i class="glyphicon glyphicon-home"></i>
</div>
# {{{ vim-keys.conf
# $Id: vim-keys.conf,v 1.2 2010/09/18 09:36:15 nicm Exp $
#
# vim-keys.conf, v1.2 2010/09/12
#
# By Daniel Thau. Public domain.
#
# This configuration file binds many vi- and vim-like bindings to the
# appropriate tmux key bindings. Note that for many key bindings there is no
# tmux analogue. This is intended for tmux 1.3, which handles pane selection
@blackbing
blackbing / updateROM.sh
Created November 4, 2013 10:10
HTC android ROM
adb reboot-bootloader
fastboot oem rebootRUU
fastboot flash zip FilePath
@blackbing
blackbing / .vimrc
Last active October 31, 2016 11:09
upgrade Vundle
call plug#begin('~/.vim/plugged')
" let Vundle manage Vundle
Plug 'gmarik/Vundle.vim'
Plug 'vim-scripts/Align'
Plug 'mattn/emmet-vim'
" Plug 'vim-scripts/jslint.vim'
" Plug 'cakebaker/scss-syntax.vim'
Plug 'nginx.vim'
" Plug 'tir_black'
"Plug 'othree/html5.vim'
@blackbing
blackbing / datetime_path.cmd
Created October 11, 2012 04:10
auto organize photo by datetime(Windows command)
"exiftool(-k)" -d %%Y-%%m-%%d "-directory<createdate" *.jpg
@blackbing
blackbing / map.coffee
Created December 5, 2011 08:30
map test
Map = ->
map
markerData = undefined
markers
_routes
init = ->
myOptions =
zoom: 8
center: new google.maps.LatLng(24.518389, 121.528015)
mapTypeId: google.maps.MapTypeId.ROADMAP
@blackbing
blackbing / LICENSE.txt
Created November 28, 2011 07:11 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@blackbing
blackbing / big5_stroke.tab
Created August 17, 2011 06:34
為了解決中文筆劃排序的問題(只適用繁體中文)
1 a440 a441
2 a442 a453
3 a454 a47e
4 a4a1 a4fd
5 a4fe a5df
6 a5e0 a6e9
7 a6ea a8c2
8 a8c3 ab44
9 ab45 adbb
10 adbc b0ad
@blackbing
blackbing / jq.dectectBrowserVersion.js
Created January 24, 2011 10:17
an easy plugin to check the browser version and you can also use callback to block these kind of old fashion browser or do anything else
/*
* author: blackbing@gamil.com
* version: 0.1
* date: 2011/01/24
* description: I am confused by browser version detection. What I need is blocking the browsers which are ie6/ie7/ff3 , however, I can't easily detect browser version. Cause I got the version which is like that "6.0.2900.5512.xpsp_sp3_gdr.100427-1636".
so I write an easy plugin to check the browser version and you can also use callback to block these kind of old fashion browser or do anything else.
For example:
$.dectectBrowserVersion({
filter: {