Skip to content

Instantly share code, notes, and snippets.

View icirellik's full-sized avatar
💾
Staying Retro

Cameron Rollheiser icirellik

💾
Staying Retro
View GitHub Profile
@icirellik
icirellik / boxstarter.ps1
Last active April 17, 2019 21:00
Windows Boxstarter Script
# Description: Boxstarter Script
# Author: Cameron Rollheiser
# Last Updated: 2019-04-17
#
# Enable Developer Mode:
#
# Open Windows Settings and search for "Developer Mode"
#
# Show Installed Apps:
# Get-AppxPackage | Select-Object Name, PackageFullName, Version | Format-Table -AutoSize
@icirellik
icirellik / libraries.ts
Created August 15, 2019 21:32
Remoting Runtime Psuedo code
type Libraries = any;
type Remoting = any;
export interface LibrariesViewModel {
list(): Libraries[];
}
class LibrariesImpl implements LibrariesViewModel {
public list(): Libraries[] {
return [
'lib1',
@icirellik
icirellik / hash-zip.ps1
Created December 27, 2019 04:34
Windows Powershell Zip + Hash Utilities
# Recusively Unzip 7-zip files in place
$7zipPath = "$env:ProgramFiles\7-Zip\7z.exe"
if (-not (Test-Path -Path $7zipPath -PathType Leaf)) {
throw "7 zip file '$7zipPath' not found"
}
Set-Alias 7zip $7zipPath
Get-ChildItem -Recurse *.z | %{ 7zip e $_.FullName "-o$($_.Directory)"}
@icirellik
icirellik / mysql-backup.sh
Created February 2, 2020 16:32
MySQL Backup
#!/bin/sh
#
# This script automates a call to mysqldump
# and sends the output to a file in a backup
# directory. The script is set up to keep
# seven days of history.
#
# Before you can run this script you must
# set up a MySQL user that can perform the
# backup. This user must have permission to
@icirellik
icirellik / web-sdk.css
Created April 19, 2021 20:06
@blaze/web-sdk Embedded CSS
.ab-pause-scrolling,
body.ab-pause-scrolling,
html.ab-pause-scrolling {
overflow: hidden;
touch-action: none
}
.ab-centering-div,
.ab-iam-root.v3 {
position: fixed;