Skip to content

Instantly share code, notes, and snippets.

View wangqiang8511's full-sized avatar

WANG QIANG wangqiang8511

  • VentiTechnologies
  • Singapore
View GitHub Profile
#!/usr/bin/env sh
# Personal dev env setup script
setup_python () {
apt-get install -y python-dev python-pip
pip install virtualenv
}
# Setup vim
setup_vim () {
# Path to your oh-my-zsh installation.
export ZSH=~/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="agnoster"
# Uncomment the following line to use case-sensitive completion.
# ===============================================================
# File: $HOME/.screenrc
# Available: http://www.guckes.net/setup/screenrc
# Purpose: Setup file for program "(GNU) screen"
# written by: Sven Guckes setup-screenrc(at)guckes.net
# Latest change: Mon Nov 03 05:30:00 CET 2003
# Latest user version: screen-4.0.1 [2003-09-18]
# Latest dev version: screen-4.0.0beta2 [2003-08-28]
# Length and size: 700+ lines and 26K bytes
# ===============================================================
@wangqiang8511
wangqiang8511 / .vimrc
Last active August 29, 2015 14:22
vim_neobundle_setup
"NeoBundle Scripts-----------------------------
if has('vim_starting')
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath+=~/.vim/bundle/neobundle.vim/
endif
#!/bin/bash
# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
We couldn’t find that file to show.
We couldn’t find that file to show.
@wangqiang8511
wangqiang8511 / hdp22-multinode-razer-simple.json
Last active August 29, 2015 14:12
Blueprint for hdp2.2
{
"configurations": [
{
"nagios-env": {
"nagios_contact": "qiang.wang@razerzone.com"
}
},
{
"hive-site": {
"javax.jdo.option.ConnectionUserName": "hive",
@wangqiang8511
wangqiang8511 / kibana_cortex_dashboard
Created December 22, 2014 02:58
Dashboard for cortex install statistics
{
"title": "CortextInstall Dashboard",
"services": {
"query": {
"list": {
"5": {
"id": 5,
"color": "#1F78C1",
"alias": "",
"pin": true,
@wangqiang8511
wangqiang8511 / kibana_aws_cloudwatch
Last active August 29, 2015 14:11
Kibana portal for aws infra cloudwatch monitoring
{
"title": "AWS Infra Monitoring",
"services": {
"query": {
"list": {
"0": {
"query": "name:writelatency",
"alias": "",
"color": "#7EB26D",
"id": 0,