Skip to content

Instantly share code, notes, and snippets.

Trung trungie

Block or report user

Report or block trungie

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:bd712a64e38a19b51d667ba42b7eda99
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⠉⣉⣉⣉⣉⣉⣉⣉⣉⠉⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⠀⡇⠀⠀⠀⠀⠀⠀⢸⠀⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⡀⢉⡏⠀⠀⠀⠀⠸⡍⢀⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣃⠼⠤⢤⣴⣇⠀⠀⢳⠈⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⠿⠿⣿⡿⢋⣤⠞⢁⢚⠉⢿⡏⢱⡨⣷⠚⢋⣹⡿⣿⡿⣿⣿
⡿⠟⣇⢰⡶⠂⡠⣛⠋⣠⠃⠆⡔⠰⢡⠃⣊⠌⡘⢰⢡⣈⠂⡞⣸⡻
⠰⣶⠿⢋⣠⣾⠃⣇⣐⡹⢒⡶⠗⠒⠒⠓⠒⠒⠶⠾⠶⣶⣶⡾⠟⢡
⣷⣶⣾⣿⣿⡏⢰⠃⢠⣞⣁⣀⡀⢀⡠⠤⡤⠤⠤⣤⠤⣤⣤⣶⣾⣿
⣿⣿⣿⠉⣉⣀⡏⠀⠁⣜⣀⠀⣷⣷⡆⢀⣱⠀⠀⠸⣄⣉⠉⣿⣿⣿
View osxfuse.sh
#!/bin/bash
function status() {
kextstat | grep org.virtualbox.kext > /dev/null 2>&1 ;
vbox=$((1-$?))
kextstat | grep com.github.osxfuse > /dev/null 2>&1 ;
fuse=$((1-$?))
}
status
View keybase.md

Keybase proof

I hereby claim:

  • I am trungie on github.
  • I am trunghoang (https://keybase.io/trunghoang) on keybase.
  • I have a public key ASCnlH5FrfbaKO-T2pGNVSYG2JIs5tTblvNtp8Mizs4xYAo

To claim this, I am signing this object:

View patch-edid.rb
#!/usr/bin/ruby
# Create display override file to force Mac OS X to use RGB mode for Display
# see http://embdev.net/topic/284710
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten
View docker_cheat.md
View play_portal
#!/bin/sh
### BEGIN INIT INFO
# Provides: skeleton
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Example initscript
# Description: This file should be used to construct scripts to be
# placed in /etc/init.d.
You can’t perform that action at this time.