Skip to content

Instantly share code, notes, and snippets.

@josh-jacobsen
josh-jacobsen / core.md
Created September 15, 2018 01:35
Creating a basic .NET core web api from scratch

Creating a basic .NET core web api

Prereqs

  1. VS Code
  2. .NET core SDK

Create a new console project

  1. Create a new folder and cd into it
  2. Create a new console project called Meshd with dotnet new console -n Meshd
  3. cd into the Meshd directory (to where the .csproj file is) and run dotnet run
@josh-jacobsen
josh-jacobsen / web-servers.md
Created August 24, 2017 22:16 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@josh-jacobsen
josh-jacobsen / ubuntu_agnoster_install.md
Created July 30, 2017 23:52 — forked from renshuki/ubuntu_agnoster_install.md
Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme

Install Terminator (shell)

sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator

Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").

Install ZSH

@josh-jacobsen
josh-jacobsen / cbpAnimatedHeader.js
Created September 29, 2016 21:13
cbp Animated Header
/**
* cbpAnimatedHeader.js v1.0.0
* http://www.codrops.com
*
* Licensed under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*
* Copyright 2013, Codrops
* http://www.codrops.com
*/
@josh-jacobsen
josh-jacobsen / mac-setup.md
Created July 27, 2016 03:42 — forked from don-smith/mac-setup.md
How I treat each new Mac I appropriate

My OS X Setup Guide

Config

  • Adjust trackpad settings to my liking (Preferences > Trackpad)
  • Remap caps-lock to control (Preferences > Keyboard > Modifier Keys... button)

Install