Skip to content

Instantly share code, notes, and snippets.

Avatar
🍭
ONCE

Calvin Bui calvinbui

🍭
ONCE
View GitHub Profile
View atomic-transmission-webui-installer.sh
#!/bin/bash
# Script Name: AtoMiC Transmission WebUI installer
# Author: Anand Subramanian
# Initial Release: June 21, 2014
# Publisher: http://www.htpcBeginner.com
# This program 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; either version 2 of the License, or
# (at your option) any later version.
#
View cf-ddns
#!/usr/bin/env bash
# modified by jfro from http://www.cnysupport.com/index.php/linode-dynamic-dns-ddns-update-script
# Update: changed because the old IP-service wasn't working anymore
# Uses curl to be compatible with machines that don't have wget by default
# modified by Ross Hosman for use with cloudflare.
#
# Place at:
# /usr/local/bin/cf-ddns.sh
# if you're lazy (like me): curl -L https://gist.githubusercontent.com/Mkaysi/15719ff29b1ba29b5bd0/raw/cf-ddns > /usr/local/bin/cf-ddns && nano /usr/local/bin/cf-ddns && chmod 700 /usr/local/bin/cf-ddns
# run `crontab -e` and add next line:
@calvinbui
calvinbui / ubuntu-post-install.sh
Last active Jun 25, 2016
Post Ubuntu Installation
View ubuntu-post-install.sh
#!/bin/bash
# Download from bit.ly/finish-setup
# Check for root
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
@calvinbui
calvinbui / .travis.yml
Last active Apr 12, 2016
Build file for Loadiine
View .travis.yml
language: c
sudo: false
branches:
except:
- /(untagged)/
cache:
apt: true
View OS X macOS Install ISO Creator
#!/bin/bash
################################
# OS X Install ISO Creater #
# #
# Author: shela #
################################
#######################################
# Declarations
View keybase.md

Keybase proof

I hereby claim:

  • I am calvinbui on github.
  • I am calvinbui (https://keybase.io/calvinbui) on keybase.
  • I have a public key whose fingerprint is CD3C 6C92 4DAB B3AE 7B66 6C7A 4C9B 02FB 07AF AA21

To claim this, I am signing this object:

@calvinbui
calvinbui / profile.ps1
Last active Mar 13, 2018
Windows Powershell Profile
View profile.ps1
#——————————————————————————
# PowerShell console profile
# Calvin Bui
# Put at C:\Users\Calvin\Documents\WindowsPowerShell\profile.ps1
# Then run as admin: Set-ExecutionPolicy -ExecutionPolicy Unrestricted
@calvinbui
calvinbui / Remove All User Folders From This PC 64-bit.reg
Created Nov 2, 2017
Remove All User Folders From This PC 64-bit
View Remove All User Folders From This PC 64-bit.reg
Windows Registry Editor Version 5.00
; Remove Desktop From This PC
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
; Remove Documents From This PC
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
@calvinbui
calvinbui / windows-bindings.json
Created Nov 13, 2017
Karabiner Elements Home and End Key except for iTerm2, VIM and Microsoft
View windows-bindings.json
{
"title": "Windows keys",
"rules": [{
"description": "home/end except for iterm2/vim/outlook",
"manipulators": [{
"type": "basic",
"from": {
"key_code": "end"
},
"to": [{
View mpv.conf
###########
# General #
###########
save-position-on-quit
keep-open
#######
# OSD #
#######
title='${path}'
You can’t perform that action at this time.