I hereby claim:
- I am Neui on github.
- I am neui (https://keybase.io/neui) on keybase.
- I have a public key whose fingerprint is 679F 0FAE 003D 0C50 82AE 6C7A 6B25 ABEC 43BC 2A5D
To claim this, I am signing this object:
| -- Made by Neui | |
| --[[ MIGHT BE INACCURATE | |
| Calculates all friday the 13rd on a per year basis. | |
| ========================================================== | |
| It does not depend on the lua date functions while | |
| determing if there is a friday the 13rd in this month. | |
| It is counting the days since year '0'. It seems to line | |
| up with the dates since 1970. | |
| ========================================================== | |
| Ueses the following externial functions: |
| // Made by Neui | |
| // === DEMO CONTROL === | |
| // This script should help you controlling a demo | |
| // using the keyboard (numpad). | |
| // = BINDINGS = | |
| // bind <key> "alias" | |
| // KEYPAD: KP_HOME 7 (Home) +------+------+------+------+ | |
| // KP_UPARROW 8 (Up Arrow) | NUM |KP_ |KP_MUL|KP_ | | |
| // KP_PGUP 9 (Page Up) | LOCK | SLASH|TIPLY | MINUS| |
| // Made by Neui | |
| // playaround is a script that set settings | |
| // for playin' around and testing | |
| echo Loading Settings for playin' around | |
| // Needed for settings | |
| sv_cheats 1 | |
| // Set Roundtime to the max, 60 minutes | |
| mp_roundtime 60 |
| # Made by Neui | |
| export PS1="\$(pwd | sed -e 's,/cygdrive/\([a-zA-Z0-9]\)\(/\)\?,\\\u\1:\\\\\\,' -e 's,^/\(home/\)\?root,C:\\\\\\Users\\\\\\\Administrator,' -e 's,^/home,C:\\\\\\Users,' -e 's,^/boot,C:\\\\\\\Windows,' -e 's,^/\(mnt/\|media/\)\?cdrom,D:\\\\\\,' -e 's,^/,C:\\\\\\,' -e 's,/,\\\\\,g')> " | |
| # /cygdrive/x -> x:\ | |
| # / -> C:\ | |
| # /boot -> C:\Windows | |
| # /home -> C:\Users (Vista+-like naming) | |
| # /root /home/root -> C:\Users\Administrator | |
| # /mnt/cdrom /media/cdrom /cdrom -> D:\ | |
| # All / -> \ |
| #include <stdio.h> /* For printf, fflush and setbuf */ | |
| #include <unistd.h> /* For sleep'ing */ | |
| int main() { | |
| int prev = 0, curr, changed, temp; | |
| setbuf(stdout, NULL); // Unbuffered | |
| for (curr = 0; curr <= 511; curr++) { | |
| changed = curr ^ prev; | |
| prev = curr; | |
| #include <stdio.h> | |
| /* Stolen from https://stackoverflow.com/a/2308651 */ | |
| #define PP_NARG(...) \ | |
| PP_NARG_(__VA_ARGS__,PP_RSEQ_N()) | |
| #define PP_NARG_(...) \ | |
| PP_ARG_N(__VA_ARGS__) | |
| #define PP_ARG_N( \ | |
| _1, _2, _3, _4, _5, _6, _7, _8, _9,_10, \ |
I hereby claim:
To claim this, I am signing this object:
| #include<cstring> | |
| #include<memory> | |
| #include<cstdio> | |
| #include<cstdlib> | |
| #include<limits> | |
| #include<cassert> | |
| template<class T, bool be = false> struct RawMemoryAccess { | |
| struct Proxy { | |
| uint8_t *memory; |