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 / travis-cli-ubuntu-win10-install.md
Created February 3, 2019 19:14
Install travis-cli on Ubuntu for Windows 10
$ suco apt-get update
$ sudo apt-get install python-software-properties
$ sudo apt-add-repository ppa:brightbox/ruby-ng
$ sudo apt-get update
$ sudo apt-get install ruby2.1 ruby-switch ruby2.1-dev
$ sudo ruby-switch --set ruby2.1
$ sudo gem install travis -v 1.8.9 --no-rdoc --no-ri
def outside_function(obj):
obj.foo = 'baz'
class Test(object):
def __init__(self):
self.foo = 'bar'
def do_something(self):
outside_function(self)

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:

@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"
@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 / 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 / feature-branch-workflow.md
Created May 10, 2020 23:01
Github Feature Branch Workflow

Github Feature Branch Workflow

@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 / 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 / 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