- Update Varnish service unit files to play nice with Varnish 5.x.
- Add more gzip-able content-types.
- Add note about alternative to Varnish partitioning.
| csplit -k -n 3 export.txt '/^@@@/' {'999'}; for i in xx*; do sed -i '' 's/@@@/---/g' $i; done; for i in xx*; do mv $i `egrep -m1 -e 'slug:.*' $i | sed -e s/[^\]\[A-Za-z0-9~.,_{}\(\)\'\-\+]/-/g -e s/slug--//`.md; done |
| (ql:quickload :drakma) | |
| (ql:quickload :cl-json) | |
| (ql:quickload :plump) | |
| (ql:quickload :babel) | |
| (ql:quickload :tooter) | |
| (ql:quickload :split-sequence) | |
| (defvar *feed-path* "https://lobste.rs/rss") | |
| (setf drakma:*drakma-default-external-format* :UTF-8) |
| ; Short guide to UDP/IP Client/Server programming in Common Lisp using usockets | |
| ; | |
| ; The main reason for this guide is because there are very few examples that | |
| ; explain how to get started with socket programming with Common Lisp that I | |
| ; could understand. | |
| ; After working on a short example on TCP, I found the | |
| ; need for a UDP tutorial. So, here goes. | |
| ; As usual, we will use quicklisp to load usocket. |
| ; Short guide to TCP/IP Client/Server programming in Common Lisp using usockets | |
| ; | |
| ; The main reason for this guide is because there are very few examples that | |
| ; explain how to get started with socket programming with Common Lisp that I | |
| ; could understand. After spending a day trying, I finally came up with a small | |
| ; bit of code that makes it easy to understand the basics. I've written this | |
| ; primarily for myself, but should help others get started as well. | |
| ; As usual, we will use quicklisp to load usocket. |
| (defpackage #:snippets/ql-gitify | |
| (:documentation | |
| "Facilitate creating Git repositories for third-party Quicklisp | |
| projects.") | |
| (:use #:cl) | |
| (:import-from #:constantia #:out #:print-table) | |
| (:import-from #:split-sequence #:split-sequence) | |
| (:import-from #:alexandria #:starts-with-subseq #:hash-table-plist) | |
| (:import-from #:ql #:qmerge) | |
| (:export |
| ;;;; scratch.lisp | |
| (defpackage #:scratch | |
| (:use #:cl #:vecto) | |
| (:import-from #:zpb-ttf | |
| #:xmin | |
| #:xmax)) | |
| (in-package #:scratch) |
| BIOS Setup | |
| ---------- | |
| 1) Boot into the BIOS setup utility (press F2 or DEL) and open Advanced > Serial Port Console Redirection. | |
| 2) Disable COM1 and EMS console redirection and enable SOL redirection. | |
| 3) Set the SOL console redirection settings as follows: | |
| Aptio Setup Utility - Copyright (C) 2012 American Megatrends, Inc. | |
| Advanced | |
| /----------------------------------------------------+-------------------------\ |
| ;;; ox-wp-crayon.el - Wordpress crayon-plugin Backend for Org Export Engine | |
| ;;; overrides org-wp-src-block function of org2blog / ox-wp package, https://github.com/punchagan/org2blog | |
| ;;; Copyright (C) 2017 marco.immel@gmail.com | |
| ;;; Version: 20170110-1 | |
| ;; This program is free software: you can redistribute it and/or modify | |
| ;; it under the terms of the GNU General Public License as published by | |
| ;; the Free Software Foundation, either version 3 of the License, or | |
| ;; (at your option) any later version. |
| # Basically the nginx configuration I use at konklone.com. | |
| # I check it using https://www.ssllabs.com/ssltest/analyze.html?d=konklone.com | |
| # | |
| # To provide feedback, please tweet at @konklone or email eric@konklone.com. | |
| # Comments on gists don't notify the author. | |
| # | |
| # Thanks to WubTheCaptain (https://wubthecaptain.eu) for his help and ciphersuites. | |
| # Thanks to Ilya Grigorik (https://www.igvita.com) for constant inspiration. | |
| server { |