Environment: Ubuntu Trusty (14.04), Wily (15.10) & Xenial (16.04)
There're 2 steps.
sudo apt install libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev
#!/bin/sh | |
# | |
# shadowsocks - this script starts and stops the shadowsocks daemin | |
# | |
# Downloaded from: | |
# https://gist.github.com/kimw/4a119e12191ac6582109 | |
# | |
### BEGIN INIT INFO | |
# Provides: shadowsocks | |
# Required-Start: $remote_fs $network $named |
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<alias> | |
<family>monospace</family> | |
<prefer><family>PowerlineSymbols</family></prefer> | |
</alias> | |
<alias> | |
<family>Droid Sans Mono</family> |
BoldAsFont=yes | |
Transparency=medium | |
CursorType=block | |
Font=Ubuntu Mono | |
FontHeight=12 | |
AllowBlinking=yes | |
Locale=en_US | |
Charset=UTF-8 | |
Rows=40 |
system started @2016-05-22T00:23:19,343559719-0400 | |
############################################################ | |
# | |
# default shell: bash | |
# | |
# login from console | |
.profile begin by -bash @2016-05-22T00:23:25,471714518-0400 | |
.bashrc begin by -bash @2016-05-22T00:23:25,475846161-0400 |
#!/bin/sh | |
# Reset pantheon-terminal window at specific size and/or position. | |
# | |
# Kim <kimw@users.noreply.github.com>, Wed Oct 5 06:15:46 UTC 2016 | |
# | |
# This script is published in GPLv3. | |
PATH=/bin:/usr/bin |
The package udisks2
is needed.
$ sudo udisksctl power-off -b /dev/sdXX
It's works on Ubuntu.
# file: ~/.ss-ctl.conf | |
# vim: ts=4 sw=4 noet ft=sh | |
# | |
# Config file of ss-ctl | |
# See: https://gist.github.com/kimw/6f30aeddea3e45ad7a282885c8ea5d3f | |
# Multi config files can be seprated by space | |
CONF_FILES="/a/path/to/config/file.json" | |
SS_SERVER_ENABLED=true |
Q: How can I remove a commit on GitHub?
I "accidentally" pushed a commit to GitHub.
Is it possible to remove this commit?
I want to revert my GitHub repository as it was before this commit.
A: