Required tools for playing around with memory:
hexdumpobjdumpreadelfxxdgcore
| #!/bin/bash | |
| INTERVAL="1" # update interval in seconds | |
| if [ -z "$1" ]; then | |
| echo | |
| echo usage: $0 [network-interface] | |
| echo | |
| echo e.g. $0 eth0 | |
| echo |
| (require 'erlang) | |
| (require 'company-erlang) | |
| (add-hook 'erlang-mode-hook #'company-erlang-init) | |
| (add-to-list 'load-path "~/.emacs.d/pkg/distel/elisp") | |
| (require 'distel) | |
| (distel-setup) | |
| (defconst distel-shell-keys | |
| '(("\C-\M-i" erl-complete) | |
| ("\M-?" erl-complete) |
| From 966471712184cfb3b067f2ae8dad9d8e2a896cae Mon Sep 17 00:00:00 2001 | |
| From: Bearice Ren <[email protected]> | |
| Date: Tue, 20 Sep 2016 11:52:08 +0800 | |
| Subject: [PATCH] add filter-aaaa option | |
| --- | |
| src/dnsmasq.h | 3 ++- | |
| src/option.c | 3 +++ | |
| src/rfc1035.c | 9 +++++++++ | |
| 3 files changed, 14 insertions(+), 1 deletion(-) |
| (defun erlang-after-arrow () | |
| "Return true if point is immediately after a function arrow (`->'). | |
| Make a special case when in a spec line." | |
| (and | |
| (save-excursion | |
| (beginning-of-line) | |
| (not (save-match-data (looking-at "-\\(spec\\|type\\)")))) | |
| (and (>= (point) 2) | |
| (and | |
| (save-excursion |
git config --global color.ui always
git config --global color.branch always
git config --global color.diff always
git config --global color.interactive always
git config --global color.status always
git config --global color.grep always
git config --global color.pager true# /etc/sysct.conf
# only values specific for ipsec/l2tp functioning are shown here. merge with existing file
net.ipv4.ip_forward = 1
net.ipv4.conf.default.rp_filter = 0
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.default.send_redirects = 0
net.ipv4.icmp_ignore_bogus_error_responses = 1