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: Jakob Maier | |
| @brief: simple base64 encoder/decoder | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| #include <assert.h> | |
| #include <unistd.h> |
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 | |
| # client <ip> <port> | |
| nc $1 $2 | play -r 32k -t raw -e s -b 16 -c 1 -V1 - |
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 | |
| # server.sh <freq> <port> | |
| rtl_fm -f ${1}M -M fm -s 170k -A fast -r 32k -l 0 -E deemp | nc -lvp ${2} |
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
| # $@ := output | |
| # $< := first dependency | |
| CC = gcc | |
| CFLAGS = -std=c99 -pedantic -Wall -g | |
| PROGS = test_program | |
| all: $(PROGS) | |
| rm -f *.o |
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
| body { | |
| margin: 0; | |
| font-family: Roboto, Arial, sans-serif; | |
| color: #3c4043; | |
| line-height: 1.25rem; | |
| } | |
| code { | |
| font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace; |
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
| body { | |
| max-width: 650px; | |
| margin: 40px auto; | |
| padding: 0 10px; | |
| font: 18px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; | |
| color: #444; | |
| } | |
| h1, | |
| h2, |
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 [ -z "$*" ]; then | |
| echo "No args"; | |
| exit 0; | |
| fi | |
| # variables | |
| LOGFILE=$1 | |
| LOGFILE_GZ=$LOGFILE.* |
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
| version: "3" | |
| services: | |
| db: | |
| image: postgres | |
| restart: always | |
| ports: | |
| - 5432:5432 | |
| environment: | |
| POSTGRES_USER: postgres # default is postgres, same as POSTGRES_DB |
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 Der Standard AdBlock | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Easy way to block ads on derstandard.com | |
| // @author Jakob Maier | |
| // @match https://www.derstandard.at/* | |
| // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
| // @grant none | |
| // ==/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
| // ==UserScript== | |
| // @name Color hackernews links | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://news.ycombinator.com/ | |
| // @icon https://www.google.com/s2/favicons?domain=ycombinator.com | |
| // @grant GM_addStyle | |
| // ==/UserScript== |
OlderNewer