Skip to content

Instantly share code, notes, and snippets.

Jeff jpierson

  • Michigan
Block or report user

Report or block jpierson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jpierson
jpierson / nix-pwsh-cheatsheet.md
Last active Jul 12, 2018
Unix/Linux to Powershell Command Cheatsheet
View nix-pwsh-cheatsheet.md

Unix/Linux to Powershell Command Cheatsheet

This guide aims to document useful commands that I commonly see used in Linux and Unix environments to their closest equivalent in Powershell.

Command: wc

Use: Counts some aspect of the input stream and returns a summarized value as output.

@jpierson
jpierson / min-max-dates.md
Last active Jan 19, 2018
A summary of min/max date values used by various systems
View min-max-dates.md

Summary of Min/Max date values for various systems

System/Type Min Max Notes
.NET (DateTime) 1/1/0001 12:00:00 AM 12/31/9999 11:59:59 PM
T-SQL (datetime) January 1, 1753 December 31, 9999 Default value is 1900-01-01 00:00:00
Oracle (DATE) 0001-01-01 9999-12-31
Oracle (TIME) 00:00:00 24:00:00
Oracle (TIMESTAMP) 0001-01-01-00.00.00.000000 9999-12-31-23.59.59.999999
ISO 8601 1583-01-19T0:00:00Z 9999-12-31T023:59:59Z
View advent-of-code-2017-elm-day1-part2.elm
module Main exposing (main)
import Html exposing (Html, li, text, ul)
import Html.Attributes exposing (style)
-- Advent of Code 2017 - Day 1 Part 2 (http://adventofcode.com/2017/day/1)
main : Html msg
main =
ul []
View advent-of-code-2017-elm-day1.elm
module Main exposing (main)
import Html exposing (Html, li, text, ul)
import Html.Attributes exposing (style)
-- Advent of Code 2017 - Day 1 (http://adventofcode.com/2017/day/1)
-- https://ellie-app.com/hBMTrVXyna1/1
main : Html msg
main =
@jpierson
jpierson / ElmScratchPad.md
Last active Aug 2, 2017
Experimentation with the Elm language
View ElmScratchPad.md

Elm experiments

Lists

Join a list of strings into a single string with specified separator

import Html exposing (text)

v = [1,2,3]
View useful-windows-active-directory-commands.md

Useful Windows commands for finding information on Active Directory groups and users.

Get a list of groups on the domain

net group /domain

List groups your current user belongs to

View win10vm-on-win7.md

Install Windows 10 VM free on Windows 7

If you find yourself forced to work in a Windows 7 environment but need or would like access to some Windows 10 features it turns out there is at least one way that I've stumbled accross which has worked for me.

Install a Virtual Machine

As far as free options that are well supported in Windows 7 Oracle Virtual Box seemed to be the best option I could find. If you go this route make sure to enable virtualization in the BIOS of your system to enable installing a 64-bit guest OS.

Install Windows 10 Pro as as a Guest OS

@jpierson
jpierson / one-time-git-setup.md
Created Apr 24, 2017
Setup instructions for Git
View one-time-git-setup.md
@jpierson
jpierson / gitflow-breakdown.md
Last active May 24, 2017 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.
View gitflow-breakdown.md

Initialize

gitflow git
git flow init git init
git commit --allow-empty -m "Initial commit"
git checkout -b develop master

Connect to the remote repository

You can’t perform that action at this time.