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
The html page: | |
<div class="app-page" data-page="blah"> | |
<div class="app-topbar"> | |
<div class="app-title">Blah</div> | |
</div> | |
<div class="app-content"> | |
<ul id="somelist" class="app-list"> | |
<li class="app-button" data-target="sometarget">Foo</li> | |
</ul> |
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
* pkjutil@0.1.1 | |
- dependencies: | |
- async: ~0.9.0 | |
- bagofcli: ~0.2.0 | |
- bagofrequest: ~0.1.0 | |
- colors: ~1.0.3 | |
- lodash: ~2.4.1 | |
- prod: ~1.0.0 | |
- semver: ~4.1.0 | |
- devDependencies: |
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
> openssl s_client -connect registry.npmjs.org:443 -prexit | |
CONNECTED(00000003) | |
write:errno=54 | |
--- | |
no peer certificate available | |
--- | |
No client certificate CA names sent | |
--- | |
SSL handshake has read 0 bytes and written 130 bytes |
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
var fs = require('fs'); | |
var http = require('http'); | |
var url = require('url'); | |
if (process.argv.length !== 3) { | |
console.error('Usage: node couchdb2couchpenter.js https://host:port'); | |
process.exit(1); | |
} | |
var _url = url.parse(process.argv[2]); |
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/bash | |
set -e | |
aws_username=<your_username> | |
aws_password=<your_password> | |
create_user() { | |
user=${1} | |
password=${2} |
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/bash | |
user=<user> | |
pass=<pass> | |
base_url=<http://stash_host:stash_port> | |
project=<project> | |
repos="<repo1> <repo2> ... <repoN>" | |
permission=<REPO_READ|REPO_WRITE|REPO_ADMIN> | |
group=<group> |
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/bash | |
domains="domain1.xyz domain2.xyz" | |
for DOMAIN in ${domains}; do | |
puppet node deactivate ${DOMAIN} | |
puppet node clean ${DOMAIN} | |
done |
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
variable "bucket_site" {} | |
variable "region" {} | |
variable "route53_domain_name" {} | |
variable "route53_domain_zoneid" {} | |
variable "route53_domain_alias_name" {} | |
variable "route53_domain_alias_zoneid" {} | |
provider "aws" { | |
region = "${var.region}" | |
} |
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/bash | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: check-fact <fact_name>" >&2 | |
exit 1 | |
fi | |
name=${1} | |
max_retries=60 |
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/bash | |
set -e | |
set -u | |
# brew install gource ffmpeg | |
user=<github_user/org> | |
repos="<repo1> <repo2> ... <repoN>" | |
rm -rf repos logs out |