Create test.json:
cat << 'EOF' > ./test.json
[
{
"name": "First1 Last",
"email": "first1@company.io",
"state": "A"
},
Execute the following command and make a note of X-Auth-Token. You will need this token to use in all subsequent commands. | |
curl -v -H 'X-Storage-User: system:root' -H 'X-Storage-Pass: testpass' http://10.80.83.68:8077/auth/v1.0 | |
In the following command examples we are using 'AUTH_tk65840af9f6f74d1aaefac978cb8f0899' as the X-Auth-Token. Replace this with the appropriate token you obtained in the above step. | |
To create a container: | |
curl -X PUT -H 'X-Auth-Token: AUTH_tk65840af9f6f74d1aaefac978cb8f0899' http://10.80.83.68:8077/v1/AUTH_system/mycontainer | |
To list all containers in current account: |
#Minecraft server properties | |
allow-cheats=true | |
allow-flight=true | |
allow-nether=true | |
broadcast-console-to-ops=true | |
broadcast-rcon-to-ops=true | |
difficulty=easy | |
enable-command-block=false | |
enable-jmx-monitoring=false | |
enable-query=false |
curl -XPOST http://localhost:8098/types/location_type/buckets/people/datatypes/person1 \ | |
-H "Content-Type: application/json" \ | |
-d ' | |
{ | |
"update": { "username_register": "user1", "city_register": "Denver", "state_register": "NY", "position_register": "42.27,-74.53" } | |
}' | |
curl -XPOST http://localhost:8098/types/location_type/buckets/people/datatypes/person2 \ | |
-H "Content-Type: application/json" \ | |
-d ' |
1 x 12 = _____ | 1 x 9 = _____ | |
2 x 4 = _____ | 2 x 5 = _____ | |
3 x 11 = _____ | 3 x 7 = _____ | |
4 x 8 = _____ | 4 x 5 = _____ | |
5 x 7 = _____ | 5 x 12 = _____ | |
6 x 3 = _____ | 6 x 11 = _____ | |
7 x 10 = _____ | 7 x 3 = _____ | |
8 x 8 = _____ | 8 x 11 = _____ | |
9 x 10 = _____ | 9 x 9 = _____ | |
10 x 11 = _____ | 10 x 11 = _____ |
{ | |
"riak": { | |
"framework-name": "riak", | |
"hostname": "riak.marathon.mesos", | |
"marathon": "m1.dcos:8080", | |
"master": "m1.dcos:5050", | |
"zk": "m1.dcos:2181", | |
"user": "root", | |
"role": "riak", | |
"auth-principal": "riak", |
Create test.json:
cat << 'EOF' > ./test.json
[
{
"name": "First1 Last",
"email": "first1@company.io",
"state": "A"
},
Download this gist, and then run:
chmod 755 open_files_limit_mac.sh
./open_files_limit_mac.sh
Restart the system, and then run:
Following are some of my notes and thoughts while installing Docker on Mac OSX (10.9.2).
I've had to install and configure these things a few times, and I always forget how to do it, so here it is for posterity:
Update brew and install pandoc:
brew update
brew install pandoc
Install mactex from https://www.tug.org/mactex/