Skip to content

Instantly share code, notes, and snippets.

View sravioli's full-sized avatar

Simone Fidanza sravioli

View GitHub Profile
@xytis
xytis / gist:5361405
Last active August 20, 2022 15:06 — forked from hashmal/gist:874792
Print Lua table recursively.
-- Print contents of `tbl`, with indentation.
-- `indent` sets the initial level of indentation.
function tprint (tbl, indent)
if not indent then indent = 0 end
for k, v in pairs(tbl) do
formatting = string.rep(" ", indent) .. k .. ": "
if type(v) == "table" then
print(formatting)
tprint(v, indent+1)
else
@mikepruett3
mikepruett3 / shell-setup.ps1
Last active December 16, 2024 19:07
Packages to install via scoop, winget, choco, and other tools...
<#
.SYNOPSIS
Script to Initialize my custom powershell setup.
.DESCRIPTION
Script uses scoop
.NOTES
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted.
Author: Mike Pruett
Date: October 18th, 2018