Skip to content

Instantly share code, notes, and snippets.

View solrevdev's full-sized avatar
💭
🤓

John Smith solrevdev

💭
🤓
View GitHub Profile
@solrevdev
solrevdev / .gitconfig
Created September 16, 2020 08:42
.gitconfig and edit with `git config --global --edit`
[core]
excludesfile = /Users/solrevdev/.gitignore_global
editor = code --wait
autocrlf = input
pager = diff-so-fancy | less --tabs=4 -RFX
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[merge]
@solrevdev
solrevdev / .bash_aliases
Last active December 10, 2020 09:43
macos .bash_aliases
#!/bin/bash
# update system vim
alias vim="nvim"
alias vi="nvim"
alias oldvim="vim"
alias vimdiff="nvim -d"
export EDITOR="nvim"
# directory stuff
@solrevdev
solrevdev / setup.sh
Created July 6, 2020 20:50 — forked from chris-sev/setup.sh
Mac Setup
# how to run this thingy
# create a file on your mac called setup.sh
# run it from terminal with: sh setup.sh
#!/bin/bash
set -euo pipefail
# Display message 'Setting up your Mac...'
echo "Setting up your Mac..."
sudo -v
@solrevdev
solrevdev / instructions.md
Created June 28, 2020 12:05 — forked from richlander/instructions.md
Installing .NET Core 3.0 on Linux ARM64

Installing .NET Core on Linux ARM64

The following intructions can be used to install .NET Core on Linux ARM64.

Pro tip: Check out .NET Core Docker files to determine the exact instructions for installing .NET Core builds, for example .NET Core 3.1 ARM32 SDK Dockerfile.

Installing .NET Core Globally

The following instructions install the latest .NET Core globally. It isn't required to do that, but it provides the best experience.

curl -SL -o dotnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/fc54f62e-c7bd-43a3-a27b-4afb08bc4d6f/b01ccacf3d94efc0bbe26f64f7fde9b7/dotnet-sdk-5.0.100-preview.6.20318.15-linux-arm.tar.gz
sudo mkdir -p /usr/share/dotnet
sudo tar -zxf dotnet.tar.gz -C /usr/share/dotnet
sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
@solrevdev
solrevdev / robots.txt
Created June 12, 2020 13:24
robots.txt that blocks all crawlers and robots
User-agent: *
Disallow: /
@solrevdev
solrevdev / cleanup-git.sh
Created June 5, 2020 14:29
Cleanup git repo
git fsck && git gc --prune=now
@solrevdev
solrevdev / cleanup-git.sh
Created June 5, 2020 14:29
Cleanup git repo
git fsck && git gc --prune=now
@solrevdev
solrevdev / solrevdev.instagrambasicdisplay.md
Last active March 4, 2020 09:42
nuget documentation for my nuget package solrevdev.instagrambasicdisplay
@solrevdev
solrevdev / libman.json
Created February 27, 2020 11:04
a working example of libman.json
{
"version": "1.0",
"defaultProvider": "cdnjs",
"libraries": [
{
"provider": "unpkg",
"library": "[email protected]",
"files": [
"dist/css/bootstrap.css",
"dist/css/bootstrap.css.map",