- Mainboard firmware: Marlin 2.0.9.2 (fork with config, see
Marlin/Configuration{,_adv}.h
)- diff:
nvim -d {Marlin,config/Artillery/Genius}/Configuration.h
, same forConfiguration_adv.h
- mostly calibration, new extruder and noise-free PWM for parts fan
LIN_ADVANCE
instead ofS_CURVE_ACCELERATION
(don't work together)
- before 13.11.2020: Marlin 2.0.5.3 (3dprintbeginner) (branch)
- diff:
- TFT firmware: artillery_tft_fw_1.27.x_patch_9.2 (digant@thingiverse) (
TFT-config.ini
)- Put in Marlin mode (long press, persists on reboot) when printing with OctoPrint because TFT shares serial connection.
const crypto = require('crypto'); | |
var encryptionAlgorithm = "aes-256-ctr"; | |
function decryptCreds(key, cipher) { | |
var flows = cipher["$"]; | |
var initVector = Buffer.from(flows.substring(0, 32),'hex'); | |
flows = flows.substring(32); | |
var decipher = crypto.createDecipheriv(encryptionAlgorithm, key, initVector); | |
var decrypted = decipher.update(flows, 'base64', 'utf8') + decipher.final('utf8'); |
Inspired By: grafana/loki#333
- docker-compose.yml
version: "3"
networks:
loki:
Docs: https://docs.joinmastodon.org/admin/tootctl/
Remove locally cached copies of media attachments from other servers.
Already doing this in crontab.
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root -pPASSWORD DATABASE > backup.sql | |
docker exec CONTAINER /usr/bin/mysqldump -u root -pPASSWORD DATABASE | gzip > backup.sql.gz | |
docker exec CONTAINER /usr/bin/mysqldump -u root -pPASSWORD DATABASE | bzip2 > backup.sql.bz2 | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root -pPASSWORD DATABASE | |
gunzip < backup.sql.gz | docker exec -i CONTAINER /usr/bin/mysql -u root -pPASSWORD DATABASE | |
bunzip2 < backup.sql.bz2 | docker exec -i CONTAINER /usr/bin/mysql -u root -pPASSWORD DATABASE |
On low memory devices like the arduino and esp8266 you do not want strings to be stored in RAM. This occurs by default on these systems. Declare a string const char * xyz = "this is a string"
and it will use up RAM.
The solution on these devices is to allow strings to be stored in read only memory, in Arduino this is the PROGMEM macro. Most of my experience is with the ESP8266 which is a 32bit micros controller. This device stores PROGMEM data in flash. The macro PROGMEM on ESP8266 is simply
#define PROGMEM ICACHE_RODATA_ATTR
With the release of Vivaldi 2.2, this page is now obsolete and unmaintained. Widevine is fetched automatically on post install of our official packages. The information below and the script are left for historical reasons but will not be updated.
If you are using something newer than Vivaldi 2.2, you should not be using this script as there is simply no need. Any need you think you have for it would be a bug IMHO and thus should be logged in a bug report. Before you do so however, you should also checkout the Vivaldi help page on Widevine, on Linux
A bunch of people asked how they could use this script with pure Chromium on Ubuntu. The following is a quick guide. Though I still suggest you at least try Vivaldi. Who knows, you might like it. Worried about proprietary componants? Remember that libwidevinecdm.so is a b
#include <ESP8266WiFi.h> | |
void setup() { | |
Serial.begin(115200); | |
delay(1000); | |
Serial.printf("\nTry connecting to WiFi with SSID '%s'\n", WiFi.SSID().c_str()); | |
WiFi.mode(WIFI_STA); | |
WiFi.begin(WiFi.SSID().c_str(),WiFi.psk().c_str()); // reading data from EPROM, last saved credentials | |
while (WiFi.status() == WL_DISCONNECTED) { |
#!/bin/bash | |
############# | |
# n8henrie's Raspberry Pi CrashPlan installer script | |
# v0.1.0 :: 20160530 | |
############# | |
set -e | |
CP_VERSION="4.8.0" |