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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Author: Ray Chen <oldsharp@gmail.com> | |
# License: Public domain | |
import sys | |
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
Initial commit |
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
proxy configure files example |
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
A collection of handy scripts that help me import tracks from CD images | |
in .WAV(.FLAC, .APE, etc.)/.CUE combination and build my music library. |
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
Capitalization Rules for Song Titles | |
1. The first and last words are always capitalized, and all except the | |
words listed below are capitalized. | |
2. These are lower-case, unless they are the first word or last word. | |
- articles: a, an, the |
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 | |
# | |
# VirtualBox installing script for Oracle Linux 7 ("OL7") | Red Hat | |
# Enterprise Linux 7 ("RHEL7") | CentOS 7. | |
# | |
# Author: Ray Chen <oldsharp@gmail.com> | |
# License: Public Domain | |
# Download the PRM package: | |
wget http://download.virtualbox.org/virtualbox/5.0.12/VirtualBox-5.0-5.0.12_104815_el7-1.x86_64.rpm |
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 | |
# Script to start/stop a hostapd-based access point | |
# | |
# Sample start call "rtl8188eu-ap.sh start wlan0 eth0" | |
# Stop with "rtl8188eu-ap.sh stop" | |
# | |
# Get driver for rtl8188eu: https://github.com/lwfinger/rtl8188eu | |
case "$1" in | |
start) |
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
" A basic Vim configure file without fancy features. | |
" | |
" Author: Ray Chen <oldsharp@gmail.com> | |
" License: Public Domain | |
set nocompatible | |
colorscheme default | |
set number | |
set wrap |
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 | |
# | |
# For GNOME Desktop: Turn Caps-Lock into an extra Ctrl key by changing | |
# the dconf value. | |
# | |
# Author: Ray Chen <oldsharp@gmail.com> | |
# License: Public Domain | |
gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:nocaps']" |
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 | |
# | |
# Construct a Dynamic DNS POST request that matches Google Domains' API. | |
# The final URL format should looks like: | |
# https://username:password@domains.google.com/nic/update?hostname=subdomain.yourdomain.com&myip=1.2.3.4 | |
# See https://support.google.com/domains/answer/6147083 | |
# | |
# Author: Ray Chen <oldsharp@gmail.com> | |
# License: Public Domain |
NewerOlder