I hereby claim:
- I am kkrolikowski on github.
- I am kkrolikowski (https://keybase.io/kkrolikowski) on keybase.
- I have a public key whose fingerprint is 8656 43F0 900B 2AF9 A386 7F49 4671 29EA 0B40 AC35
To claim this, I am signing this object:
| from email.parser import BytesParser | |
| from email import policy | |
| from email.mime.text import MIMEText | |
| from email.mime.image import MIMEImage | |
| from email.mime.multipart import MIMEMultipart | |
| from lib.helpers import mail_address_helper, safe_decode | |
| def prepare_email_message(raw_email: bytes, targets: list) -> MIMEMultipart: | |
| ''' |
| section .data | |
| ; ----- | |
| ; Stale | |
| NULL equ 0 | |
| LF equ 10 | |
| EXIT_SUCCESS equ 0 | |
| STDOUT equ 1 |
I hereby claim:
To claim this, I am signing this object:
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> | |
| #include <dirent.h> | |
| #include <unistd.h> | |
| void printdir(char * name); |
| void purgeDir(char * name) { | |
| DIR * d; | |
| struct dirent * entry; | |
| const int pathlen = 256; | |
| char buff[pathlen]; | |
| memset(buff, '\0', pathlen); | |
| strcpy(buff, name); | |
| d = opendir(name); |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <sys/types.h> | |
| #include <dirent.h> | |
| void printdir(char * name); | |
| int main(int argc, char *argv[]) { | |
| printdir(argv[1]); |
| void mkdirtree(char * path) { | |
| int i = 0; | |
| char buff[PATH_MAX]; | |
| memset(buff, '\0', PATH_MAX); | |
| while(*path) { | |
| buff[i] = *path; | |
| if(*path == '/') { | |
| mkdir(buff, 0755); | |
| } |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| typedef struct www { | |
| char * srv_name; | |
| char * srv_alias; | |
| char * doc_root; | |
| } www; | |
| char * jsonVal(const char * json, const char * pattern); |
| #include <stdio.h> | |
| #include <sys/socket.h> | |
| #include <sys/types.h> | |
| #include <arpa/inet.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #include <netinet/in.h> | |
| int main(int argc, char *argv[]) { |
| /* | |
| * randomize.c -- generate random file name | |
| * Author: Krzysztof Krolikowski <[email protected]> | |
| * compilation: | |
| * gcc -o randomize randomize.c | |
| * running: | |
| * ~$ ./randomize | |
| * dyndns_nBXGV0cW | |
| * | |
| */ |