Skip to content

Instantly share code, notes, and snippets.

View justinsantoro's full-sized avatar
🤔

Justin Santoro justinsantoro

🤔
  • Grandjean & Braverman, inc
View GitHub Profile
@justinsantoro
justinsantoro / void-wsl.sh
Created September 17, 2022 22:11 — forked from JucaRei/void-wsl.sh
Install Void Linux on WSL2
# Based on https://gist.github.com/kmatt/71603170556ef8ffd14984af77ff10c5
# prompt ">" indicates Powershell commands
# https://docs.microsoft.com/en-us/windows/wsl/install-win10
> dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
> dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
# install https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
@justinsantoro
justinsantoro / base.do
Last active June 7, 2022 04:21
buildah script "layer" based caching via redo (untested - essentially psuedocode - probably lots of typos/errors)
#!/usr/bin/env sh
redo-ifchange base.earthly.lyr
@justinsantoro
justinsantoro / workflows.md
Created September 30, 2020 19:37 — forked from wildlyinaccurate/workflows.md
Hotfix workflows

Hotfix workflows

"Traditional" gitflow workflow

  1. Create hotfix-branch from release
  2. Commit to hotfix-branch
  3. Merge hotfix-branch into both release and develop

Pros

@justinsantoro
justinsantoro / piclilazyloading.go
Last active August 3, 2020 23:15
load specific amounts of proposal summaries
package main
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"log"
"net/http"
@justinsantoro
justinsantoro / github-comment-as-keybase-blockquote.go
Last active July 29, 2020 22:01
Format Github Comment as Keybase Blockquote
package main
import (
"bufio"
"fmt"
"strings"
)
//https://play.golang.org/p/fmeYEvLrj7c
@justinsantoro
justinsantoro / feature-branch-workflow.md
Created May 10, 2020 23:01
Github Feature Branch Workflow

Github Feature Branch Workflow

@justinsantoro
justinsantoro / issue-title-trigger.yaml
Last active May 9, 2020 16:57
Trigger github workflow on pattern match in newly opened issue title - with ACKs
name: issue title trigger
on:
# this workflow tests triggering a workflow via matching a pattern
# in a newly opened issue's title
# it then uses the github-script action to notify on the state
# of the workflow
issues:
types: [opened]
jobs:
#ack trigger and do stuff in parallel
@justinsantoro
justinsantoro / installation.rst
Created October 6, 2019 00:23 — forked from UnderGreen/installation.rst
Installation instruction for Kallithea

Setting up Kallithea on Ubuntu Server 12.04

Preparation

  1. Install Ubuntu Server.
  2. Update Ubuntu with the commands:
@justinsantoro
justinsantoro / SQLServerConfigurationFile.ini
Last active September 23, 2019 23:12
SQL Server 2017 Configuration File
;SQL Server 2017 Configuration File
[OPTIONS]
; By specifying this parameter and accepting Microsoft R Open and Microsoft R Server terms, you acknowledge that you have read and understood the terms of use.
IACCEPTPYTHONLICENSETERMS="False"
; Specifies a Setup work flow, like INSTALL, UNINSTALL, or UPGRADE. This is a required parameter.
ACTION="Install"

Keybase proof

I hereby claim:

  • I am justinsantoro on github.
  • I am jzsantoro (https://keybase.io/jzsantoro) on keybase.
  • I have a public key ASDrmw827BqSsOqQgR1Q4MgI0mJuSR3I-vDXYTO4VsHMoQo

To claim this, I am signing this object: