sudo add-apt-repository -y ppa:webupd8team/java
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb http://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list
echo "deb http://packages.elastic.co/kibana/4.4/debian stable main" | sudo tee -a /etc/apt/sources.list.d/kibana-4.4.x.list
echo 'deb http://packages.elastic.co/logstash/2.2/debian stable main' | sudo tee /etc/apt/sources.list.d/logstash-2.2.x.list
sudo apt-get update
This file contains hidden or 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
| var request = require('request'); | |
| var pd = require('pretty-data').pd; | |
| var xml2json = require('xml2json'); | |
| function buildSoapEnvelope(methodName, requestData, opts) { | |
| return ` | |
| <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> | |
| <Body> | |
| <${methodName} xmlns="http://clients.mindbodyonline.com/api/0_5"> | |
| <Request> |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <% url = "https://www.terrorview.com/alerts/#{@alert.video ? :video : :article}?url=#{@alert.canonical}" %> | |
| <head> | |
| <meta property="og:title" content="<%= @alert.title %>" /> | |
| <meta property="og:url" content="<%= url %>" /> | |
| <meta property="og:image" content="<%= @alert.image %>" /> | |
| </head> | |
| <body> | |
| You are being redirected... |
README is empty
This file contains hidden or 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
| #!/usr/bin/env sh | |
| set -e | |
| if [ -d /opt/chefdk ]; then | |
| echo "ChefDK installed in /opt/chefdk, quitting" >&2 | |
| exit 0 | |
| fi | |
| url="https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chefdk_0.2.2-1_amd64.deb" | |
| pkg="/tmp/`basename \`echo $url\``" |
This file contains hidden or 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
| var mysql = require('mysql') | |
| , bcrypt = require('bcrypt') | |
| , db = { | |
| host: 'localhost', | |
| user: 'root', | |
| database: 'prod' | |
| }; | |
| function checkUser(email, password, callback) { | |
| var connection = mysql.createConnection(db); |
NewerOlder