Skip to content

Instantly share code, notes, and snippets.

local wezterm = require 'wezterm'
local themes = {}
for k, _ in pairs(wezterm.get_builtin_color_schemes()) do
table.insert(themes, k)
end
local fav_themes = {
"SweetTerminal (Gogh)",
"PaulMillr",
@dmilith
dmilith / wezterm.lua
Last active September 16, 2023 21:38
Wezterm Nightly configuration dmilith
local wezterm = require 'wezterm';
local mux = wezterm.mux
local act = wezterm.action
local MY_EDITOR = "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl"
return {
default_cwd = "/Volumes/Projects",
@cfsanderson-fulcrum
cfsanderson-fulcrum / wezterm.lua
Last active September 16, 2023 21:40
My Wezterm config.
--==============================================================================
-- __
-- _ _____ ____ / /____ _________ ___
-- | | /| / / _ \/_ / / __/ _ \/ ___/ __ `__ \
-- | |/ |/ / __/ / /_/ /_/ __/ / / / / / / /
-- |__/|__/\___/ /___/\__/\___/_/ /_/ /_/ /_/
--
--==============================================================================
-- @cfsanderson
@Gavinok
Gavinok / init.el
Last active March 2, 2024 15:41
A minimal emacs configuration using evil mode and use-package
;;; Startup
;;; PACKAGE LIST
(setq package-archives
'(("melpa" . "https://melpa.org/packages/")
("elpa" . "https://elpa.gnu.org/packages/")))
;;; BOOTSTRAP USE-PACKAGE
(package-initialize)
(setq use-package-always-ensure t)
(unless (package-installed-p 'use-package)
@dbramucci
dbramucci / HaskellCheatsheet.hs
Last active April 22, 2024 03:57
A cheatsheet for Haskell syntax.
-- save as HaskellCheatsheet.hs
module HaskellCheatsheet where
-- On Windows, I sometimes have to remove the module line above
-- in order to get GHC to compile the file as an executable instead
-- of a library.
-- Single line comment
{-
@drola
drola / set_nemo_filemanager.sh
Created December 9, 2017 06:14
Set Nemo as the default file manager in Ubuntu 17.10
#!/bin/bash
sudo apt-get install --yes nemo
xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
gsettings set org.gnome.desktop.background show-desktop-icons false
gsettings set org.nemo.desktop show-desktop-icons true
@reborg
reborg / rich-already-answered-that.md
Last active May 8, 2024 14:20
A curated collection of answers that Rich gave throughout the history of Clojure

Rich Already Answered That!

A list of commonly asked questions, design decisions, reasons why Clojure is the way it is as they were answered directly by Rich (even when from many years ago, those answers are pretty much valid today!). Feel free to point friends and colleagues here next time they ask (again). Answers are pasted verbatim (I've made small adjustments for readibility, but never changed a sentence) from mailing lists, articles, chats.

How to use:

  • The link in the table of content jumps at the copy of the answer on this page.
  • The link on the answer itself points back at the original post.

Table of Content

@Hendrixer
Hendrixer / editor.css
Last active March 3, 2024 14:29
VS code custom CSS for theme
.composite-title, .composite-title, .vs-dark .monaco-workbench>.activitybar>.content {
background-color: rgba(40, 44, 52, 1) !important;
}
.tabs-container, .tab, .tab.active, .title-actions, .tablist, .tabs-container, .tabs, .composite.title {
background-color: rgba(40, 44, 52, 1) !important;
}
.tab.active, .tab {
border-right: 0px !important;
@jakerieger
jakerieger / Haskell Cheatsheet.hs
Last active April 29, 2024 13:17
A cheat sheet for the Haskell programming language. Roughly commented.
import Data.List
import System.IO
-- Int: -2^63 to 2^63
minInt = minBound :: Int
maxInt = maxBound :: Int
-- Integer: no range
-- Double: up to 11 points of precision
anonymous
anonymous / blockerList.json
Created June 25, 2015 00:05
Testing Safari Content Blocker on iMore.com
[
{
"action": {
"type": "block"
},
"trigger": {
"url-filter": ".*",
"resource-type": ["script"],
"load-type": ["third-party"],
"if-domain": ["imore.com"]