Skip to content

Instantly share code, notes, and snippets.

View timurista's full-sized avatar
👋

Tim Urista timurista

👋
View GitHub Profile
@timurista
timurista / gist:fc6111557b79c5ef84938cfd9e25d25b
Created August 5, 2019 15:40 — forked from ehuynh/gist:2572398
Start and Stop Jenkins on OSX
# start
sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist
# stop
sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
@timurista
timurista / git_jira_github_pull_request.sh
Created January 13, 2019 23:03 — forked from StevenACoffman/git_jira_github_pull_request.sh
Create Github pull request from JIRA and git
#!/bin/bash
function safe_curl() {
# call this with a url argument, e.g.
# safecurl.sh "http://eureka.test.cirrostratus.org:8080/eureka/v2/apps/"
# separating the (verbose) curl options into an array for readability
hash curl 2>/dev/null || { echo >&2 "I require curl but it's not installed. Aborting."; exit 1; }
hash jq 2>/dev/null || { echo >&2 "I require jq but it's not installed. Aborting."; exit 1; }
hash sed 2>/dev/null || { echo >&2 "I require sed but it's not installed. Aborting."; exit 1; }
@timurista
timurista / countrycode-latlong-array.json
Created January 13, 2019 22:54 — forked from sindresorhus/countrycode-latlong-array.json
Country codes (ISO 3166) to latitude longitude - converted from http://www.maxmind.com/app/country_latlon
{
"ad": [
"42.5000",
"1.5000"
],
"ae": [
"24.0000",
"54.0000"
],
"af": [
@timurista
timurista / config-editor.md
Created March 19, 2018 02:01 — forked from nnja/config-editor.md
Configure git editor

Set which editor git should use.

This is the program that will open during a commit with no -m flag, a merge, a rebase, etc...

Select from any installed editor. Examples:

  • emacs: emacs
  • vi: vi or vim