Skip to content

Instantly share code, notes, and snippets.

@luk4hn
luk4hn / unbound-osx-homebrew.md
Created November 19, 2018 13:56 — forked from denji/unbound-osx-homebrew.md
Install unbound DNS(SEC) resolver on OS X, on the basis of https://www.spatof.org/blog/unbound-dns-resolver-on-osx.html
To install unbound you can use homebrew
$ brew install unbound ldns
Now we can edit the configuration file of unbound which by default is located in /usr/local/etc/unbound/unbound.conf:
@luk4hn
luk4hn / ARCH_INSTALL.MD
Created July 27, 2018 13:12 — forked from heppu/ARCH_INSTALL.MD
Installing Arch with GPT, dm-crypt, LUKS, LVM and systemd-boot

Create bootable USB

dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx status=progress && sync

Boot from USB and set prepare system

loadkeys <your-keymap>
@luk4hn
luk4hn / README.md
Created September 20, 2016 02:33 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


Index:

@luk4hn
luk4hn / gist:b8e44f953307c4bd4e2887c33a7b353b
Created September 20, 2016 02:32 — forked from icy/gist:703eb4e362088b53f1e8
See how nginx includes its files
#!/bin/bash
# Purpose:
# See how nginx loads/includes its configuration files
# Very useful to detect quickly where there errors come from.
# Author : Anh K. Huynh
# Date : 2015 Aug 14th
# License: MIT
# Notes :
# Some system has a different level. Here it's 3.
@luk4hn
luk4hn / nginx.conf
Created August 15, 2014 14:02 — forked from morhekil/nginx.conf
Full request/response body logging in nginx
http {
log_format bodylog '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent" $request_time '
'<"$request_body" >"$resp_body"';
lua_need_request_body on;
set $resp_body "";
body_filter_by_lua '