This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"basics": { | |
"name": "Aric Huang", | |
"label": "Senior Backend Engineer at Raydiant", | |
"picture": "", | |
"email": "arichuang@gmail.com", | |
"phone": "408-660-5874", | |
"website": "https://github.com/concreted", | |
"summary": "", | |
"location": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Adapted from https://gist.github.com/DaleMatthews/13ab2289d7211cac8c4b2057ca56656a | |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
SetCapsLockState, alwaysoff | |
CapsLock::Send {Esc} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Building a Kernel from scratch | |
sudo apt install build-essential git bison flex bc rsync kmod cpio libssl-dev lz4 | |
#Obtain the kernel tree and checkout the correct branch | |
git clone [https://github.com/libcamera-org/linux.git](https://github.com/libcamera-org/linux.git) -b surface/v5.8.18-yocto | |
cd linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.notion.so/Camera-support-on-the-Surface-Go-2-with-Kernel-5-8-18-44f2d2b5bd844aedb46de123d0a6423a | |
export PATH=$PATH:$HOME/.local/bin | |
cd ~ | |
sudo apt install -y \ | |
build-essential ninja-build pkg-config libgnutls28-dev openssl \ | |
python3-pip python3-yaml python3-ply python3-jinja2 \ | |
qtbase5-dev libqt5core5a libqt5gui5 libqt5widgets5 qttools5-dev-tools \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Logs begin at Tue 2020-09-22 13:25:06 PDT, end at Wed 2020-09-23 14:29:28 PDT. -- | |
Sep 23 14:24:59 aric-Surface-Go-2 kernel: microcode: microcode updated early to revision 0xd6, date = 2020-04-27 | |
Sep 23 14:24:59 aric-Surface-Go-2 kernel: Linux version 5.4.0-48-generic (buildd@lcy01-amd64-010) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)) #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 (Ubuntu 5.4.0-48.52-generic 5.4.60) | |
Sep 23 14:24:59 aric-Surface-Go-2 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-48-generic root=UUID=04b81433-4c30-4b16-86e4-e1873a616a56 ro quiet splash | |
Sep 23 14:24:59 aric-Surface-Go-2 kernel: KERNEL supported cpus: | |
Sep 23 14:24:59 aric-Surface-Go-2 kernel: Intel GenuineIntel | |
Sep 23 14:24:59 aric-Surface-Go-2 kernel: AMD AuthenticAMD | |
Sep 23 14:24:59 aric-Surface-Go-2 kernel: Hygon HygonGenuine | |
Sep 23 14:24:59 aric-Surface-Go-2 kernel: Centaur CentaurHauls | |
Sep 23 14:24:59 aric-Surface-Go-2 kernel: zhaoxin Shanghai |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Logs begin at Tue 2020-09-22 13:25:06 PDT, end at Wed 2020-09-23 14:26:30 PDT. -- | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: microcode: microcode updated early to revision 0xd6, date = 2020-04-27 | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: Linux version 5.9.0-rc6+ (aric@aric-Surface-Go-2) (gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #2 SMP Wed Sep 23 11:54:19 PDT 2020 | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.9.0-rc6+ root=UUID=04b81433-4c30-4b16-86e4-e1873a616a56 ro | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: KERNEL supported cpus: | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: Intel GenuineIntel | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: AMD AuthenticAMD | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: Hygon HygonGenuine | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: Centaur CentaurHauls | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: zhaoxin Shanghai |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Logs begin at Tue 2020-09-22 13:25:06 PDT, end at Wed 2020-09-23 14:26:30 PDT. -- | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: microcode: microcode updated early to revision 0xd6, date = 2020-04-27 | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: Linux version 5.9.0-rc6+ (aric@aric-Surface-Go-2) (gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #2 SMP Wed Sep 23 11:54:19 PDT 2020 | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.9.0-rc6+ root=UUID=04b81433-4c30-4b16-86e4-e1873a616a56 ro | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: KERNEL supported cpus: | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: Intel GenuineIntel | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: AMD AuthenticAMD | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: Hygon HygonGenuine | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: Centaur CentaurHauls | |
Sep 23 14:23:20 aric-Surface-Go-2 kernel: zhaoxin Shanghai |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Intel ACPI Component Architecture | |
* AML/ASL+ Disassembler version 20190509 (64-bit version) | |
* Copyright (c) 2000 - 2019 Intel Corporation | |
* | |
* Disassembling to symbolic ASL+ operators | |
* | |
* Disassembly of DSDT.dat, Thu Sep 17 15:55:23 2020 | |
* | |
* Original Table Header: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install build-essential binutils-dev libncurses5-dev libssl-dev ccache bison flex libelf-dev fakeroot liblz4-tool | |
mkdir ~/src | |
cd ~/src | |
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git | |
cd linux-stable | |
# checkout appropriate branch here | |
VERSION=5.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fizzbuzz = function(n) { | |
for (var i = 1; i <= n; i++) { | |
var output = ''; | |
(i % 3 === 0) && (output = output + 'fizz'); | |
(i % 5 === 0) && (output = output + 'buzz'); | |
(output !== '') && (console.log(output)); | |
} | |
} |
NewerOlder