Skip to content

Instantly share code, notes, and snippets.

View lowstz's full-sized avatar
🐡
专业摸鱼

Aaron Chen lowstz

🐡
专业摸鱼
View GitHub Profile
layout title date comments categories
post
Installing Octopress (Fedora Version)
2012-02-05 06:13
true
fedora linux octopress ruby rvm jekyll rubygems

I (rather obviously) recently found myself attempting to install Octopress. Sure, it has great documentation, but some areas were lacking -- specifically, initial setup. As someone who has not worked with Ruby before other than a rather limited Windows install for a jekyll project, I had virtually no experience installing Ruby, using RVM, or even playing with RubyGems.

@lowstz
lowstz / auto-ovpn.sh
Created February 8, 2012 15:22 — forked from xream/MacVPN.sh
Linux openvpn auto reconnect script
#!/bin/bash
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
### Thanks Xream's Work XD
# if you don't have several vpn servers to select, you can comment following line
# and use your openvpn config file name to replace "${host}.ovpn" in while loop.
read -p "Select the host: " host
#!/bin/sh
# file: /root/check_3g_network.sh
LOGGER_TAG="3g_network_check"
ping -c 5 www.baidu.com > /dev/null
if [ $? -eq 0 ]; then
logger -t LOGGER_TAG "3g network is connection."
#!/bin/bash
#title :wildfly-install.sh
#description :The script to install Wildfly 8.x
#more :http://sukharevd.net/wildfly-8-installation.html
#author :Dmitriy Sukharev
#date :20140601
#usage :/bin/bash wildfly-install.sh
WILDFLY_VERSION=8.1.0.Final
WILDFLY_FILENAME=wildfly-$WILDFLY_VERSION