Use Bash
to expand the brace. If you don't like this,
you may look at more professional way at https://gist.github.com/ewoodh2o/3829405
This method invokes a system call to ask Bash to expand.
FIXME: This is not secure!!!
class String
1/ Switch to root account and make sure that I am using sytem Ruby | |
$ rvm info | |
1.8: | |
system: | |
uname: "Linux icy 2.6.39-ARCH #1 SMP PREEMPT Mon Jun 27 22:01:13 CEST 2011 i686 Genuine Intel(R) CPU U2700 @ 1.30GHz GenuineIntel GNU/Linux" | |
bash: "/bin/bash => GNU bash, version 4.2.10(2)-release (i686-pc-linux-gnu)" | |
zsh: "/bin/zsh => zsh 4.3.12 (i686-pc-linux-gnu)" | |
rvm: | |
version: "rvm 1.5.2 by Wayne E. Seguin ([email protected]) [http://rvm.beginrescueend.com/]" |
#!/bin/bash | |
# Purpose: | |
# See how nginx loads/includes its configuration files | |
# Very useful to detect quickly where there errors come from. | |
# Author : Anh K. Huynh | |
# Date : 2015 Aug 14th | |
# License: MIT | |
# Notes : | |
# Some system has a different level. Here it's 3. |
Use Bash
to expand the brace. If you don't like this,
you may look at more professional way at https://gist.github.com/ewoodh2o/3829405
This method invokes a system call to ask Bash to expand.
FIXME: This is not secure!!!
class String
YourTrelloKey
with this hash.YourTrelloToken
with this looong hash.#!/bin/bash | |
# Purpose : Wrapper for xfce4-screenshooter | |
# Author : Ky-Anh Huynh | |
# License : Public domain | |
# Date : 2017-Aug-23rd | |
# See also https://www.gtk.org/api/2.6/glib/glib-Miscellaneous-Utility-Functions.html#g-get-tmp-dir | |
export TMPDIR=$HOME/df/ss/ |
#!/bin/bash | |
# | |
# AfterShot Pro startup script | |
# make symlinks to this script anywhere in your $PATH | |
# See also : http://forum.corel.com/EN/viewtopic.php?f=94&t=57338 | |
FindPath() | |
{ | |
if [ "`readlink "$0"`" = "" ]; then | |
pushd $(dirname "$0") >/dev/null |
#!/bin/bash | |
# | |
# AfterShot Pro startup script | |
# make symlinks to this script anywhere in your $PATH | |
# See also: http://forum.corel.com/EN/viewtopic.php?f=94&t=57338 | |
FindPath() | |
{ | |
if [ "`readlink "$0"`" = "" ]; then | |
pushd $(dirname "$0") >/dev/null |
# https://stackoverflow.com/questions/10712679/flatten-a-nested-json-object | |
# My Fixes | |
# | |
# Input: {"twitter":{"aliases":{"twitter_alias":{}}}} | |
# Old Ouput: {} | |
# New Input: twitter.aliases.twitter_alias: <EMPTY> | |
# | |
module Enumerable | |
def flatten_with_path(parent_prefix = nil) | |
res = {} |
#!/bin/bash | |
# Purpose: Test if a domain was registered | |
# Author: KyAnh <[email protected]> | |
# License: GPL v2 | |
# Home: http://viettug.org/wiki/fs/whoisvn | |
# Source: http://github.com/icy/whoisvn | |
# default suffixes | |
WHOISVN_SUFFIX=${WHOISVN_SUFFIX:-com net org info edu biz} |
root@admin2:/home/softethervpn/dockerfiles# git diff | |
diff --git a/copyables/build.sh b/copyables/build.sh | |
index 3b3a203..f188ee6 100644 | |
--- a/copyables/build.sh | |
+++ b/copyables/build.sh | |
@@ -7,7 +7,9 @@ yum -y update \ | |
&& yum -y groupinstall "Development Tools" \ | |
&& yum -y install readline-devel ncurses-devel openssl-devel iptables | |
-git clone --depth 1 https://github.com/SoftEtherVPN/SoftEtherVPN.git /usr/local/src/vpnserver |