Skip to content

Instantly share code, notes, and snippets.

View luisfontes's full-sized avatar

Luis Fontes luisfontes

  • Sao Paulo, Brasil
View GitHub Profile
@luisfontes
luisfontes / InstallSoftware.ps1
Last active April 22, 2023 13:47 — forked from dougwaldron/InstallSoftware.ps1
Install software with winget / automate installation with PowerShell
# 1. Make sure the Microsoft App Installer is installed:
# https://www.microsoft.com/en-us/p/app-installer/9nblggh4nns1
# 2. Edit the list of apps to install.
# 3. Run this script as administrator.
Write-Output "Installing Apps"
$apps = @(
@{name = "AgileBits.1Password" },
@{name = "7zip.7zip" },
@{name = "AutoHotkey.AutoHotkey" },
@luisfontes
luisfontes / Finding User Sessions with SQL
Created August 11, 2017 20:13 — forked from bstancil/Finding User Sessions with SQL
These queries let you define find user sessions against event data logged to Segment SQL, Snowplow, or Google BigQuery.
-- These queries let you define find user sessions against event data
-- logged to Segment SQL, Snowplow, or Google BigQuery.
-- For more details, see the full post:
-- LINK
--- SEGMENT SQL
-- Finding the start of every session
SELECT *
FROM (