Gradle Notes
Gradle是一个基于Apache Ant和Apache Maven概念的项目自动化建构工具。它使用一种基于Groovy的特定领域语言来声明项目设置,而不是传统的XML。 当前其支持的语言限于Java、Groovy和Scala,计划未来将支持更多的语言 installInstallGradle Wrapper is recommended. It doesn’t need to install Gradle. reference https://gradle.org/http://blog.jobbole.com/99638/
Read more
Tips for Ubuntu 16.04
Browser to support JavaInstall Firefox 51. The new Firefox and Chrome don’t support Java anymore.Install IcedTea Java Web Start to support Java plugin. Full screen a window1wmctrl -r "Cloud Desktop GCG - Citrix Receiver for Java" -b toggle,fullscreen Switch between multi-desktopCTRL+ALT+ U ...
Read more
Hexo notes
some commands12345hexo cleanhexo new "pagename"hexo ghexo shexo d g - generates - serverd - deploy
Read more
git notes
Adding an existing project to GitHub using the command line Adding an existing project to GitHub using the command line Note: 推荐使用SSH URL,可以不用每次提交都输入密码,需要客户端生成pub/pri key pair,然后通过Web控制台添加pub key到github/setting/SSH and GPG keys中 123456789101112131415$ git init$ git add .# Adds the files in the loca ...
Read more
cmake notes
generate Makefile and related files in a single build folder1234mkdir buildcd buildcmake ..make install cmake on ubuntu12sudo apt-get updatesudo apt-get install cmake
Read more
Docker notes
check node:latest system version123456789101112131415docker run -it --rm \> api \> bashroot@8f56b2965b96:/usr/src/app# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 8 (jessie)"NAME="Debian GNU/Linux"VERSION_ID="8"VERSION="8 (jessie)"ID=debianHOME_URL ...
Read more
How to setup OpenVPN over ssr on gcloud
apply VPC (google cloud compute engine)First, you need to access Google :) Google CloudGoogle Cloud console Click Compute EngineCreate new instance shadowsocks serverRefer to this post PC (install lubuntu on eeepc901)Some notes about lubuntu on eeepc901 shadowsocks clientRefer to this post server si ...
Read more
install lubuntu on eeepc901
How to show GRUB memu if it skipsHold “shift” key after BIOS load. How to edit GRUB parameterSelect a entry and press “e”After edit the parameter, press Ctrl-X or F10 to boot lubuntu Linux can’t display correctly after bootFirst, edit GRUB paramter and delete parameter 1gfxmode $linux_gfx_mode then ...
Read more
Markdown语法示例
参考Markdown 基本语法实验了一些makrdown语法。用hexo解析放到github上。 但不知道为什么有些内容不正确。比如勾选,表格。难道我装的hexo解析有问题? 列表1 列表2 有序列表1 有序列表2 勾选功能(好像不对,不知道是hexo的问题还是别的原因) [ ] no checked [x] checked 代码 12import java.io.*;import mytest.*; 加粗_斜体_斜体加粗 一位伟人曾经说过… 表格 First Header Second Header Third Header Content Cell Conte ...
Read more
Quick Start
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Create a new post1hexo new "My New Post" More info: Writing Run server1hexo server More info: S ...
Read more