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
| upstream tunnel { | |
| server 127.0.0.1:3000; | |
| } | |
| server { | |
| listen 80; | |
| server_name dev.codeplane.com br.dev.codeplane.com; | |
| location / { | |
| proxy_set_header X-Real-IP $remote_addr; |
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='localhost' | |
| PORT='26000' | |
| PASSWORD='foo' | |
| SECURE=0 | |
| SECURE_PORT="1234" | |
| RCON_HEADER=$(echo -e "\xff\xff\xff\xff") | |
| ESCAPE_CHAR=$(echo -en "\x1b") |
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
| ========================== | |
| How Software Companies Die | |
| ========================== | |
| - Orson Scott Card | |
| The environment that nurtures creative programmers kills management and | |
| marketing types - and vice versa. | |
| Programming is the Great Game. It consumes you, body and soul. When | |
| you're caught up in it, nothing else matters. When you emerge into |
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 | |
| # *Temporarily* force Bash into POSIX compatibility mode, where `unset` cannot | |
| # be shadowed, which allows us to undefine any `unset` *function* as well | |
| # as other functions that may shadow crucial commands. | |
| # Note: Fortunately, POSIXLY_CORRECT= works even without `export`, because | |
| # use of `export` is not safe at this point. | |
| # By contrast, a simple assignment cannot be tampered with. | |
| POSIXLY_CORRECT= |
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 | |
| """ | |
| This script aims at converting an image to the custom format used by Remarkable 2 | |
| After running this script, move the output "splash.dat" file to /var/lib/uboot in the rM2 device | |
| I tried this with PNG images but I guess other formats should work too since I use PIL | |
| Syntax: ./main.py <file> [-x xOffset] [-y yOffset] | |
| (-x and -y are the offsets of the image on the screen. If not set, the image will be centered on the screen) | |
| Input images may need to be rotated 90 degrees before converting them | |
| Licence: MPL 2.0 | |
| """ |