Skip to content

Instantly share code, notes, and snippets.

View kevinobee's full-sized avatar

Kevin Obee kevinobee

  • Canterbury, UK
  • 17:26 (UTC +01:00)
View GitHub Profile
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
@kevinobee
kevinobee / README.md
Last active January 5, 2020 09:20 — forked from lmeyer/base
Boxstarter
@kevinobee
kevinobee / Get-FileEncoding.ps1
Created September 7, 2017 13:28
Get-FileEncoding
function Get-FileEncoding
{
[CmdletBinding()] Param (
[Parameter(Mandatory = $True, ValueFromPipelineByPropertyName = $True)] [string]$Path
)
[byte[]]$byte = get-content -Encoding byte -ReadCount 4 -TotalCount 4 -Path $Path
@kevinobee
kevinobee / Rebuilding-my-Developer-Platform.md
Last active August 2, 2016 00:27
Rebuilding my Developer OS for the Last Time!

Rebuilding my Developer Platform - For the Last Time!

I have finished enough of a ground-up rebuild of a developer machine to take stock.

The rebuild process went something like this:

Step 1 - Start long running installation

Step 2 - Wait for installation to complete

@kevinobee
kevinobee / choco-list-lo-i.md
Last active June 19, 2017 11:52
Chocolatey list local packages
C:\WINDOWS\system32>choco list -lo -i

Chocolatey v0.10.3
7zip 16.02.0.20160811
7zip.install 16.02.0.20160811
chocolatey 0.10.3
curl 7.28.1
DotNet4.5 4.5.20120822
DotNet4.5.2 4.5.2.20140902
7zip 16.02
7zip.install 16.02
agentransack 7.0.828.1
autohotkey.portable 1.1.24.00
chocolatey 0.9.10.3
dependencywalker 2.2.6000.7
docker 1.12.0
DotNet4.5.2 4.5.2.20140902
Evernote 5.9.9.9915
fiddler4 4.6.2.29442
@kevinobee
kevinobee / gist:8296203
Created January 7, 2014 08:22
Metadata
{
"actions": {
"GET": [
{
"FetchEntities": {
"returnType": "SitecoreCms.Models.SimpleData[]",
"properties": {}
}
},
{
@kevinobee
kevinobee / Global.asax
Created November 12, 2013 09:46
Dependency Injection with Sitecore
<%@Application Language='C#' Inherits="Website.Global" CodeBehind="Global.asax.cs" %>
<?xml version="1.0"?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<settings>
<setting name="Login.RememberLastLoggedInUserName" value="false"/>
</settings>
</sitecore>
</configuration>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<encodeNameReplacements>
<replace patch:before="*[1]" mode="on" find=" " replaceWith="-" />
</encodeNameReplacements>
</sitecore>
</configuration>