Skip to content

Instantly share code, notes, and snippets.

View aenon's full-sized avatar

Xilin Sun aenon

  • Nvidia
  • San Jose, CA
  • 04:43 (UTC -07:00)
View GitHub Profile
@MightyPork
MightyPork / usb_hid_keys.h
Last active February 26, 2026 21:45
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
*/
@chenjiayuan
chenjiayuan / code.R
Last active September 2, 2015 04:45
small fix...
PassengerId = testData[1]
testData = testData[-c(1, 8:11)]
testData$Sex = gsub("female", 1, testData$Sex)
testData$Sex = gsub("^male", 0, testData$Sex)
test_master_vector = grep("Master.",testData$Name, fixed=TRUE)
test_miss_vector = grep("Miss.", testData$Name, fixed=TRUE)
test_mrs_vector = grep("Mrs.", testData$Name, fixed=TRUE)
test_mr_vector = grep("Mr.", testData$Name, fixed=TRUE)
@ikegami-yukino
ikegami-yukino / install_byobu_yum.sh
Last active February 11, 2020 07:14
Install byobu to CentOS and Amazon Linux
sudo yum install byobu -y --enablerepo=epel-testing
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active March 5, 2026 10:16
A badass list of frontend development resources I collected over time.
@yura
yura / pdf2jpg.sh
Created November 10, 2010 15:18
script to PDF to JPG using pdftk and imagemagick
#!/bin/bash
# Script to convert PDF file to JPG images
#
# Dependencies:
# * pdftk
# * imagemagick
PDF=$1