Skip to content

Instantly share code, notes, and snippets.

View fire's full-sized avatar

K. S. Ernest (iFire) Lee fire

View GitHub Profile
Add directory to virtalbox's shared dirctory
docker run -d -v /UE4/:/src -p 8081:8080 steinwaywhw/opengrok
docker exec -it [container-id] bash
@fire
fire / README.md
Last active August 29, 2015 14:15 — forked from tonybruess/README.md

Upgrade e1000e drivers on Ubuntu

Simply run ./upgrade.sh.

Information

Make sure to run shutdown -r now after completing installation.

Also, use lshw -C network to verify the driver installation.

If the driver is still outdated after reboot, make sure /etc/modules contains e1000e.

The following command will remove any system-installed Erlang packages:
sudo apt-get remove $(dpkg --get-selections | grep ^erlang | cut -f1)
http://blog.differentpla.net/blog/2014/10/09/reverting-erlang-17/
#
# This modifies the gitignore for Plastic Scm.
# This file tells Git about engine files that never really belong in source control. They are usually build products, log
# files and intermediate files generated from a compiler or the engine runtime.
#
#
# NOTE:
# Paths that start with / match paths relative to the root (where the .gitignore file is)
# Paths that end with / will match a folder and all files under it (but not a regular file with no extension)
# Use * for wildcards. Wildcards stop at path separators
#
# This modifies the gitignore for Plastic Scm.
# This file tells Git about engine files that never really belong in source control. They are usually build products, log
# files and intermediate files generated from a compiler or the engine runtime.
#
#
# NOTE:
# Paths that start with / match paths relative to the root (where the .gitignore file is)
# Paths that end with / will match a folder and all files under it (but not a regular file with no extension)
# Use * for wildcards. Wildcards stop at path separators
Install msys from the internet
@powershell -Command Invoke-WebRequest -Uri "http://downloads.sourceforge.net/project/msys2/Base/x86_64/msys2-x86_64-20150512.exe" -OutFile "%cd%\msys2.exe" -UserAgent [Microsoft.PowerShell.Commands.PSUserAgent]::FireFox
diff --git a/doc-xc/src/sgml/Makefile b/doc-xc/src/sgml/Makefile
index 9c69b15..6ca1cf0 100644
--- a/doc-xc/src/sgml/Makefile
+++ b/doc-xc/src/sgml/Makefile
@@ -367,7 +367,7 @@ clean: clean-man clean-sgml
clean-man:
rm -rf fixedman/ fixed-man-stamp
-.PHONY: clean-sgml:
+.PHONY: clean-sgml

Smartos install

Download joyent smartos image.

Configure vm to have bridged networking and promiscious mode.

# Find if of Smartos base64 image
imgadm avail | grep base64
# Copy id and import the image
imgadm import 0edf00aa-0562-11e5-b92f-879647d45790 
# Create a container based on json information
SELECT table_schema,table_name
FROM information_schema.tables
WHERE table_schema = 'nx'
ORDER BY table_schema,table_name;