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 | |
# This script will log in to Canon MF644Cdw's Remote UI and rename the AirPrint/Bonjour/mDNS name. | |
# This is a workaround to Canon MF644Cdw AirPrint keeps renaming itself. | |
# You can either run this manually or run it as a cronjob. | |
# Reference: https://community.usa.canon.com/t5/Printer-Software-Networking/imageCLASS-MF644Cdw-Airprint-name-keeps-changing/td-p/298543/page/2 | |
# === CONFIG === | |
PRINTER_HOST="192.168.#.#" # Canon MF644 local IP | |
PRINTER_PASS="password" # Canon Remote UI System Manager Mode Password |
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
#include <Arduino.h> | |
#include <ESP8266WiFi.h> | |
#include "fauxmoESP.h" | |
#define SERIAL_BAUDRATE 115200 | |
#define WIFI_SSID "..." | |
#define WIFI_PASS "..." | |
fauxmoESP fauxmo; |
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 | |
# Quinn Comendant <[email protected]> | |
# https://gist.github.com/quinncomendant/3be731567e529415d5ee | |
# Since 25 Jan 2015 | |
# Version 1.1 | |
CMD=$1; | |
if [[ `id -u` = 0 ]]; then |
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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Swap Command and Option for Varmilo VB87M Bluetooth Keyboard (vid/pid: 0x1915,0xEEEE)</name> | |
<identifier>private.swap_cmd_option_varmilo_vb87m</identifier> | |
<block> | |
<device_only>DeviceVendor::RawValue::0x1915, DeviceProduct::RawValue::0xEEEE</device_only> | |
<autogen>__KeyToKey__ KeyCode::COMMAND_L, KeyCode::OPTION_L</autogen> | |
<autogen>__KeyToKey__ KeyCode::OPTION_L, KeyCode::COMMAND_L</autogen> | |
<autogen>__KeyToKey__ KeyCode::COMMAND_R, KeyCode::OPTION_R</autogen> |
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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>F19 to Fn</name> | |
<appendix>You can use Seil to map CapsLock to F19 (keycode 80)</appendix> | |
<identifier>private.f19_to_fn</name> | |
<autogen> __KeyToKey__ KeyCode::F19, KeyCode::FN </autogen> | |
</item> | |
<item> | |
<name>Fn + HJKL as arrows</name> |