Creates merge request on Gitlab for you
Download it, add executable perms and place into PATH:
# Place it into ~/.bin
mkdir ~/.bin| #!/bin/sh | |
| # vim: set ft=sh fdm=manual ts=2 sw=2 sts=2 tw=85 et: | |
| # crontab script for auto deploy | |
| # Author: Allex Wang ([email protected]) | |
| # GistID: 75f0772f5f769e9c60b70fc54f55cedc | |
| # GistURL: https://gist.github.com/75f0772f5f769e9c60b70fc54f55cedc | |
| set -eE | |
| set -o pipefail |
| var babelHelpers = {}; | |
| babelHelpers.typeof = | |
| typeof Symbol === "function" && typeof Symbol.iterator === "symbol" | |
| ? function (obj) { | |
| return typeof obj; | |
| } | |
| : function (obj) { | |
| return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype | |
| ? "symbol" |
| " File: jad.vim | |
| " Purpose: Vim plugin for viewing decompiled class files using 'jad' decompiler. | |
| " Ideas: Allow for a default to be set in the vimrc | |
| " - map a keystroke to decompile and edit, or decompile and view in split window | |
| " Date Created: 10-14-2002 | |
| " Last Modified:By allex, 07-31-2009 | |
| " Version: 1.3 | |
| if exists("loaded_jad") || &cp || exists("#BufReadPre#*.class") | |
| finish |
| " vim:foldmethod=marker:tw=75 | |
| " ====================================================================================== | |
| " | |
| " File Name: DevToolkit.vim | |
| " Author: Allex Wang <[email protected]> | |
| " Version: 1.2 | |
| " Description: Toolkit with codes format, compressor for web develop etc,. | |
| " (javascript, java, c#, css) | |
| " | |
| " Last Modified: Sat Mar 23, 2013 10:33PM |
| #!/bin/bash | |
| # bash generate random alphanumeric string | |
| # | |
| # bash generate random 32 character alphanumeric string (upper and lowercase) and | |
| NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
| # bash generate random 32 character alphanumeric string (lowercase only) | |
| cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1 |
| " cVim settings | |
| " GistID: fd87462a5b42e88e5d632b3f0a065cbf | |
| " GistURL: https://gist.github.com/fd87462a5b42e88e5d632b3f0a065cbf | |
| " setting | |
| set smoothscroll | |
| let searchlimit = 30 | |
| let scrollstep = 70 | |
| let barposition = "top" | |
| let mapleader = "," |
| user web; | |
| # One worker process per CPU core. | |
| worker_processes 8; | |
| # Also set | |
| # /etc/security/limits.conf | |
| # web soft nofile 65535 | |
| # web hard nofile 65535 | |
| # /etc/default/nginx |
| #!/bin/sh | |
| # Author: Allex Wang <http://fedor.io/> | |
| # GistID: dcc7d7a27f1c2ea43335d351136b3dcc | |
| # GistURL: https://gist.github.com/dcc7d7a27f1c2ea43335d351136b3dcc | |
| set -eE | |
| [ -f /etc/profile ] && . /etc/profile | |
| [ "$EUID" != "0" ] || { echo >&2 "403"; exit 1; } |
| /** | |
| * Convert a promise to a stream instance. | |
| * | |
| * @author Allex Wang ([email protected]) | |
| * | |
| * MIT Licensed | |
| * | |
| * GistID: 03949e7ce81b740adba9fd31aff9b7c2 | |
| * GistURL: https://gist.github.com/03949e7ce81b740adba9fd31aff9b7c2 | |
| */ |