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
--- apds9960.c 2020-12-10 14:51:49.347299912 -0800 | |
+++ MSHW0184.c 2020-12-10 14:39:22.374241994 -0800 | |
@@ -8,6 +8,7 @@ | |
* TODO: gesture + proximity calib offsets | |
*/ | |
+#include <linux/acpi.h> | |
#include <linux/module.h> | |
#include <linux/init.h> | |
#include <linux/interrupt.h> |
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
From 5c87b8f57e28e12e04e3434419ca4f80ba442e1e Mon Sep 17 00:00:00 2001 | |
From: Max Leiter <[email protected]> | |
Date: Thu, 10 Dec 2020 11:21:43 -0800 | |
Subject: [PATCH] MSHW0184 binding | |
--- | |
drivers/iio/light/apds9960.c | 8 ++++++++ | |
1 file changed, 8 insertions(+) | |
diff --git a/drivers/iio/light/apds9960.c b/drivers/iio/light/apds9960.c |
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
;------------------------------------------------------- | |
; File Created by KCC : free open source ANSI-C Compiler | |
; Version 3.4.1 #9072 (Mac OS X x86_64) | |
;------------------------------------------------------- | |
.globl _main | |
.globl _get_lcd_lock | |
.globl _draw_string | |
.globl _screen_draw | |
.globl _screen_clear |
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
package examples; | |
import org.datavec.api.io.filters.BalancedPathFilter; | |
import org.datavec.api.io.labels.ParentPathLabelGenerator; | |
import org.datavec.api.split.FileSplit; | |
import org.datavec.api.split.InputSplit; | |
import org.datavec.api.util.ClassPathResource; | |
import org.datavec.image.loader.BaseImageLoader; | |
import org.datavec.image.recordreader.ImageRecordReader; | |
import org.datavec.image.transform.*; |
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
{ | |
"Time":{ | |
"isLeapYear":{ | |
"path":"kernel/src/02/time.asm", | |
"line":128, | |
"sections":{ | |
"Inputs":{ | |
"HL":"The year" | |
}, | |
"Outputs":{ |
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
#!/bin/bash | |
apt-get update | |
#terminator | |
apt-get -y install terminator | |
gsettings set org.gnome.desktop.default-applications.terminal exec 'terminator' | |
#chrome | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - |
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
diff --git a/Makefile b/Makefile | |
index 48aca36..bae88ed 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -27,12 +27,12 @@ sass/bin/Debug/sass.exe: sass/*.cs | |
install: | |
mkdir -p $(DESTDIR)/bin/ | |
mkdir -p $(DESTDIR)/mono/ | |
- install -c -m 775 sass/bin/Debug/sass.exe $(DESTDIR)/mono/sass.exe | |
- echo -ne "#!/bin/sh\n$(SASSPREFIX) $(PREFIX)/mono/sass.exe \$$*" > $(DESTDIR)/bin/sass |
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
#!/bin/bash | |
git clone https://github.com/KnightOS/sdk.git | |
sudo pip3 install docopt | |
sudo pip3 install requests | |
sudo pip3 install pystache | |
sudo pip3 install pyyaml | |
pushd sdk | |
sudo make install | |
popd |
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
#!/bin/bash | |
list="genkfs mktiupgrade kpack z80e sass" | |
for project in $list; do | |
git clone https://github.com/KnightOS/$project.git | |
done | |
for dir in $list; do | |
pushd $dir | |
if [[ $dir == "sass" ]]; then |