Skip to content

Instantly share code, notes, and snippets.

View jsheridanwells's full-sized avatar

Jeremy Wells jsheridanwells

View GitHub Profile
@jsheridanwells
jsheridanwells / MSSql.md
Last active September 25, 2018 20:41
MS SQL Server 2016

MS SQL Server 2016

Desde aqui.

SQL Server configuration manager:

  • Found here: C:\Windows\SysWOW64\SQLServerManager14.msc

  • Mostly used for starting and stopping and determining if it starts automatically or not.

@jsheridanwells
jsheridanwells / CSharpDesignPatterns.md
Last active February 19, 2021 09:25
CSharp Design Patters

C# Design Patterns

Desde aqui.

Categories

Creational: Concerned w/ creating objects

  • Abstract
  • Factory - define an interface for creating an object, let subclasses decide which class to instantiate.
@jsheridanwells
jsheridanwells / DevOps_VSTS_Azure.md
Last active October 22, 2018 14:26
DevOps For DB w/ VSTS and Azure

DevOps For DB w/ VSTS and Azure

Desde Aqui

SSDT

Relational DB Project - Analysis Service Project - Reporting Services Project - Integration Service Project

(Supports cloud and on-prem)

GUI Tools

@jsheridanwells
jsheridanwells / windows_server_2016_install_config.md
Last active October 17, 2018 21:02
Windows Server 2016: Install and Config

Windows Server 2016: Install and Config

Desde Aqui.

Shutting Down Command

# /s means server, /c means comment
> shutdown /s /c "This is my reason for shutting down"
@jsheridanwells
jsheridanwells / Deploying_to_on-prem-in-AzureDevOps.md
Last active October 18, 2018 18:56
Deploying_to_on-prem-in-AzureDevOps

Deploying_to_on-prem-in-AzureDevOps

desde aqui e tambem aqui

Set Up Build

An ASP.NET template works -

  • Use NuGet
  • NuGet Restore
@jsheridanwells
jsheridanwells / .bashrc
Last active November 11, 2018 17:01
BashRC and ZshRC Sync
# GENERAL
alias c='clear'
alias ca='clear &&'
alias la='ls -la'
# GIT ALIASES
alias g='git'
alias gs='git status'
alias ga='git add'
@jsheridanwells
jsheridanwells / Json-Server-w-Auth-SETUP.md
Last active January 29, 2019 16:45
Using Json-Server with JWT
  1. Create public and private RSA keys (public.key, private.key). Generate them here.
  2. npm install --save-dev jsonwebtokens json-server faker
  3. create users.json with at least email and password for a fake user.
  4. Add these to package.json (assumes code is in a directory called api):
    "api-noAuth": "node_modules/.bin/json-server api/seed.js",
    "api-auth": "node ./api/server.js",
    "api-seed": "node ./api/seed.js > api/db.json"
  1. npm run api-seed will create db.json, npm run api-noAuth is just the api npm run api-auth will create and require tokens.
@jsheridanwells
jsheridanwells / Blueprints.md
Last active April 3, 2024 19:10
From Zero to Flask Notes

Blueprints

A typical setup:

app_dir/
  manage.py
  application.py
  module_dir/
    views.py
@jsheridanwells
jsheridanwells / 01.sh
Last active May 31, 2020 17:22
A dive into D3
# bash
$ echo 'export const apiKey = "<YOUR OPEN WEATHER MAP API KEY>";' >> javascripts/apiKey.js
@jsheridanwells
jsheridanwells / 01.sh
Created June 2, 2020 19:50
weather-walking-skeleton-part_0
# bash
$ dotnet new webapi -o WeatherWalkingSkeleton