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/sh | |
# | |
# CONFIG | |
# ====== | |
# | |
# ONT_IF Interface connected to the ONT | |
# | |
# RG_ETHER_ADDR MAC address of your assigned Residential Gateway | |
# | |
# Required Config |
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
[ | |
{ | |
"key": "cmd+0", | |
"command": "-workbench.action.focusSideBar" | |
}, | |
{ | |
"key": "cmd+0", | |
"command": "workbench.action.zoomReset" | |
}, | |
{ |
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 | |
threads=4 | |
if [ -z "$1" ]; then | |
echo "Usage:" | |
echo " encode.sh <output_path>" | |
exit 1 | |
fi |
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/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c | |
index eae0cb3ddec6..cce5c43b9bc2 100644 | |
--- a/drivers/hid/i2c-hid/i2c-hid.c | |
+++ b/drivers/hid/i2c-hid/i2c-hid.c | |
@@ -47,7 +47,86 @@ | |
/* quirks to control the device */ | |
#define I2C_HID_QUIRK_SET_PWR_WAKEUP_DEV BIT(0) | |
#define I2C_HID_QUIRK_NO_IRQ_AFTER_RESET BIT(1) | |
-#define I2C_HID_QUIRK_RESEND_REPORT_DESCR BIT(2) | |
+ |
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
/* | |
Copyright © Ethan Apodaca 2016 | |
papodaca@gmail.com | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, |
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 | |
openssl aes-256-ecb -salt -in $1 -out $1.tmp | |
mv $1.tmp $1 |
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
[?7h[40m[2J[0;1;32mワワワワワワワ ワワ [30mワ [32mワワ ワワワワワワワ | |
[30mワ [32;42mロロ[30;40mーワワ [32;42mイ゚[1C[30;40m゚ [32;42mイロ[1Cイ゚[0;32mワワ [1m゚゚ | |
[30mイ [32;42mイ[0;32mイ [1;30;42mイ[40mロ [32;42mー[0;32mイ[1m゚゚゚[42mア゚[1Cア[0;32mイワ[1;30mー [32;42mイ゚[40m | |
[30m゚ [0;32m゚゚[1;30mー゚゚ [0;32m゚゚ [1;30m゚ [32;42mー[0;32mロ ゚゚゚゚゚゚ | |
[1mワワワワワワワ ワワワワワワワ ワワ ワワ ロロ ワワワワワワワ ワワワワワワ | |
[30mワ [32;42mロロ[30;40mーワワ [32;42mイ゚[1C[30;40mワ [32;42mロイ[1Cロロ[30;40mーロ [32;42mイロ[1C[30;40mイ [32;42mロロ[1Cイ゚[0;32mワワ [1m゚゚ [42mロロ[30;40mーワ [32;42mイロ[40m | |
[30mイ [32;42mイ[0;32mイ [1;30;42mイ[40mロ [32;42mー[0;32mイワ[1;30m゚ [32;42mイ [1Cイ[0;32mイ [1;30m゚[0;32mワ[1;42mア゚[1C[30;40m゚[0;32mワ[1;42mイ[0;32mイ [1;42mア[0;32mイワ[1;30mー [32;42mイ゚[1Cイ[0;32mイ [1;30mイ [32;42mー゚[40m | |
[30m゚ [0;32m゚゚[1;30mー゚゚ [0;32m゚゚゚゚゚゚ ゚゚゚゚゚゚[1;30mワ[0;32m゚゚゚゚ ゚゚゚゚゚゚ ゚゚[1;30mー |
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
//callbacks | |
$http.get(somepath, function(res, err) { | |
$http.get(somepathother, function(res2, err2) { | |
$http.get(somepathotherother, function(res3, err3) { | |
//dostuff | |
}); | |
}); | |
}); | |
//promises |
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
flashrom -p internal -r backup.rom | |
ich9gen --macaddress <some mac> | |
dd if=ich9fdgbe_8m.bin of=libreboot.rom bs=1 count=12k conv=notrunc | |
flashrom -p internal -w flashrom.rom |
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
def update(): | |
## BUTTONS ## | |
vJoy[1].setButton(0, wiimote[0].classic_controller.buttons.button_down(ClassicControllerButtons.A)) | |
vJoy[1].setButton(1, wiimote[0].classic_controller.buttons.button_down(ClassicControllerButtons.B)) | |
vJoy[1].setButton(2, wiimote[0].classic_controller.buttons.button_down(ClassicControllerButtons.X)) | |
vJoy[1].setButton(3, wiimote[0].classic_controller.buttons.button_down(ClassicControllerButtons.Y)) | |
vJoy[1].setButton(4, wiimote[0].classic_controller.buttons.button_down(ClassicControllerButtons.DPadDown)) | |
vJoy[1].setButton(5, wiimote[0].classic_controller.buttons.button_down(ClassicControllerButtons.DPadLeft)) | |
vJoy[1].setButton(6, wiimote[0].classic_controller.buttons.button_down(ClassicControllerButtons.DPadRight)) | |
vJoy[1].setButton(7, wiimote[0].classic_controller.buttons.button_down(ClassicControllerButtons.DPadUp)) |
NewerOlder