Skip to content

Instantly share code, notes, and snippets.

View mojtabamarashee's full-sized avatar

seyed mojtaba marashi mojtabamarashee

View GitHub Profile
<link href="https://cdn.rawgit.com/Killercodes/281792c423a4fe5544d9a8d36a4430f2/raw/36c2eb3e0c44133880485a143717bda9d180f2c1/GistDarkCode.css" rel="stylesheet" type="text/css">
mkdir gradle
cd gradle
/usr/share/android-sdk/tools/android create project -p . -a MainActivity -k com.domain.myproject -t android-21 -g -v 0.12.+
<link href="https://cdn.rawgit.com/Killercodes/281792c423a4fe5544d9a8d36a4430f2/raw/36c2eb3e0c44133880485a143717bda9d180f2c1/GistDarkCode.css" rel="stylesheet" type="text/css">
mkdir gradle
cd gradle
/usr/share/android-sdk/tools/android create project -p . -a MainActivity -k com.domain.myproject -t android-21 -g -v 0.12.+
<link href="https://cdn.rawgit.com/Killercodes/281792c423a4fe5544d9a8d36a4430f2/raw/36c2eb3e0c44133880485a143717bda9d180f2c1/GistDarkCode.css" rel="stylesheet" type="text/css">
mkdir gradle
cd gradle
/usr/share/android-sdk/tools/android create project -p . -a MainActivity -k com.domain.myproject -t android-21 -g -v 0.12.+
<link href="https://cdn.rawgit.com/Killercodes/281792c423a4fe5544d9a8d36a4430f2/raw/36c2eb3e0c44133880485a143717bda9d180f2c1/GistDarkCode.css" rel="stylesheet" type="text/css">
mkdir gradle
cd gradle
/usr/share/android-sdk/tools/android create project -p . -a MainActivity -k com.domain.myproject -t android-21 -g -v 0.12.+
keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000
@mojtabamarashee
mojtabamarashee / gist:d471fc74a00323e966939a811823dc8d
Last active March 8, 2018 07:59
Vim: jump to last saved file, even if the file is closed
au BufWrite * call BufWriteDo()
function! BufWriteDo()
let g:LAST_INSERT_FILE = expand('%:p')
let g:CURSOR_POS = getpos('.')
endfunction
nmap gii :execute "O ".g:LAST_INSERT_FILE<cr>:call cursor(CURSOR_POS[1], CURSOR_POS[2])<cr>
@mojtabamarashee
mojtabamarashee / index.html
Last active February 23, 2017 10:55
test
ss
ddd