Skip to content

Instantly share code, notes, and snippets.

View jimt's full-sized avatar

Jim Tittsler jimt

View GitHub Profile
@lizthegrey
lizthegrey / attributes.rb
Last active September 24, 2024 14:33
Hardening SSH with 2fa
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam'
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes'
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no'
@christoph-frick
christoph-frick / Awesome-Fennel.md
Last active October 9, 2024 12:58
Use fennel to write the awesome-wm config

How to write an awesome-wm config with Fennel

Awesome-WM is a X11 window manager, that is configured via Lua. Fennel is a Lisp for Lua. This shows a general setup of how to write your awesome-wm config using fennel directly without the compilation step (which would also work, but is not needed).

General setup

Fetch a recent Fennel version (the

@dch
dch / mix.exs
Created October 1, 2014 10:09
elixir mix skeleton to talk to couchdb from elixir
defmodule Couch.Mixfile do
use Mix.Project
def project do
[app: :couch,
version: "0.0.1",
elixir: "~> 1.0.0",
deps: deps]
end