View mdbm.quicksetup.rhel6BaseDistros.sh
#!/usr/bin/env bash
set -e
#####
# MDBM workspace quick-setup helper
#####
GARAGE_BASEDIR="/tmp/mdbm-garage"
MDBM_BASEDIRNAME="github-yahoo-mdbm"
MDBM_GITURI="https://github.com/yahoo/mdbm"
View tcp_client.go
package main
import (
"fmt"
"io/ioutil"
"net"
"os"
)
const (
View md2html.sh
#!/usr/bin/env bash
# Download HTML converted from provided Markdown, using GitHub API v3
##
md2html(){
if [[ $# -ne 2 ]]; then
echo "ERROR.\nSYNTAX: Markdown_To_HTML <markdown-filepath> <dest-html-filepath>"
return
fi
unset _markdown_filepath
View just-delay.js
// dumb non-jquery delay for quick offline tryouts
function delay(milliseconds) {
var _start = new Date().getTime();
for (;;) {
var _now = new Date().getTime();
if ((_now - _start) > milliseconds){
break;
}
}
View README.md

Use of each:

  • notepad : is a bit tweaked console-color notepad available in browser via bookmark

  • markdown-editor-need-www : live-preview markdown editor; does GET 2 Markdown JS files online

  • live-preview-markdown-editor-offline : will give a pure offline live-preview markdown editor

These will work directly by copy/pasting the content in Browser URL and pressing "Enter". Then you can bookmark it on render with proper name and use whenever want.

View get-python-pip-venv.sh
#!/usr/bin/env bash
export LANGUAGE="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
export LC_CTYPE="UTF-8"
export LANG="en_US.UTF-8"
##### Var
PIP='pip'
View devstack_neutron_migration.patch
diff --git a/lib/neutron b/lib/neutron
index 465b57c..4a8863f 100644
--- a/lib/neutron
+++ b/lib/neutron
@@ -427,6 +427,10 @@ function init_neutron() {
# install_neutron() - Collect source and prepare
function install_neutron() {
git_clone $NEUTRON_REPO $NEUTRON_DIR $NEUTRON_BRANCH
+ _TMP_PWD=$PWD
+ cd $NEUTRON_DIR
View a.virt.sh
#!/bin/bash
nspawn-ls(){
echo "List of all nspawn instances..."
echo "Archlinux:"
for itm in `sudo ls "/srv/subarch/"`; do
echo $itm
done
echo "********************"
}
View routing-10Head.sh
#!/bin/sh
#
# Configure routing and miscellaneous network tunables; edited by github.com/abhishekkr
#
# $FreeBSD$
#
# PROVIDE: routing
# REQUIRE: faith netif ppp stf
# KEYWORD: nojailvnet
View README.md

Using it

Check for Internet connectivity, get that working.

Then run "pre_arch_chroot.sh" with manual UEFI mods if required. This will ask some confirmations, give it.

And obviously these scripts have my name for 'username', so run following command on both scripts before using.

sed -i 's/abhishekkr/$YOUR_USER_NAME/g' post_arch_chroot.sh