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 bash | |
TG_TOKEN="XXXX" | |
TG_CHAT_ID="XXXX" | |
tg_send_message() { | |
if [[ -z "$TG_TOKEN" || -z "$TG_CHAT_ID" ]]; then | |
return | |
fi | |
local message="$1" |
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
#!/bin/sh | |
# Increases number of GNOME workspaces to 10. | |
# Binds Super+number to switch workspaces and Super+Shift+number to move | |
# windows between workspaces. | |
# | |
# See: | |
# https://askubuntu.com/questions/1195081/increase-number-of-workspace-with-shortcuts-on-ubuntu-18-04 | |
gsettings set org.gnome.mutter dynamic-workspaces 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
/* latin */ | |
@font-face { | |
font-family: "Pragmatica Extended"; | |
font-weight: 700; | |
font-display: swap; | |
src: local("Pragmatica Extended Bold"), local("Pragmatica Extended-Bold"), | |
url(../fonts/PragmaticaExtended-Bold.latin.woff2) format("woff2"), | |
url(../fonts/PragmaticaExtended-Bold.latin.zopfli.woff) format("woff"); | |
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, | |
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, |
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
#!/bin/bash | |
if [ ! -f './freefall_topics.txt' ]; then | |
curl 'http://web.archive.org/cdx/search/cdx?url=http://nice.purrsia.com/cgi-bin/*&output=txt&filter=statuscode:200&collapse=urlkey' \ | |
| grep 'ubb=get_topic' | grep 'f=21' > ./freefall_topics.txt | |
fi | |
IFS=$'\n' | |
for LINE in $(cat ./freefall_topics.txt | awk -F ' ' '{print $2,$3}'); do | |
TIMESTAMP=${LINE%% *} |
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
export default { | |
black: '#000000', | |
white: '#ffffff', | |
red50: '#ffebee', | |
red100: '#ffcdd2', | |
red200: '#ef9a9a', | |
red300: '#e57373', | |
red400: '#ef5350', | |
red500: '#f44336', | |
red600: '#e53935', |
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 "uart.h" | |
char uartRxBuffer[UART_RX_BUFFER_SIZE]; | |
uint8_t uartRxCounter = 0; | |
uint8_t uartRxReadIdx = 0; | |
uint8_t uartRxWriteIdx = 0; | |
uint8_t uartRxOverflow = 0; | |
bool uartRxCr = false; | |
char uartTxBuffer[UART_TX_BUFFER_SIZE]; |
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
<!doctype html> | |
<html lang="ru"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="$helmet-placeholder$"> | |
<meta name="$sc-placeholder$"> | |
<style> |