Skip to content

Instantly share code, notes, and snippets.

View simlegate's full-sized avatar
🎯
Focusing

Devin Zhang simlegate

🎯
Focusing
  • ChengDu
View GitHub Profile
@simlegate
simlegate / MainActivity.java
Last active April 14, 2021 02:44
something should android do when screen on and screen off .
package com.simlegate.saveresource;
import android.app.Activity;
import android.os.Bundle;
public class MainActivity extends Activity {
public void onCreate(Bundle savedInstanceState) {
@simlegate
simlegate / zshrc
Last active December 17, 2015 00:19
oh my zsh config file
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
# ZSH_THEME="juanghurtado"
ZSH_THEME="gnzh"
@simlegate
simlegate / vimrc
Last active December 16, 2015 08:08
Vim configuration
" 定义
set number
colo desert
set guifont=DejaVu\ Sans\ Mono\ 14
syntax enable
syntax on
set autoindent
"显示当前的行号列号:
set ruler
"在状态栏显示正在输入的命令