- Ensure that inbound
MySQL
port3306
is opened chmod 700 "keypair-name.pem"
To install MySQL, run the following command from a terminal prompt:
sudo apt-get install mysql-server
<!DOCTYPE NETSCAPE-Bookmark-file-1> | |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
<!-- This is an automatically generated file. | |
It will be read and overwritten. | |
Do Not Edit! --> | |
<TITLE>Bookmarks</TITLE> | |
<H1>Bookmarks</H1> | |
<DL><p> | |
<DT><A HREF="https://developer.apple.com/library/mac/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/index.html#//apple_ref/doc/-%20uid/TP40014508" ADD_DATE="1414706885" PRIVATE="0" TAGS="javascript,mac,osx,yosemite">JavaScript for Automation Release Notes</A> | |
<DD>This article describes JavaScript for Automation, a new feature in OS X Yosemite. |
{ | |
"checks": { | |
"seyren_check": { | |
"command": "/etc/sensu/plugins/check-procs.rb -p PROC", | |
"interval": 10, | |
"subscribers": ["SUB"], | |
"handlers": ["remediator","pagerduty"], | |
"occurrences": 1, | |
"refresh": 10, | |
"remediation": { |
Dashing widget to display a Jenkins build status and build progress
The widget is based on the meter-widget which is default in the Dashing installation
The widget can also see the progress of a "pre-build", i.e if you have a job triggering the actual build you want to define, you can configure this job in the jenkins_build.rb as a prebuild.
For more information, please see Coding Like a tosser
#!/bin/env/python | |
import hashlib | |
import binascii | |
# Utility methods for generating and comparing RabbitMQ user password hashes. | |
# | |
# Rabbit Password Hash Algorithm: | |
# | |
# Generate a random 32 bit salt: | |
# CA D5 08 9B |
#build-pipeline-plugin-content { | |
background-color: none; | |
border-radius: 0; | |
} | |
#build-pipeline-plugin-content h1 { | |
display: none; | |
} | |
tbody.pipelineGroup { |
In ~/.ssh/config
you can specify host aliases. For example, let's say you have two different keys you want to use for the same user living on the same host. You would do that in the following manner... (excerpt from ~/.ssh/config
)
Host localhost
User git
IdentityFile /home/systems/.ssh/id_rsa
Host myaliashost
HostName localhost
User git
IdentityFile /home/systems/.ssh/another_id_rsa
#!/usr/bin/env python | |
import boto | |
from boto.sqs.message import RawMessage | |
import tempfile | |
import json | |
import logging | |
import argparse | |
import gzip | |
import redis |
openssl genrsa -des3 -out trexglobal.com.key 4096 | |
openssl req -new -key trexglobal.com.key -out trexglobal.com.csr | |
cp -v trexglobal.com.{key,original} | |
openssl rsa -in trexglobal.com.original -out trexglobal.com.key | |
rm -v trexglobal.com.original | |
openssl x509 -req -days 9999 -in trexglobal.com.csr -signkey trexglobal.com.key -out trexglobal.com.crt |