ne02ptzero.me

my old website
Log | Files | Refs | LICENSE | git clone https://git.ne02ptzero.me/git/ne02ptzero.me

commit d1f03c4996cfb8c83c06ec67a65f68c4feabf97a
parent a6278257d26d6699e403eb9fe7c06d4e773d21c8
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Thu,  6 Apr 2017 15:55:18 +0200

Fix(Add Links): Freenode, GPG key, new title

Diffstat:
Mmain.js | 2+-
Apublic.key | 31+++++++++++++++++++++++++++++++
Mstyle.css | 10++++++++++
3 files changed, 42 insertions(+), 1 deletion(-)

diff --git a/main.js b/main.js @@ -350,7 +350,7 @@ var html = [ var html2 = ["\n<!-- Muuuuch better. ^2000What a beautiful site. ^1500Could use some more style though. -->"]; -var o_html = '<h1>Louis</h1><a href="https://github.com/ne02ptzero/"><i class="fa fa-github"></i></a><a href="http://twitter.com/ne02ptzero"><i class="fa fa-twitter"></i></a><a href="cv.pdf"><i class="fa fa-file-pdf-o"></i></a><br /><br /><a class="mail" href="mailto:louis@ne02ptzero.me">louis@ne02ptzero.me</a>'; +var o_html = '<h1><span class="small-title">0x1</span> Louis</h1><a href="https://github.com/ne02ptzero/"><i class="fa fa-github"></i></a><a href="http://twitter.com/ne02ptzero"><i class="fa fa-twitter"></i></a><a href="cv.pdf"><i class="fa fa-file-pdf-o"></i></a><br /><br /><a class="mail" href="mailto:louis@ne02ptzero.me"><i class="fa fa-envelope little"></i>louis[at]ne02ptzero[dot]me</a><br /><a href="public.key"><i class="fa fa-lock little" aria-hidden="true"></i>GPG Public Key</a><br /><a href="https://webchat.freenode.net/"><i class="fa fa-comment little"></i>#freenode/Ne02ptzero</a>'; var file = '#include <netinet/in.h>\n#include <sys/socket.h>\n#include <sys/stat.h>\n#include <sys/types.h>\n#include <unistd.h>\n#include <stdlib.h>\n#include <fcntl.h>\n#include <stdio.h>\n#include <string.h>\n\nint main(void) {\n int c_sock, n_sock, bufsize = 1024, fd;\n socklen_t addrlen;\n char *buffer = malloc(bufsize * sizeof(char)), str[65];\n struct sockaddr_in addr;\n struct stat stat_buf;\n\n if ((c_sock = socket(AF_INET, SOCK_STREAM, 0)) == -1 || !buffer) { return 1; }\n addr.sin_family = AF_INET; addr.sin_addr.s_addr = INADDR_ANY; addr.sin_port = htons(80);\n if (bind(c_sock, (struct sockaddr *)&addr, sizeof(addr)) != 0) { return 1; }\n while (1) {\n if (listen(c_sock, 10) < 0) { return 1; }\n fd = open("index.html", O_RDONLY);\n if ((n_sock = accept(c_sock, (struct sockaddr *)&addr, &addrlen)) < 0 || fd == -1) { return 1; }\n recv(n_sock, buffer, bufsize, 0);\n fstat(fd, &stat_buf);\n sprintf(str, "HTTP/1.1 200 OK\\nContent-length: %d\\nContent-type: text/html\\n\\n", stat_buf.st_size);\n write(n_sock, str, strlen(str));\n if (sendfile(n_sock, fd, NULL, stat_buf.st_size) == -1) { return 1; }\n close(n_sock);\n close(fd);\n }\n close(c_sock);\n free(buffer);\n return 0;\n}'; diff --git a/public.key b/public.key @@ -0,0 +1,31 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1 + +mQENBFhP0yYBCADPW7l38s/iBeKH38EgArRxaD2tlPUqPUfiZvDaEg6XUARt1UoA +GlcViU3EeOlApZzEsxgL2jNhkwlrDchfrWGFAhjA7aD7IpVv4Zsas/8IS4A8pbH6 +0g+r3o/nd9EZUgOjjz5iceOAeEVe0w8ghzkD10Rmf/FR/02vcqPsV31s85vWhnih +SaLqYb4Y/++ivtvSc1uOB4UPl1JcOQGtDIjgOV+Sm726McJvl7AnZvuz0CGJv3g1 +4RJke4BfDLFZO85PXbaU24jB36NA8LoB8lawbBKNxGuSLOdzfV2cuF5HzL1i8cnN +ebaC/Fc1Lcpg/b4euIqS+c2et+JfWUoEORNVABEBAAG0M0xvdWlzIFNvbG9mcml6 +em8gKE5lMDJwdHplcm8pIDxsb3Vpc0BuZTAycHR6ZXJvLm1lPokBOAQTAQIAIgUC +WE/TJgIbAwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF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6y7yzxkM4OTgRoS/9FFQntZrYAl4odzeGNf+41pGN40+RqrXi +2GE= +=87VF +-----END PGP PUBLIC KEY BLOCK----- diff --git a/style.css b/style.css @@ -129,6 +129,15 @@ body { } +.little { + font-size: large !important; + margin-right: 10px !important; +} + +.small-title { + font-weight: 100; +} + .typed-cursor{ opacity: 1; -webkit-animation: blink 0.7s infinite; @@ -151,3 +160,4 @@ body { 100% { opacity:1; } } +