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
/usr/bin/python3 -m esphome -s ssid "" -s password "" -s board adafruit_feather_esp32s3_tft -s platform esp32 -s platform_version platformio/[email protected] -s sda 42 -s scl 41 run /tmp/lunarsensor/esp32dev/lunar.yaml --no-logs --device /dev/cu.usbmodem11401 |
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
/ q).Q.w[]`used | |
/ 385648 | |
/ 1. Generate some strings with repeats | |
/ q).Q.w[]`used | |
/ 10482848 | |
strs:.Q.an @/:(mod[;count .Q.an] 4 cut til 1000000); | |
/ 2. Deduplicate | |
/ q).Q.w[]`used |
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
#!/usr/bin/env bash | |
# Start command used in BuaBook for all Java applications | |
# Requires Java 7u101 or 8u92 for CrashOnOutOfMemoryError flag support | |
JAR_TO_RUN=/path/to/jar.jar | |
JAVA_LOG_FILE=/path/to/log/file.log | |
JAVA_HEAPDUMP_LOC=/path/to/dump/dir/ | |
JAVA_ERROR_FILE=/path/to/error/file.err |
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
# zfs-native 0.6.5.7 - Kernel Downgrade to 4.4.0-57 | |
# Does not build with 4.4.0-59 | |
# Install previous good kernel | |
apt-get install linux-image-4.4.0-57-generic linux-image-extra-4.4.0-57-generic | |
# Replace primary boot kernel (vmlinuz and initrd.img) in grub.cfg | |
sed -E "s/\/(vmlinuz|initrd\.img)-4\.4\.0-59-generic/\/\1-4.4.0-57-generic/g" /boot/grub/grub.cfg > /tmp/grub-modified-4.4.0-57.cfg | |
# CHECK THE GENERATED FILE (look for code within "menuentry 'Ubuntu'") for updated kernel version |
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
# Redirect all fake URLs (that don't contain a .) to / (anything after ? is OK, but not sent to Apache) | |
# URL request format: GET /requested/url?optionalParams HTTP/1.1 | |
reqirep ^([^\ ]*\ /)(([^.]*)|([^.]*\?.*))(\ .*)$ \1\5 |