Skip to content

Instantly share code, notes, and snippets.

View Tknott95's full-sized avatar
🍀

TKnott Tknott95

🍀
View GitHub Profile
git config --global url."git@github.com:".insteadOf "https://github.com/"
@Tknott95
Tknott95 / gist:69f65cb684fc556b00ccbe880670a977
Created August 26, 2017 07:10
CHris Eubank Sr About Mcgregor night befor gith August 25
Out of the night that covers me,
Black as the pit from pole to pole,
I thank whatever gods may be
For my unconquerable soul.
In the fell clutch of circumstance
I have not winced nor cried aloud.
Under the bludgeonings of chance
My head is bloody, but unbowed.
@Tknott95
Tknott95 / gist:cc860a04ad84891fc273d19b40e49326
Last active April 12, 2019 02:38
Letter to Pythocles Epicurus

This letter contains explanations of various celestial phenomena along with some pro-empiricist epistemological remarks and ethical justifications for scientific study:

Epicurus to Pythocles, greeting:

In your letter to me, of which Cleon was the bearer, you continue to show me affection which I have merited by my devotion to you, and you try, not without success, to recall the considerations which make for a happy life. To aid your memory you ask me for a clear and concise statement respecting celestial phenomena; for what we have written on this subject elsewhere is, you tell me, hard to remember, although you have my books constantly with you. I was glad to receive your request and am full of pleasant expectations. We will then complete our writing and grant all you ask. Many others besides you will find these reasonings useful, and especially those who have but recently made acquaintance with the true story of nature and those who are attached to pursuits which go deeper than any part of ordinary educat

Non timebo mala
@Tknott95
Tknott95 / arch-firmware-aicwd-fix.md
Last active May 13, 2019 07:16
Arch Linux Missing Firmware | Possibly missing firmware for module: aic94xx wd719x

ARCH LINUX MISSING FIRMWARE FIX

Problem

** In Arch Linux mkinitcpio -p linux and/or boot shows error messages **
  ** Possibly missing firmware for module: aic94xx **
  ** Possibly missing firmware for module: wd719x **
@Tknott95
Tknott95 / unpopulated-fix-keyring.md
Last active May 13, 2019 07:16
Random FIX for Errors Regarding unpopulated keyring | installing<PKG-HERE> breaks dependency <PKG-HERE> |

ARCH LINUX - POPULATING A KEYRING

FIX for errors regarding

| unpopulated keyring |

alt text

IN CLI/SHELL ENTER:

@Tknott95
Tknott95 / arch-linux-install
Created February 21, 2018 21:19 — forked from binaerbaum/arch-linux-install
Minimal instructions for installing arch linux on an UEFI NVMe system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swiss-french keymap
@Tknott95
Tknott95 / nietzsche.MD
Last active December 26, 2019 11:47
“And those who were seen dancing were thought to be insane by those who could not hear the music.” ~Nietzsche
  “And those who were seen dancing were thought to be insane by those who could not hear the music.”
~Nietzsche
@jason2506
jason2506 / tree.hs
Created March 29, 2012 20:05
[Haskell Practice] binary search tree
-- define data type
data Tree a = EmptyTree | Node a (Tree a, Tree a) deriving (Show, Read, Eq)
-- create single node
treeNode :: a -> Tree a
treeNode item = Node item (EmptyTree, EmptyTree)
-- covert from/to list
treeFromList :: (Ord a) => [a] -> Tree a
treeFromList items = foldr treeInsert EmptyTree $ reverse items
@mikehaertl
mikehaertl / gist:3258427
Created August 4, 2012 15:40
Learn you a Haskell - In a nutshell

Learn you a Haskell - In a nutshell

This is a summary of the "Learn You A Haskell" online book under http://learnyouahaskell.com/chapters.


1. Introduction

  • Haskell is a functional programming language.