Skip to content

Instantly share code, notes, and snippets.

View Tknott95's full-sized avatar
🍀

TKnott Tknott95

🍀
View GitHub Profile
@Tknott95
Tknott95 / gist:2dfbab00296edad51ab34589c50b2584
Created August 26, 2017 04:36
Backend in Elixir w/ Phoenix and Erlang VM
https://evening-dusk-42226.herokuapp.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.
git config --global --add url."git@github.com:".insteadOf "https://github.com/"
Adobe Premier Elements
@Tknott95
Tknott95 / trevorknott-angular-install-node.txt
Created January 3, 2018 15:23
How to install NodeJS, AngularJS Windows 10 Way (No NVM w/ W10)- Trevor Knott
1) Open terminal or powershell
*) (Optional) Install git bash for the terminal
2) type in $ node -v
"Checks if node is indeed installed"
3) If command does not return a version install node via. the website (No NVM with winfows, better in my opinion)
4) Link for Node DL https://nodejs.org/en/
5) check install by step 2) "node -v"
6) Install AngularJS (Angular5 atm)
7) Open terminal or git bash and type
$ npm i -g @angular/core
@Tknott95
Tknott95 / gist:f11f9ae2c93d2a19d59e986b802bb95c
Created February 4, 2018 21:15
Git error: Failed to resolve HEAD as a valid ref.
#TO FIX Git error: Failed to resolve HEAD as a valid ref.
##### cd into repo
$ cd ~/Workspace/MyProject/
##### remove .git recursively (Just do it this way so it restores proper)
$ rm -rf .git
###### Initialize a new repo
$ git init
@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 / gist:7cb2cbd81a3abc43baa44b413b973aa0
Last active February 26, 2018 05:43
PRIVATE go get STATEMENTS (noob hack git remote origin = non-noob) git config --global --add url."git@github.com:".insteadOf "https://github.com/"
git config --global --add url."git@github.com:".insteadOf "https://github.com/"
@Tknott95
Tknott95 / Live Reload Broken Linux
Created February 26, 2018 05:42
FIXES LIVE RELOADER TYPESCRIPT WEBPACK NODE ANGULAR
IN TERMINAL ENTER
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
FIXES LIVE RELOADER
TYPESCRIPT WEBPACK NODE ANGULAR
@Tknott95
Tknott95 / gist:16e68a81944f4457cb7e8fd18c33655e
Created March 2, 2018 05:18
Custom ~/.bashrc Arch Linux
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '