Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

xkef

🎯
Focusing
  • Zürich
Block or report user

Report or block xkef

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@xkef
xkef / CrawlCourseWebsite_InfosecETH.sh
Created Jun 3, 2019
crawl courseware from school website
View CrawlCourseWebsite_InfosecETH.sh
#!/usr/bin/env bash
# params
URL="https://www.ethz.ch/content/specialinterest/infk/information-security/information-security-group/en/education/ss2019/infsec/course_material_secured.html"
COOKIE="Cookie:_shibsession_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
# prepare tmp fs
cd /tmp; mkdir infosec; cd infosec
# fetch links of pdfs from html index
@xkef
xkef / shell.txt
Last active May 16, 2019
zsh vim ...
View shell.txt
https://www.youtube.com/watch?v=gU5nFonVEh0
## 16/05/19
❯ lsof -i -n -P | grep node 0.17s [master] ~/code/curl
node 764 xkef 15u IPv4 0x2069afb6333f5135 0t0 TCP 127.0.0.1:49395 (LISTEN)
node 764 xkef 19u IPv4 0x2069afb6333f47b5 0t0 TCP 127.0.0.1:49396 (LISTEN)
❯ mtr 8.8.8.8.
@xkef
xkef / architecture.txt
Last active May 4, 2019
backend architecture
View architecture.txt
+--------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| | |
| | caching / batching / hashing / pubsubbing of queries |
| | |
|
@xkef
xkef / frameworks_services.md
Last active Apr 28, 2019
Frameworks & Services
@xkef
xkef / image.svg
Last active Apr 20, 2019
regex.md
View image.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@xkef
xkef / README.md
Created Apr 11, 2019 — forked from magnetikonline/README.md
Setting Nginx FastCGI response buffer sizes.
View README.md
@xkef
xkef / http_streaming.md
Created Apr 11, 2019 — forked from CMCDragonkai/http_streaming.md
HTTP Streaming (or Chunked vs Store & Forward)
View http_streaming.md

HTTP Streaming (or Chunked vs Store & Forward)

The standard way of understanding the HTTP protocol is via the request reply pattern. Each HTTP transaction consists of a finitely bounded HTTP request and a finitely bounded HTTP response.

However it's also possible for both parts of an HTTP 1.1 transaction to stream their possibly infinitely bounded data. The advantages is that the sender can send data that is beyond the sender's memory limit, and the receiver can act on

@xkef
xkef / HAclustering.md
Created Mar 21, 2019
High Availability (HA) and Clustering: 2-Node (Master / Slave) PostgreSQL Cluster
@xkef
xkef / TypesettingAndParsing.md
Created Mar 20, 2019
Typesetting and Parsing
View TypesettingAndParsing.md

Basic Typesettings

patorjk: ascii fonts

                                .-.   .-.             /    \                       (   )
  .---.      .--.      .--.    ( __) ( __)            | .`. ;    .--.    ___ .-.    | |_         .--.
 / .-, \   /  _  \    /    \   (''") (''")            | |(___)  /    \  (   )   \  (   __)     /  _  \
(__) ; |  . .' `. ;  |  .-. ;   | |   | |             | |_     |  .-. ;  |  .-. .   | |       . .' `. ;
  .'`  |  | '   | |  |  |(___)  | |   | |            (   __)   | |  | |  | |  | |   | | ___   | '   | |
You can’t perform that action at this time.