Build Emacs 27 from source code and install Doom Emacs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Debugger entered--Lisp error: (wrong-number-of-arguments setq 1) | |
| (setq mu4e-sent-messages-behavior) | |
| (closure (t) nil (setq mu4e-update-interval 60) (setq mu4e-sent-messages-behavior) (setq mu4e-use-fancy-chars nil) (require 'smtpmail nil nil) (setq message-send-mail-function 'smtpmail-send-it smtpmail-stream-type 'starttls) (setq mu4e-maildir "~/.mail") (setq mu4e-get-mail-command "mbsync -V -a") (setq mu4e-change-filenames-when-moving t) (setq mu4e-hide-index-messages t) (setq mu4e-enable-mode-line t) (setq message-kill-buffer-on-exit t) (setq mu4e-html2text-command 'mu4e-shr2text) (setq shr-color-visible-luminance-min 80) (setq mu4e-view-show-images t) (if (fboundp 'imagemagick-register-types) (progn (imagemagick-register-types))) (setq mu4e-compose-signature-auto-include nil mu4e-compose-signature "") (remove-hook 'mu4e-compose-mode-hook 'flyspell-mode) (setq mu4e-headers-include-related nil) (setq mue4e-headers-skip-duplicates t) (setq mu4e-view-show-addresses t) (setq mu4e-split-view 'horizontal) (se |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 24 Apr 2018: Amazon DNS Hijacked by eNet | |
| https://twitter.com/InternetIntel/status/988792927068610561 | |
| Table compiled with data using CAIDA's BGPStream (http://bgpstream.caida.org/) | |
| |--------+------+-------------------+------------+---------------------+----------+-----------------+------------------+-----------------+------------------------------+-----------| | |
| | Update | Type | Time | Project | Collector | Peer ASN | Peer IP | Prefix | Nexthop | AS path | Origin AS | | |
| |--------+------+-------------------+------------+---------------------+----------+-----------------+------------------+-----------------+------------------------------+-----------| | |
| | U | A | 1524567942.000000 | routeviews | route-views.chicago | 32709 | 206.223.119.134 | 205.251.192.0/24 | 206.223.119.134 | 32709 6939 10297 | 10297 | | |
| | U | A | 1524567945.000000 | routeviews | route-views.chicago | 293 | 206.223.119.58 | 205.251.192.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| $setup_system = <<-SCRIPT | |
| apt update | |
| apt upgrade -y | |
| apt autoremove -y | |
| # utilitities | |
| apt install -y screen vim git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| CAIDA_REPO_URL=https://pkg.caida.org/os/ubuntu | |
| sudo apt-get update | |
| sudo apt-get install -y curl apt-transport-https ssl-cert ca-certificates gnupg lsb-release | |
| # wandio repo | |
| echo "deb https://dl.bintray.com/wand/general $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/wand.list | |
| curl --silent "https://bintray.com/user/downloadSubjectPublicKey?username=wand" | sudo apt-key add - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| Vagrant.configure("2") do |config| | |
| #### LTS VERSIONS #### | |
| # 18.04 | |
| config.vm.define "bionic" , primary: true do |bionic| | |
| bionic.vm.box = "ubuntu/bionic64" | |
| bionic.vm.box_check_update = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import pybgpstream | |
| stream = pybgpstream.BGPStream( | |
| from_time="2017-07-07 00:00:00", until_time="2017-07-07 00:10:00 UTC", | |
| collectors=["route-views.sg", "route-views.eqix"], | |
| record_type="updates", | |
| filter="peer 11666 and prefix more 210.180.0.0/16" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| filelist=( | |
| "http://data.ris.ripe.net/rrc00/2019.11/updates.20191115.1725.gz" | |
| "http://data.ris.ripe.net/rrc00/2019.11/updates.20191115.1720.gz" | |
| "http://data.ris.ripe.net/rrc00/2019.11/updates.20191115.1715.gz" | |
| "http://data.ris.ripe.net/rrc00/2019.11/updates.20191115.1710.gz" | |
| "http://data.ris.ripe.net/rrc00/2019.11/updates.20191115.1705.gz" | |
| "http://data.ris.ripe.net/rrc00/2019.11/updates.20191115.1700.gz" | |
| "http://data.ris.ripe.net/rrc00/2019.11/updates.20191115.1625.gz" | |
| "http://data.ris.ripe.net/rrc00/2019.11/updates.20191115.1620.gz" | |
| "http://data.ris.ripe.net/rrc00/2019.11/updates.20191115.1615.gz" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @font-face{ | |
| font-family: 'JetBrains Mono'; | |
| src: url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/eot/JetBrainsMono-Regular.eot') format('embedded-opentype'), | |
| url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff2/JetBrainsMono-Regular.woff2') format('woff2'), | |
| url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff/JetBrainsMono-Regular.woff') format('woff'), | |
| url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/ttf/JetBrainsMono-Regular.ttf') format('truetype'); | |
| font-weight: normal; | |
| font-style: normal; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defun unix-ts-to-str (&optional time zone) | |
| "Convert unix timestamp integer to human-readable string in RFC3339 format." | |
| (interactive "nTimestamp: ") | |
| (setq zone (or zone "UTC")) | |
| (setq ts-str (format "%s" (or time (current-word)))) | |
| (if (numberp (read ts-str)) | |
| (progn | |
| (setq ts-int (string-to-number ts-str)) | |
| ;; send message to Message buffer | |
| ;; copy to kill-ring (clipboard) |