jmjl / SNIProxy config example
0 likes
0 forks
1 files
Last active
https://github.com/dlundquist/sniproxy's README
1 | user daemon |
2 | |
3 | pidfile /tmp/sniproxy.pid |
4 | |
5 | error_log { |
6 | syslog daemon |
7 | priority notice |
8 | } |
9 | |
10 | listener 127.0.0.1:443 { |
jmjl / teapotchat-checkcert
0 likes
0 forks
1 files
Last active
This is the script that checks SSL for the IRC servers in the teapot.chat network, but can be adapted easily.
1 | #!/bin/python3 |
2 | import os,subprocess,re |
3 | def emit(msg): |
4 | print(f" {msg}") |
5 | |
6 | servers = ["cardamom","coffee","earlgrey"] |
7 | network = "teapot.chat" |
8 | ssl_port = 6697 |
9 | print("Here's the report:") |
10 | print("Servers:") |
jmjl / Usbguard Rofi Script
0 likes
0 forks
1 files
Last active
Usbguard rofi script so that I can manage usbguard from a UI instead of manually typing the usbguard commands into the keyboard
1 | #!/bin/sh |
2 | # Copyright Julián Marcos — EPLv2 |
3 | # Texts |
4 | |
5 | RELIST_ACT="*AA: Listar de nuevo. (Re-chequea los estados)" |
6 | EXIT_ACT="*AB: Salir" |
7 | FILTER_ACT="*AC: Filtrar" |
8 | |
9 | BLOCK_ACT="Bloquear" |
10 | REJECT_ACT="Quitar" |
jmjl / gist:bd3f44ca89994dd295228476445163e9
0 likes
0 forks
1 files
Last active
Broken piece of code to learn C++
1 | #include <cstdio> |
2 | #include <sstream> |
3 | |
4 | void user_write(const char *string) { |
5 | const char* nice_string; |
6 | //std::ostringstream nice_string; |
7 | nice_string << string; |
8 | nice_string << "\r\n"; |
9 | //printf(string + "\r\n"); |
10 | printf(nice_string); |
jmjl / Makefile targets
0 likes
0 forks
1 files
Last active
Makefile that shows targets names automatically, (I don't remember the source, if you know the source or are the source please contact me)
1 | help: |
2 | @echo "targets:" |
3 | @grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) \ |
4 | | sed -n 's/^\(.*\): \(.*\)##\(.*\)/ \1|\3/p' \ |
5 | | column -t -s '|' |
6 | |
7 | .PHONY: clean |
8 | clean: ## clean the uneeded files |
9 | code_to_clean_the_files |
alexlehm / pocket to netscape html converter
0 likes
0 forks
1 files
Last active
make pocket exports importable in linkwarden
1 | #! perl |
2 | # |
3 | # convert pocket html export to a netscape html compatible format to make it importable in linkwarden |
4 | # the script is pretty sloppy, it will likely break for some lines |
5 | # |
6 | # alexlehm/at/gmail.com |
7 | # |
8 | # https://wiki.creativecommons.org/wiki/CC0 |
9 | # |
alexlehm / tagpacker to netscape html converter
0 likes
0 forks
1 files
Last active
convert tagpacker html explort to netscape format to import it to linkwarden
1 | #! perl |
2 | # |
3 | # convert tagpacker html export to a netscape html compatible format to make it importable in linkwarden |
4 | # the script is pretty sloppy, it will likely break for some lines |
5 | # |
6 | # alexlehm/at/gmail.com |
7 | # |
8 | # https://wiki.creativecommons.org/wiki/CC0 |
9 | # |
Newer
Older