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 for creating local tcp proxy to actual destination via socat | |
| set -e | |
| USAGE=$(cat <<EOF | |
| Usage: $0 [-h|--help] <host:port> [host:port] ... | |
| Simple script for creating local tcp proxy to actual |
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 | |
| set -e | |
| if [ -z $1 ]; then | |
| echo "Domain name wasn't provided!" 1>&2; | |
| exit 1 | |
| fi | |
| apt-get install --yes docker docker-compose nginx certbot python3-certbot-nginx dnsutils curl |
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 | |
| # -*- coding: utf-8 -*- | |
| """Simple entrypoint for Apache2 mod_wsgi.""" | |
| import os | |
| import sys | |
| from itertools import chain | |
| class WSGIEntrypoint(object): | |
| def __call__(self, environ, start_response): |
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 | |
| # Simple program for compairing string with hash | |
| # Author: Ivan Fedorov <inbox@titaniumhocker.ru> | |
| # Licence: MIT | |
| import sys | |
| import hashlib | |
| import typing as t | |
| from argparse import ArgumentParser |
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 perl | |
| use strict; | |
| use warnings; | |
| use Getopt::Long; | |
| my $stdin = "/dev/null"; | |
| my $stdout = "/dev/null"; | |
| my $stderr = "/dev/null"; |
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 <stdlib.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdbool.h> | |
| #include <assert.h> | |
| typedef struct node | |
| { | |
| char *data; | |
| size_t 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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdbool.h> | |
| #include <assert.h> | |
| #include <string.h> | |
| typedef struct node | |
| { | |
| char *data; | |
| size_t size; |