Skip to content

Instantly share code, notes, and snippets.

View kairen's full-sized avatar
😇
I may be slow to respond.

Kyle Bai kairen

😇
I may be slow to respond.
View GitHub Profile
@kairen
kairen / ubuntu_agnoster_install.md
Created March 17, 2017 13:00 — forked from renshuki/ubuntu_agnoster_install.md
Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme

Install Terminator (shell)

sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator

Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").

Install ZSH

#!/usr/bin/env python3
#
# Dumb script to dump (some) of bcache status
# Copyright 2013 Darrick J. Wong. All rights reserved.
#
# This file is part of Bcache. Bcache is free software: you can
# redistribute it and/or modify it under the terms of the GNU General Public
# License as published by the Free Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
@kairen
kairen / radosgw-s3-admin
Last active December 13, 2018 05:12
radosgw-admin-api
#!/usr/bin/env python
import sys
import requests
import json
import argparse
from awsauth import S3Auth
aws_key = 'ACCESS_KEY'
secret = 'SECRET_KEY'