using SSH:
- log in to AP:
$ ssh ubnt@<IP> - default username & password:
ubnt&ubnt
| Command | Example | Function |
|---|
| # (0) Replace the gateway server name and the subnet address with your own values. | |
| # (1) Put this file into ~/.config/systemd/user/sshuttle.service | |
| # (2) Invoke `systemctl --user daemon-reload` | |
| # (3) Invoke `systemctl --user start sshuttle.service` | |
| [Unit] | |
| Description=sshuttle | |
| Requires=gpg-agent-ssh.socket | |
| After=gpg-agent-ssh.socket |
| #!/usr/bin/env python3 | |
| ''' | |
| Extract the most commonly used stickers from your Telegram chat history as: | |
| - a JSON obj mapping sticker paths to the number of times sent; or | |
| - the above in text; or | |
| - a simple webpage showing all the stickers. | |
| ''' | |
| _epilog = '''\ | |
| To get your Telegram chat history: |
| # ----------------------------------- | |
| # MAKEFILE VARS | |
| # ----------------------------------- | |
| .DEFAULT_GOAL := help | |
| .PHONY: test | |
| # ----------------------------------- | |
| # MAKE TARGETS |
| # Copyright (c) 2021, Roman Miroshnychenko | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: | |
| # | |
| # The above copyright notice and this permission notice shall be included in all |
| from enum import Enum | |
| from typing import Final | |
| class TextFormatter: | |
| """ | |
| Info Point | |
| - How to colorize "text"? FORMATTING_SEQ+"text"+RESET_SEQ | |
| - What's FORMATTING_SEQ? "\033[1;44m" | |
| - "\033": The 033 (octal) or \x1b (hexadecimal) are equivalents for 27 that is the escape character code. |
| import random | |
| global keygen, intmap | |
| keygen = "" | |
| intmap = [ | |
| "2", | |
| "3", | |
| "7", | |
| "a", | |
| "b", |
| # Copyright Andy Chu | |
| class switch(object): | |
| """A ContextManager that translates to a C switch statement.""" | |
| def __init__(self, value): | |
| # type: (int) -> None | |
| self.value = value | |
| def __enter__(self): | |
| # type: () -> switch |
| // Deobfuscated code for https://github.com/exalpha-dev/exalpha-dev.github.io | |
| // Commit ae838c4 | |
| // useless func that does nothing | |
| // (function (shiyu, jennielee) { | |
| // var sherece = mohmmad, chumani = shiyu(); | |
| // while (true) { | |
| // try { | |
| // var lorette = parseInt('527166rkeZox') / 1 + | |
| // parseInt(sherece(370)) / 2 * (-parseInt(sherece(371)) / 3) + |
| #!/bin/bash | |
| # ----- work space config ----- | |
| WORKDIR="$(pwd)" | |
| SRCDIR="${WORKDIR}/src" | |
| BUILDDIR="${WORKDIR}/build" | |
| LOGDIR="${WORKDIR}/log" | |
| # ----- package config ----- | |
| NAME="python" |