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
| 12626812 0/ | |
| 13345688 1004782375664995756265033322492444576013453623296/ | |
| 4 1010491366435819595789266466370242556558984609792/ | |
| 4 1016200357206643435313499610248040537104515596288/ | |
| 4 1021909347977467274837732754125838517650046582784/ | |
| 4 102761833874829111436196589800363649819557756928/ | |
| 12017096 1027618338748291114361965898003636498195577569280/ | |
| 4 1033327329519114953886199041881434478741108555776/ | |
| 4 1039036320289938793410432185759232459286639542272/ | |
| 4 1044745311060762632934665329637030439832170528768/ |
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
| Host hermes-1 | |
| hostname ec2-23-22-173-151.compute-1.amazonaws.com | |
| user ubuntu | |
| Host hermes-2 | |
| hostname ec2-184-72-170-25.compute-1.amazonaws.com | |
| user ubuntu | |
| Host hermes-3 | |
| hostname ec2-107-21-179-43.compute-1.amazonaws.com | |
| user ubuntu |
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
| Host hermes-1 | |
| hostname ec2-23-22-173-151.compute-1.amazonaws.com | |
| user ubuntu | |
| Host hermes-2 | |
| hostname ec2-184-72-170-25.compute-1.amazonaws.com | |
| user ubuntu | |
| Host hermes-3 | |
| hostname ec2-107-21-179-43.compute-1.amazonaws.com | |
| user ubuntu | |
| Host hermes-4 |
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
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHowOKJnPW9CdEuetu83IzZD5bqZVtA9bx4AuhQA1GPDR0lul4rk8lwlR6/qX2ubeI7jSEnkSuJLNVwIE74zOOPdl0P6EWtcn4KLo4yzDcUM6zZmK4gjZQciNySJ4EmxqXacOCzqi4KPv4F6iNPi+OKGjMjQ8EJGXSB7H+wT5uG5y23p3p8GOJA1GDUcya/z/JTA01J5iixwbfLf3NERI7FEPSg1QKQzdGlpu9+sHfCuF1wbsLW6tGSmRzWGq3geXZ5VHHacqJK0XDeIFYUmPVQ69hPERXv00g320J+zeszwNJxiC3i91vn6gXblcEP5EkiL6wmKpyvtHDT3hyWC4P [email protected] |
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
| UUID=$(imgadm available | grep smartos64 | head -1 | awk '{print $1}') | |
| imgadm import $UUID | |
| cat > /zones/myvm.json << EOF | |
| { | |
| "alias": "bashodev210", | |
| "brand": "joyent", | |
| "dataset_uuid": "$UUID", | |
| "nics": [ | |
| { | |
| "nic_tag": "admin", |
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
| service riak stop | |
| # check for and kill any running beam processes | |
| cd /var/lib/riak/ | |
| rm -rf ring | |
| rm -rf leveldb | |
| # double check your app.config and vm.args and ensure they have the desired settings |
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
| mkdir -p ~/local/var/lib | |
| mkdir ~/local/etc | |
| cd ~/local/etc | |
| cp -R /etc/zypp . | |
| cd ~/local/var/lib | |
| cp -R /var/lib/rpm . | |
| cd | |
| cat >> ~/.bashrc << 'EOF' | |
| export PATH="$HOME"/local/usr/bin:"$PATH" |
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
| #!/bin/sh | |
| cbuser=Administrator | |
| cbpassword=couchbase | |
| cbserver=127.0.0.1 | |
| cbport=8091 | |
| # default is 50 | |
| max_overhead_perc=50 | |
| # default is 90 |
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
| (pgrep moxi; pgrep beam.smp; pgrep memcached; pgrep couch_compact; pgrep sigar_port ; pgrep godu) | xargs -n1 -- sh -c 'echo $1; cat /proc/$1/status; cat /proc/$1/limits; cat /proc/$1/smaps; cat /proc/$1/numa_maps; echo' -- | awk '/Name:/,/Swap/' $i | grep -e Name -e Swap |awk '{print $2, $3}' | paste -s -d ' \n' - |
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 python | |
| import sys | |
| import os | |
| import urllib2 | |
| import json | |
| spelunky_app_id = '239350' | |
| steam_id_url = 'http://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001/?key={}&vanityurl={}&format=json' | |
| spelunky_url = 'http://api.steampowered.com/ISteamUserStats/GetPlayerAchievements/v0001/?appid=' + spelunky_app_id + '&key={}&steamid={}' |
OlderNewer