$ 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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def outside_function(obj): | |
obj.foo = 'baz' | |
class Test(object): | |
def __init__(self): | |
self.foo = 'bar' | |
def do_something(self): | |
outside_function(self) |
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:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"fmt" | |
"strings" | |
) | |
//https://play.golang.org/p/fmeYEvLrj7c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"errors" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" |
OlderNewer