For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
| " hide hidden chars | |
| :set nolist | |
| " show hidden characters in Vim | |
| :set list | |
| " settings for hidden chars | |
| " what particular chars they are displayed with | |
| :set lcs=tab:▒░,trail:▓,nbsp:░ | |
| " or |
| ;; Copyright (c) Alan Dipert. All rights reserved. | |
| ;; The use and distribution terms for this software are covered by the | |
| ;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) | |
| ;; By using this software in any fashion, you are agreeing to be bound by | |
| ;; the terms of this license. | |
| ;; You must not remove this notice, or any other, from this software. | |
| (ns alandipert.kahn | |
| (:require [clojure.set :refer [difference union intersection]])) |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| ;; Datomic example code | |
| ;; | |
| ;; The extent of entity ?x is all datoms that are about ?x. | |
| ;; Drop this into your rules. | |
| ;; | |
| ;; Demonstrates | |
| ;; | |
| ;; 1. recursive query (extent calls itself) | |
| ;; 2. disjunction (different extent bodies are ORed) | |
| ;; 3. component attributes (e.g. your arm is a component, your brother isn't) |
Created by Christopher Manning
This creates a graph with the number of nodes you specify and random edges based on the probability selected. The number indicates how many edges are connected to that node. Red nodes are not connected to any other nodes.
Inspired by this tweet from @ChicagoCDO
Nodes are added to the graph along the path of an Archimedean spiral. This is more pleasing than adding nodes at random locations. This also prevents
[ Launch: d3 force directed layout ] 6543884 by jpmarindiaz[ Launch: d3 force directed layout ] 6526775 by jpmarindiaz[ Launch: Tributary inlet ] 6526707 by jpmarindiaz
| (ns foo.core | |
| (:refer-clojure :exclude [slurp])) | |
| (defmacro slurp [file] | |
| (clojure.core/slurp file)) | |
| ;; In CLJS | |
| (ns bar.core | |
| (:require [foo.core :include-macros true :refer [slurp]])) |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>group</groupId> | |
| <artifactId>dummy</artifactId> | |
| <name>Dummy Project</name> | |
| <version>1.0.12</version> | |
| <packaging>pom</packaging> | |
| <scm> | |
| <connection>scm:git:https://......</connection> | |
| <tag>HEAD</tag> |
| - name: ensure github.com is a known host | |
| lineinfile: | |
| dest: /root/.ssh/known_hosts | |
| create: yes | |
| state: present | |
| line: "{{ lookup('pipe', 'ssh-keyscan -t rsa github.com') }}" | |
| regexp: "^github\\.com" |