Skip to content

Instantly share code, notes, and snippets.

@alanjaouen
alanjaouen / gist:d39654a647a65726aeedeef87f887b89
Created August 6, 2019 15:19
Setup Raspberry Pi Wallboard

Pi Wallboard

RasPi Installation

Debian Squeeze

Setup a static IP replacing x with numbers.

@alanjaouen
alanjaouen / installgit.ps1
Last active October 15, 2020 15:51
Install git on windows without git bash and other git-for-windows shitty stuff
$gitDir = "$env:LOCALAPPDATA\CustomGit"
if(Test-Path $gitDir) { Remove-Item -Path $gitDir -Recurse -Force }
New-Item -Path $gitDir -ItemType Directory
$gitLatestReleaseApi = (Invoke-WebRequest -UseBasicParsing https://api.github.com/repos/git-for-windows/git/releases/latest).Content | ConvertFrom-Json
$mingitObject = $gitLatestReleaseApi.assets `
| Where-Object {$_.name -match "MinGit-[\d.]*?-64-bit.zip"} `
| Select-Object browser_download_url
Write-Host "Matching asset count: $((Measure-Object -InputObject $mingitObject).Count)"