Skip to content

Instantly share code, notes, and snippets.

View tapickell's full-sized avatar
🌴
Just happy to be here

Todd Pickell tapickell

🌴
Just happy to be here
View GitHub Profile
@tapickell
tapickell / config.el
Created August 24, 2024 15:51
Doom Emacs OrgMode config
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
;; Place your private configuration here! Remember, you do not need to run 'doom
;; sync' after modifying this file!
;; Some functionality uses this to identify you, e.g. GPG configuration, email
;; clients, file templates and snippets. It is optional.
(setq user-full-name "Todd Pickell"
user-mail-address "[email protected]")
@tapickell
tapickell / .spacemacs
Created August 12, 2024 04:57
.spacemacs org roam
;; -*- mode: emacs-lisp; lexical-binding: t -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Layer configuration:
This function should only modify configuration layer settings."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
;; `+distribution'. For now available distributions are `spacemacs-base'
Current Statie is a Left Fold of previous behaviours (events).
Functional EVent Sourcing Perspective.
A Snapshot is a memoization of the Left Flod.
defmodule Composition do
@identity fn x -> x end
def compose([]), do: @identity
def compose([f]) when is_function(f), do: f
def compose([f, g]) when is_function(f) && is_function(g) do
fn
[] -> f.(g.())
@tapickell
tapickell / clojure_discord.md
Last active July 13, 2024 15:55
clojure_discord

Dear Clojure,

👋 Hello, I am new to this community and a bit hesitant to add anything to this conversation as it feels like this is a deep conversation for those whom have been a part of this community for a long time and are very passionate about the language and tools. But maybe a bit of an outsider looking in perspective could be helpful.

I was first introduced to Clojure in 2016. It was a short stint on a single one off service that we tried in Clojure under the direction of

#!/usr/bin/env bash
sudo yum groups install -y Development\ tools
sudo yum install -y cmake
sudo yum install -y python34-{devel,pip}
sudo pip-3.4 install neovim --upgrade
(
cd "$(mktemp -d)"
git clone https://github.com/neovim/neovim.git
cd neovim
make CMAKE_BUILD_TYPE=Release
# SPDX-FileCopyrightText: Copyright (c) 2021 Kattni Rembor for Adafruit Industries
#
# SPDX-License-Identifier: Unlicense
"""
Rainbow LED grid layout demo for MacroPad. Displays the key pressed in a grid matching the key
layout on the built-in display, and animates a rainbow the first time you press a key and turns it
off on the next press.
"""
import displayio
import terminalio
@tapickell
tapickell / osx_init.vim
Created July 29, 2021 02:47
osx_init.vim
"Plug 'tacahiroy/ctrlp-funky' This vimrc is "inspired" by @moonglum, @garybernhardt and @railsbros-dirk
" Thanks to all of you for letting me steal your stuff :)
" Activate Syntax Highlight
syntax enable
" set default encoding to UTF-8
set encoding=utf-8
" You will have bad experience for diagnostic messages when it's default 4000.
set updatetime=300
@tapickell
tapickell / TurnipPrices.cpp
Created May 11, 2020 18:19 — forked from Treeki/TurnipPrices.cpp
AC:NH turnip price calculator
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
// munged from https://github.com/simontime/Resead
namespace sead
{
class Random
{
#!/bin/bash
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# Copyright (C) 2013 Chuan Ji <[email protected]> #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
# you may not use this file except in compliance with the License. #
# You may obtain a copy of the License at #
# #
# http://www.apache.org/licenses/LICENSE-2.0 #