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
#!/bin/sh | |
BASE_URL=http://download.oracle.com/otn-pub/java/jdk | |
JAVA_URL="$BASE_URL/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.rpm" | |
curl -L -C - -b "oraclelicense=accept-securebackup-cookie" -O "${JAVA_URL}" | |
sudo yum localinstall jdk-8u131-linux-x64.rpm |
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
[logstash-5.x] | |
name=Elastic repository for 5.x packages | |
baseurl=https://artifacts.elastic.co/packages/5.x/yum | |
gpgcheck=1 | |
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch | |
enabled=1 | |
autorefresh=1 | |
type=rpm-md |
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
[elasticsearch-5.x] | |
name=Elasticsearch repository for 5.x packages | |
baseurl=https://artifacts.elastic.co/packages/5.x/yum | |
gpgcheck=1 | |
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch | |
enabled=1 | |
autorefresh=1 | |
type=rpm-md |
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
[kibana-5.x] | |
name=Kibana repository for 5.x packages | |
baseurl=https://artifacts.elastic.co/packages/5.x/yum | |
gpgcheck=1 | |
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch | |
enabled=1 | |
autorefresh=1 | |
type=rpm-md |
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
#macro (findRoot $page) | |
#if ($page.parent) | |
#findRoot($page.parent) | |
#else | |
#set($root = $page) | |
#end | |
#end | |
#findRoot($page) | |
#set($current = $page) |
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
#!/bin/sh | |
json = '{ "type": { "name": "XXX" }, "inwardIssue": { "key": XXX }, "outwardIssue": { "key": XXX}, "comment": { "body": "XXX" }}' | |
curl -D- -u admin:admin -X POST --data $json http://localhost:2990/jira/rest/api/2/issueLink |
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
Storage.prototype.setItem = function(key, obj) { | |
return this.setItem(key, JSON.stringify(obj)); | |
}; | |
Storage.prototype.getItem = function(key) { | |
return JSON.parse(this.getItem(key)); | |
}; |
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
To petal | |
repeat 18 [ fd 8 rt 5 ] | |
rt 90 | |
repeat 18 [ fd 8 rt 5 ] | |
END | |
To petals | |
repeat 6 [petal rt 150] | |
END |
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
function GitApp(account) { | |
this.account = account; | |
this.template = Handlebars.compile($('#repos-template').html()) | |
this.github = 'https://api.github.com'; | |
} | |
GitApp.prototype.loadRepos = function() { | |
var context = this; | |
var url = this.github + '/users/' + this.account + '/repos?per_page=100'; | |
var callBack = function(data) { |
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
heroku-redeploy: heroku-stop heroku-push | |
heroku-stop: | |
heroku ps:stop web=1 | |
heroku-push: | |
git push heroku master | |
heroku-open: | |
heroku open |
NewerOlder