Skip to content

Instantly share code, notes, and snippets.

@jimbrig
jimbrig / setup-ssh.ps1
Created December 22, 2020 18:16
[Setup SSH on Windows] #windows10 #ssh #config
# enable OPENSSH
$OpenSSHClient = Get-WindowsCapability -Online | ? Name -like OpenSSH.Client*
Add-WindowsCapability -Online -Name $OpenSSHClient.Name
$SSHAgentSvc = Get-Service -Name ssh-agent
Set-Service -Name $SSHAgentSvc.Name -StartupType Automatic
Start-Service -Name $SSHAgentSvc.Name
refreshenv
@jimbrig
jimbrig / setup.md
Created December 23, 2020 19:37
[Windows GodMode] #windows #dev
  1. Create shortcut
  2. Rename as GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
@jimbrig
jimbrig / reset-onedrive.md
Created December 26, 2020 02:20
[OneDrive Reset] #windows
  1. Win + R (RUN)
  2. %localappdata%\Microsoft\OneDrive\onedrive.exe /reset

DONE

@jimbrig
jimbrig / README.md
Created January 4, 2021 03:04 — forked from rstacruz/README.md
How to install Docker in Mac, Windows, and Linux

Getting Docker

Docker is available for Linux, MacOS, and Windows.

MacOS

Docker for Mac is best installed with Homebrew and Homebrew Cask. For other ways to install on MacOS, see Install Docker for Mac in Docker's docs.

brew cask install docker # Install Docker
@jimbrig
jimbrig / linux_setup.md
Created January 4, 2021 03:31 — forked from gbingersoll/linux_setup.md
Linux Setup
@jimbrig
jimbrig / WindowsDevSetup.md
Created January 4, 2021 03:32 — forked from gbingersoll/WindowsDevSetup.md
Steps for Setting up a Windows Development Environment

Dev Environment on Windows (without WSL)

These are some notes for setting up a development system on Windows without using Windows Subsystem Linux (WSL). Setting up WSL is also valuable, but in some cases it can be slow or otherwise undesirable, so having a setup that only uses Windows is handy.

This currently focuses on setting up a proper shell built on top of Windows Powershell and Windows Terminal (or Cmder) and then setting up Python and friends in Windows (pyenv, pipenv, etc.).

App Install Plan

Critical

@jimbrig
jimbrig / win-useful-cmd.md
Created January 7, 2021 04:26
[Command Line Snippets]

Useful CMD Commands in Windows 10

1. Get Motherboard Information

If you bought a pre-built PC, the motherboard keeping everything together inside may be a bit of a mystery. But if you want to update the BIOS, replace the motherboard, or even just out its name, then you can do so through the command prompt. Just enter the following:

wmic baseboard get product,version,serialnumber,product
@jimbrig
jimbrig / simulate_transactional_claims.R
Last active July 19, 2021 20:14
[Simulate Transactional Insurance Claims Data] #simulation #Shiny #Insurance
# source: https://github.com/Tychobra/shiny-insurance-examples/blob/master/basic-insurer-dashboard/data/sim-data.R
# simulate transactions on insurance claims
# transactions will include claim closures, payments and changes in case reserves
# this is all completely made up and does not accurately resemble actual claims
library(lubridate)
library(dplyr)
library(randomNames)
# number of claims
@jimbrig
jimbrig / git-setup.md
Created January 10, 2021 22:54
[Git Commands]

Setup Git Config: ~/.gitconfig

Installation

Install on Windows and WSL2 Ubuntu.

  • Windows: Install via Chocolatey:
cinst git