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 / 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

@tapickell
tapickell / perspectives.md
Created July 11, 2024 13:20
Perspectives

Wise Developer

  • Junior developers take simple requirements and create complex code
  • Senior developers take complex requirements and create simple code
#!/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 <jichuan89@gmail.com> #
# #
# 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 #
@tapickell
tapickell / net_speed.sh
Created April 30, 2019 00:16
net_speed of one nic
#!/bin/sh
SLP=1 # output / sleep interval
DEVICE=$1
IS_GOOD=0
for GOOD_DEVICE in `grep \: /proc/net/dev | awk -F: '{print $1}'`; do
if [ "$DEVICE" = $GOOD_DEVICE ]; then
IS_GOOD=1
break
fi
@tapickell
tapickell / .zshrc
Created April 13, 2019 14:58
zshrc from x240
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="nt9"
plugins=(command-not-found history cabal mosh mix rebar nvm battery docker git aws jsontools last-working-dir npm debian pip redis-cli sudo web-search)
@tapickell
tapickell / .xinitrc
Created April 13, 2019 14:53
xinit config from x240
setxkbmap -option 'caps:ctrl_modifier'
xinput set-prop "SynPS/2 Synaptics TouchPad" "Tapping Enabled" 1
xinput set-prop "SynPS/2 Synaptics TouchPad" "Tapping Enabled Default" 1
xinput set-prop "SynPS/2 Synaptics TouchPad" "Natural Scrolling Enabled" 1