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
| function getBeats() { | |
| var now = new Date(); | |
| return Math.floor((((now.getUTCHours() + 1) * 3600) + (now.getUTCMinutes() * 60) + now.getUTCSeconds()) / 86.4); | |
| } |
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 sh | |
| # Simple script to switch Neocities configs for the CLI. | |
| # Save tokens by copying "config" file to "config.<name>". | |
| # Then use <name> to switch to that config. | |
| # For example: | |
| # $ mv ~/.config/neocities/config ~/.config/neocities/config.mysite | |
| # | |
| # With that in place you can now switch to it: | |
| # $ neocities-switch mysite |
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
| function show() { | |
| document.querySelector(".guilds-1SWlCJ") | |
| .style = "display: inherit;" | |
| window.serverBar.isVisible = true; | |
| } | |
| function hide() { | |
| document.querySelector(".guilds-1SWlCJ") | |
| .style = "display: none;" | |
| window.serverBar.isVisible = false; |
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
| """ | |
| Simple bot to echo events in a Twitch channel. | |
| Need to fill out the data in the commands.Bot() call below to connect. | |
| irc_token: You can get a token to use here by connecting your account here: https://twitchapps.com/tmi/ | |
| client_id: Register a Twitch app and copy the client_id https://dev.twitch.tv/console/apps/create | |
| nick: Your twitch username | |
| initial_channels: the channels you wish to watch for events on |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>local.KeyRemapping</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <!-- | |
| Item 1: 0x39 (CapsLock) -> 0x29 (Esc) |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>local.KeyRemapping</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <!-- | |
| Keychron K6 |
OlderNewer