Skip to content

Instantly share code, notes, and snippets.

View khaintt's full-sized avatar

Khai Nguyen khaintt

  • Hanoi, Vietnam
View GitHub Profile
@khaintt
khaintt / lemp_setup.sh
Created June 15, 2019 04:10 — forked from RafikFarhad/lemp_setup.sh
LEMP Stack for Ubuntu 18.04
#!/bin/bash
GREEN='\033[0;32m'
CYAN='\033[0;36m'
NC='\033[0m'
echo "${CYAN}Welcome to Easy LEMP Stack Setup${NC}"
echo "${CYAN}Ubuntu 18.04 Supported${NC}"
echo "${GREEN}Created By SUST CSE Developer Network (SCDN)\n${NC}"
echo "${GREEN}Maintained By Rafik Farhad\n${NC}"
@khaintt
khaintt / usb_hid_keys.h
Created February 7, 2019 10:32 — forked from MightyPork/usb_hid_keys.h
USB HID Keyboard scan codes
/**
* USB HID Keyboard scan codes as per USB spec 1.11
* plus some additional codes
*
* Created by MightyPork, 2016
* Public domain
*
* Adapted from:
* https://source.android.com/devices/input/keyboard-devices.html
*/