This file contains hidden or 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
| /* | |
| || @author Brett Hagman <bhagman@wiring.org.co> | |
| || @url http://wiring.org.co/ | |
| || @contribution Hernando Barragan <b@wiring.org.co> | |
| || @contribution Alexander Brevig <abrevig@wiring.org.co> | |
| || | |
| || @description | |
| || | Time methods. | |
| || | | |
| || | Wiring Framework |
This file contains hidden or 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> | |
| /************************************************************** | |
| * | |
| * For this example, you need to install CRC32 library: | |
| * https://github.com/bakercp/CRC32 | |
| * or from http://librarymanager/all#CRC32+checksum | |
| * | |
| * TinyGSM Getting Started guide: | |
| * https://tiny.cc/tinygsm-readme | |
| * |
This file contains hidden or 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
| Initializing modem... | |
| AT | |
| OK | |
| AT+CFUN=15 | |
| OK | |
| AT | |
| AT | |
| AT |
This file contains hidden or 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
| Initializing modem... | |
| AT | |
| OK | |
| AT+CFUN=15 | |
| OK | |
| AT | |
| AT | |
| AT |
This file contains hidden or 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
| // ==UserScript== | |
| // @name YouTube Music Volume Fix | |
| // @author Brett Hagman | |
| // @namespace https://gist.github.com/bhagman/f3043b28fa6bdf6a630bb192a8bf4a37 | |
| // @version 1.0.0 | |
| // @description Changes YTM volume slider to change based on a curve more suited to human hearing. | |
| // @match https://music.youtube.com/* | |
| // @grant none | |
| // @run-at document-end | |
| // ==/UserScript== |
This file contains hidden or 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 python3 | |
| """ | |
| Serves files from the current directory, allowing access to HTML files | |
| without requiring the .html extension in the URL. | |
| For example, accessing '/login' will serve 'login.html'. | |
| Accessing the root '/' will serve 'index.html'. | |
| Files with other extensions will not be served without their extensions. | |
| """ |
This file contains hidden or 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
| # Until Pelican plugin 'sitemap' is fixed, this will fix the <urlset> and <lastmod> tags. | |
| # This script only runs on the default 'output' folder. | |
| # You can run this script after site generation. | |
| # In general: `pelican content && python fix_pelican_sitemap.py` | |
| import os | |
| import re | |
| SITEMAP_PATH = os.path.join(os.path.dirname(__file__), 'output', 'sitemap.xml') |
OlderNewer