Skip to content

Instantly share code, notes, and snippets.

View luong-komorebi's full-sized avatar
🐝
I may be slow to respond.

Luong Vo luong-komorebi

🐝
I may be slow to respond.
View GitHub Profile
@luong-komorebi
luong-komorebi / ubuntu_agnoster_install.md
Created November 5, 2016 15:18 — 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

@luong-komorebi
luong-komorebi / example.js
Created June 5, 2017 14:51 — forked from millermedeiros/example.js
execute multiple shell commands in series on node.js
// USAGE ------
// ============
var shell = require('./shellHelper');
// execute a single shell command
shell.exec('npm test --coverage', function(err){
console.log('executed test');
}});
@luong-komorebi
luong-komorebi / AndroidManifest.xml
Created July 26, 2017 03:12 — forked from BrandonSmith/AndroidManifest.xml
Quick example of how to schedule a notification in the future using AlarmManager
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cards.notification">
<uses-sdk
android:minSdkVersion="17"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
@luong-komorebi
luong-komorebi / gource.sh
Last active December 27, 2017 04:56 — forked from XueshiQiao/gource.sh
Generate a MP4 Video for your Git project commits using Gource!
# 1.install gource using HomeBrew
$ brew install gource
# 2.install avconv
git clone git://git.libav.org/libav.git
cd libav
# it will take 3-5 minutes to complie, be patient.
./configure --disable-yasm
make && make install

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@luong-komorebi
luong-komorebi / docker-cleanup-resources.md
Last active August 4, 2020 17:14 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Edit Aug 5 2020 : this script may be outdated, please visit https://docs.docker.com/config/pruning/ as a lot has changed in Docker

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes
@luong-komorebi
luong-komorebi / cache-first.md
Created August 18, 2019 10:59 — forked from laggardkernel/cache-first.md
Cash First #zsh
_env_init() {
  # init version manager without rehash on startup
  local SHELL_NAME="zsh"
  local init_args=(- --no-rehash zsh)
  local zshrc="$HOME/.zshrc"
  
  # For security on Linux
  [[ -n $XDG_RUNTIME_DIR ]] && local TMPDIR="$XDG_RUNTIME_DIR"
@luong-komorebi
luong-komorebi / bret_victor-reading_list.md
Created October 11, 2019 17:30 — forked from nickloewen/bret_victor-reading_list.md
Bret Victor’s Reading List

This is a plain-text version of Bret Victor’s reading list. It was requested by hf on Hacker News.


Highly recommended things!

This is my five-star list. These are my favorite things in all the world.

A few of these works have had an extraordinary effect on my life or way of thinking. They get a sixth star. ★

@luong-komorebi
luong-komorebi / default_color.fish
Created November 11, 2021 14:47 — forked from edouard-lopez/default_color.fish
default_color.fish
set -L
set -U fish_color_normal normal
set -U fish_color_command 005fd7
set -U fish_color_quote 999900
set -U fish_color_redirection 00afff
set -U fish_color_end 009900
set -U fish_color_error ff0000
set -U fish_color_param 00afff
set -U fish_color_comment 990000
set -U fish_color_match --background=brblue

Brew Bundle Brewfile Tips

Copyright & License

Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.

Sponsor

If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.