If programming is more than just a means of getting things done for you, then Common Lisp is for you!
Table of Contents
If programming is more than just a means of getting things done for you, then Common Lisp is for you!
Table of Contents
| ;; Copyright 2020 Nicolas Rougier - BSD License | |
| ;; Usage: emacs -q -l bordered.el | |
| (set-face-font 'default "Roboto Mono Light 14") | |
| (setq default-frame-alist | |
| (append (list '(width . 72) '(height . 40) | |
| '(vertical-scroll-bars . nil) | |
| '(internal-border-width . 0) | |
| '(font . "Roboto Mono Light 14")))) | |
| (set-frame-parameter (selected-frame) | |
| 'internal-border-width 0) |
| ################################################################################ | |
| # sox cheat sheet | |
| ################################################################################ | |
| # Example commands for the sox command-line audio processing tool, | |
| # for manipulating or batch processing audio files. | |
| ################################################################################ | |
| # Daniel Jones <[email protected]> | |
| ################################################################################ | |
| ################################################################################ |
| ;; see my config for the other parts: | |
| ;; | |
| ;; https://github.com/creichert/dotfiles/blob/master/emacs/.gnus | |
| ;; | |
| ;; I typically put the below settings into a file called `gnus-private.el`, | |
| ;; and require that into my gnus to populate these settings. | |
| ;; | |
| ;; https://github.com/creichert/dotfiles/blob/master/emacs/.gnus#L61 |
| #!/bin/bash | |
| if [ -z "$1" ] | |
| then | |
| echo "Extract certificate and private key from pfx file for configuring TLS endpoints" | |
| echo "Please provide pfx file as first argument" | |
| exit 1 | |
| fi | |
| read -p "Please enter import password: " PASS |
| ;;;; A webserver in Emacs, because why not. | |
| ;;;; Basically a fast replacement for serve_this in Fish. | |
| (use-package web-server | |
| :config | |
| (defvar my/file-server nil "Is the file server running? Holds an instance if so.") | |
| (defun my/ws-start (handlers port &optional log-buffer &rest network-args) |
These are the steps I went through to set up an SSL cert. Purchase the cert
Prior to purchasing a cert, you need to generate a private key, and a CSR file (Certificate Signing Request). You’ll be asked for the content of the CSR file when ordering the certificate:
openssl req -new -newkey rsa:2048 -nodes -keyout example_com.key -out example_com.csr
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "strings" | |
| "time" |
| ############################################################################### | |
| # Install mongoDB Server on Ubuntu 16.04 LTS | |
| ############################################################################### | |
| # Import the Public Key used by the Ubuntu Package Manager | |
| apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 | |
| # Create a file list for mongoDB to fetch the current repository | |
| echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.4.list |
| # read cloudtrail things dropped off at s3, put them in ES | |
| service: cloudtrailindexer | |
| provider: | |
| name: aws | |
| runtime: python2.7 | |
| # you can overwrite defaults here | |
| # stage: dev | |
| region: us-west-2 |