This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
jarsigner -keystore %HOMEPATH%\.android\debug.keystore -storepass android -keypass android -digestalg SHA1 -sigalg MD5withRSA -signedjar %1-signed.apk %1.apk androiddebugkey |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"be iMproved | |
set nocompatible | |
filetype off "required by vundle | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'scrooloose/nerdcommenter' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! python | |
""" | |
TextCommand: | |
insert_timetamp | |
EventListener: | |
on_pre_save: update_timestamp | |
""" | |
import datetime | |
import sublime | |
import sublime_plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static int UTF16len(unsigned short *utf16) | |
{ | |
unsigned short * start = utf16; | |
while(*utf16++) ; | |
return (int)(utf16 - start - 1); | |
} | |
size_t __UTF16toUTF8(const unsigned short utf16char, char* utf8str) { | |
if (utf16char < 0x80) { | |
utf8str[0] = (utf16char >> 0 & 0x7F) | 0x00; |