原创 Windows配置Vim和vundle

參考https://github.com/VundleVim/Vundle.vim#quick-start 步驟:https://github.com/VundleVim/Vundle.vim/wiki/Vundle-for-Window

原创 How To Set Up a Firewall Using FirewallD on CentOS 7

From https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-7 Introduction

原创 Unable to use IntelliJ IDEA keyboard shortcuts on Ubuntu

[From]http://askubuntu.com/questions/412046/unable-to-use-intellij-idea-keyboard-shortcuts-on-ubuntu As a bit of readi

原创 npm 設置proxy

Open a Command Prompt Window (start -> run -> type cmd) 1. C:\> cd C:\Users\youruserName 2. C:\Users\youruserName> npm

原创 What is difference between Vim's clipboard “unnamed” and “unnamedplus” settings?

http://stackoverflow.com/questions/30691466/what-is-difference-between-vims-clipboard-unnamed-and-unnamedplus-settings

原创 Ubuntu 16.04, yank vim buffer content to system clipboard

https://stackoverflow.com/questions/10101488/cut-to-the-system-clipboard-from-vim-on-ubuntu Your version of Vim doesn’

原创 Android Test(未完工)

測試類型 Local unit tests Local unit tests的代碼應該寫在:module-name/src/test/java/。Local unit tests運行在本機的JVM(Java Virtual Machine

原创 在Ubuntu 14.10中借用Windows的字體

原文:http://www.blogjava.net/youxia/archive/2015/01/17/linux005.html 在前一篇隨筆中,我詳細討論了字體的分類及用途,也以Fedora 20爲例,展示了字體配置的思路和方法。

原创 在沒有root的手機上直接查看sqlite數據庫內容

android studio :用debug運行app。 terminal: adb shell run-as com.example.app.(app的package名) cd databases ls sqlite3 xxx.d

原创 Ubuntu 15.10自動掛載ext4分區

查看/etc/fstab UUID=990fd13e-a0b9-40fe-af7b-3b636383d765 / ext4 errors=remount-ro 0 1 # /home was

原创 Sublime Text 常用設置

常用命令 安裝package control https://packagecontrol.io/installation,上面有說明,安裝完需要重啓sublime。 重啓後,ctrl+shift+p,輸入ctrl + shift +

原创 Windows下git log顯示的註釋是亂碼

OS:windows 10 Git:git version 2.8.3.windows.1 以前版本的git沒發現問題,升級到git2.8.3後,git log,顯示的log裏面中文是亂碼。 解決 在git bash的標題右鍵–》op

原创 Android Studio 小技巧

自動導入java包 shortcut:ctrl+shift+a(Find Action),輸入auto import: find the following and turn on it:Auto import:java:Add unim

原创 Android http請求

HttpUrlConnection VS HttpClient 官方推薦HttpUrlConnection 標準訪問 http://developer.android.com/training/basics/network-ops/con

原创 CSS:display基本介紹

from:https://courses.edx.org/courses/course-v1:W3Cx+HTML5.0x+2T_2016/courseware/306cfa0313a449a29b2dbcb0b2afcb86/1fe35e