Skip to content

Instantly share code, notes, and snippets.

@crazy-matt
crazy-matt / install_cmatrix.sh
Last active March 5, 2020 22:08
Install cmatrix to be executed randomly after a clear command run
#!/usr/bin/env bash
# reference: https://adammusciano.com/2020/03/04/2020-03-04-clear-your-terminal-in-style/
## INSTALL GUIDE
## * 1 single line to dowload & run the installation script:
## brew install python || yum install -y python-pip || apt install -f python-pip && pip install getgist && cd /tmp && getgist adjogahm /tmp/install_cmatrix.sh && bash /tmp/install_cmatrix.sh && cd - && clear
if [ -f "${HOME}/.bash_aliases" ]; then
FILE="${HOME}/.bash_aliases"
@crazy-matt
crazy-matt / OpenWithSublimeText3.bat
Created October 28, 2019 11:29 — forked from jackielii/OpenWithSublimeText3.bat
Add "Open with Sublime Text 3" to Windows Explorer Context Menu (including folders)
@echo off
SET st2Path=C:\Program Files\Sublime Text 3\sublime_text.exe
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f
rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
@crazy-matt
crazy-matt / boxstarter.ps1
Last active October 28, 2019 23:46 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt: