Skip to content

Instantly share code, notes, and snippets.

View Typiqally's full-sized avatar
:octocat:
Work hard play hard

Jelle Maas Typiqally

:octocat:
Work hard play hard
View GitHub Profile
@Typiqally
Typiqally / update-unifi.sh
Last active March 15, 2022 17:58
UniFi controller update script
#! /bin/bash
colour='\033[1;32m'
less='\033[0m'
read -p "Please enter a STABLE version or press enter for version 7.0.23: " version
if [[ -z "$version" ]]; then
version='7.0.23'
fi
@Typiqally
Typiqally / install-dotnet-core-sdk-3.1.sh
Last active December 20, 2019 10:29
Install script for installing .NET Core SDK 3.1 on linux arm based systems (Raspberry PI)
sudo apt-get install curl libunwind8 gettext
curl -sSL -o dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Runtime/release/3.1/dotnet-runtime-latest-linux-arm.tar.gz
sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet
sudo ln -s /opt/dotnet/dotnet /usr/local/bin
#!/bin/sh
echo "\033[0;32mDownloading and installing Docker...\033[0m"
curl -sSL get.docker.com | sh && sudo usermod pi -aG docker
echo "\033[0;32mDownloading and installing SSL library 1.0.2...\033[0m"
sudo apt-get install libssl1.0.2 -y
echo "\033[0;32mDownloading the Microsoft repository configuration...\033[0m"
curl https://packages.microsoft.com/config/debian/stretch/multiarch/prod.list > ./microsoft-prod.list
@Typiqally
Typiqally / install-theme-scheduler.ps1
Last active July 6, 2023 20:44
Theme scheduler for Windows 10 Dark and Light mode based on sunset and sunrise time's, also includes a simple installer
New-Item -Path $env:LOCALAPPDATA -Name "Scripts" -ItemType "directory"
$url = "https://gist.githubusercontent.com/Typiqally/3ee013f1576ba3066a3e20c5a8c3aa01/raw/e21b2a7d205fdc2dc9c97a7de1dd91544d3e9569/theme-scheduler.ps1"
$WebClient = New-Object System.Net.WebClient
$WebClient.DownloadFile($url,"%LocalAppData%\Scripts\theme-scheduler.ps1")
$Path = $env:LOCALAPPDATA + "\Scripts\"
$output = [IO.Path]::Combine($Path, "theme-scheduler.ps1")
@Typiqally
Typiqally / _grid.scss
Created June 4, 2019 21:05
Flex-box grid generation script for SCSS
$grid-prefix: '.col';
$grid-end: 12;
$grid-map: (
default: (prefix: null, min-width: null, base-font: 16px),
small: (prefix: 'sm', min-width: 576px, base-font: 16px),
medium: (prefix: 'md', min-width: 768px, base-font: 16px),
large: (prefix: 'lg', min-width: 992px, base-font: 16px),
xlarge: (prefix: 'xl', min-width: 1200px, base-font: 16px)
);
@mixin grid-generate($grid-entry) {