I hereby claim:
- I am ariesdevil on github.
- I am ariesdevil (https://keybase.io/ariesdevil) on keybase.
- I have a public key whose fingerprint is 6A4D 9353 CB9F FA5B 3E17 01D2 B201 D8EB 76F9 7C6F
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/python | |
| # @lint-avoid-python-3-compatibility-imports | |
| # | |
| # tcpconnect Trace TCP connect()s. | |
| # For Linux, uses BCC, eBPF. Embedded C. | |
| # | |
| # USAGE: tcpconnect [-h] [-c] [-t] [-p PID] [-P PORT [PORT ...]] | |
| # | |
| # All connection attempts are traced, even if they ultimately fail. | |
| # |
| ### KERNEL TUNING ### | |
| # Increase size of file handles and inode cache | |
| fs.file-max = 2097152 | |
| # Do less swapping | |
| vm.swappiness = 10 | |
| vm.dirty_ratio = 60 | |
| vm.dirty_background_ratio = 2 |
| Homebrew build logs for gcc@8 on macOS 10.15 | |
| Build date: 2019-11-05 00:12:58 |
| #include <iostream> | |
| #include <sstream> | |
| #include <fstream> | |
| /* Serialize a function by writing out a pointer to its location in memory. | |
| * This will only work between two processes running identical binaries. | |
| * | |
| * One difficulty is ASLR: | |
| * Address space layout randomization (ASLR) puts functions in a different | |
| * place in memory everytime a program is loaded. Within a given binary |
for Cloudflare as DDNS
using Cloudflare API v4
put ddns-start at /jffs/scripts/, setting values and set DDNS type to Custom at web Admin panel.
| /* | |
| Check SSE/AVX support. | |
| This application can detect the instruction support of | |
| SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, SSE4a, SSE5, and AVX. | |
| */ | |
| #include <iostream> | |
| #ifdef _MSC_VER | |
| #include <intrin.h> | |
| #endif |
If you don't care about the explanation, scroll down to find the code, it's 50 some odd lines and written by someone who doesn't know any better. You have been warned.
This is a very simple proof of concept jitting RPN calculator implemented in python. Basically, it takes the source code, tokenizes it via whitespace, and asks itself one simple question: am I looking at a number or not?
First, let's talk about the underlying program flow. Pretend that you are a shoe connoisseur with a tiny desk. You may only have two individual shoes on that desk at any one time, but should you ever purchase a new one or get harassed by an unruly shoe salesman without realizing that you have the power to say no (or even maybe?), you can always sweep aside one of the two shoes on the desk (the one on the right, because you're a lefty and you feel that the left side is always superior) onto the messy floor, put the other shoe on the right hand side, and then place your newly acquired shoe in