cd /tmp
# 编译环境准备&安装依赖包
apt-get install --no-install-recommends build-essential autoconf libtool libssl-dev libpcre3-dev asciidoc xmlto git
# 克隆源码
git clone --recursive https://github.com/shadowsocks/shadowsocks-libev.git
# 开始编译
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
[user] | |
name = Pavan Kumar Sunkara | |
email = pavan.sss1991@gmail.com | |
username = pksunkara | |
[init] | |
defaultBranch = master | |
[core] | |
editor = nvim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta |
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
#!/bin/bash | |
if [ $# -lt 3 ]; then | |
echo "Usage: maven-deploy-file groupId artifactId version [packaging] [repository]" | |
exit 1 | |
fi | |
GROUP=$1 | |
ARTIFACT=$2 | |
VERSION=$3 |
In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
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
#!/bin/sh | |
# Reference: http://roboojack.blogspot.in/2014/12/bulk-upload-your-local-maven-artifacts.html | |
if [ "$#" -ne 3 ] || ! [ -d "$1" ]; then | |
echo "Usage:" | |
echo " bash run.sh <repoRootFolder> <repositoryId> <repositoryUrl>" | |
echo "" | |
echo "" | |
echo " Where..." |
StackEdit GitHub Page : https://github.com/benweet/stackedit
Debian 8 (12/05/2016)
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
#!/bin/bash | |
## TODO: | |
# Figure out how to get nginx file-aio module working (incompatible?) | |
## Get and install tools and dependencies | |
sudo apt-get -y install build-essential zlib1g-dev libpcre3 libpcre3-dev libbz2-dev | |
## Get installed OpenSSL version | |
# Use `whereis openssl` to check if installed first |