sudo visudo
edit:
timeout long enough and fish shell problems
format compact | |
% | |
% OOP | |
% | |
% INFO | |
% Must be created in own file with class name equal to filename -> shape | |
a1 = Shape(10,20); | |
disp(a1) |
# Nim (1.6.6) - let's get started | |
# These are my notes from nim-by-example :) | |
# that's a comment :) | |
echo "Hello, World!" | |
# Compiling: | |
# ========== | |
# | |
# You can define build tasks in 'tasks.json' |
# Git | |
# | |
function git() { | |
if [[ "$@" == "" ]]; then | |
command git status && command git remote -v && command git show-branch --list | |
elif [[ "$@" == "zip" ]]; then | |
command git archive --format=zip HEAD -o $(basename $PWD).zip --verbose | |
elif [[ "$@" == "uncommit" ]]; then | |
command git reset --soft HEAD~1 | |
elif [[ "$@" == "pushall" ]]; then |
# Fork of https://gist.github.com/stungeye/4fd96987cbc9e0c6676e71cb14468660 | |
# Allow running PowerShell scripts | |
Update-ExecutionPolicy Unrestricted | |
# Install Chocolatey | |
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) | |
# Install Boxstarter | |
Set-ExecutionPolicy Unrestricted -Force |
##################### | |
# SOFTWARE | |
##################### | |
# Console | |
cinst poshgit | |
# 7Zip | |
cinst 7zip.install -y |
<# | |
The command to run, built from the raw link of this gist | |
Win+R | |
iexplore http://boxstarter.org/package/url?<RAW GIST LINK> | |
OR (if you don't like the way the web launcher force re-installs everything) |
<# | |
.SYNOPSIS | |
Script to Initialize my custom powershell setup. | |
.DESCRIPTION | |
Script uses scoop | |
.NOTES | |
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted. | |
Author: Mike Pruett | |
Date: October 18th, 2018 |
// βββββββββββββββββββββββββββββββββββββ | |
// β CHECK IT AGAIN BEFORE YOU USE IT! β | |
// βββββββββββββββββββββββββββββββββββββ | |
// ββββββββββββββββββββββββββββββββββββ | |
// β Operating system generated files β | |
// ββββββββββββββββββββββββββββββββββββ | |
// βββββββββββββββ | |
// β Apple macOS β |
# Steps to get WSL going. | |
## Windows Settings | |
In `Apps &`...-> `Windows features` | |
- Enable Hyper-V | |
- Enable Windows Hypervisor thingy | |
- Enable WSL |