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/bash | |
### BEGIN INIT INFO | |
# Provides: riak | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Example initscript | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |
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
adamhunter # i have three nodes in a cluster, how do i remove a node from a cluster? | |
seancribbs # adamhunter: I had one hang on me earlier, thought it was just Ruby | |
jlee # adamhunter: are you trying to simulate a failure, or scale the cluster down to two node permanently? | |
adamhunter # i am trying to figure out if the other two nodes are messing up the first | |
seancribbs # adamhunter: 0.9? | |
adamhunter # yeah | |
seancribbs # use riak_connect:remove_from_cluster/1 in the console, then wait for the handoff to finish | |
Damm joined #riak | |
Apr 22 14:52 | |
adamhunter # i clearly must have done something wrong when i installed :) it doesn't work on any of my three nodes, tks |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Colors</key> | |
<dict> | |
<key>Background</key> | |
<string>0.195 0.195 0.195</string> | |
<key>InsertionPoint</key> | |
<string>0.902 0.902 0.902</string> |
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 | |
set -u | |
set -e | |
# Example init script, this can be used with nginx, too, | |
# since nginx and unicorn accept the same signals | |
# Feel free to change any of the following variables for your app: | |
APP_ROOT=/home/deploy/public_html/rm/current | |
PID=$APP_ROOT/tmp/pids/unicorn.pid | |
ENV=production |
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
:pages =>[{ | |
:name=>"page-1", | |
:image=>"/pres/images/filler-image.jpg", | |
:tooltips=> | |
[{:tooltip=>"focus-1", | |
:focusY=>45, | |
:content=>"Lorem ipsum ", | |
:placement=>"top-left", | |
:focusHeight=>23, | |
:x=>20, |
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
-# where pages = that_example_hash[:pages] | |
- pages.each do |page| | |
.image | |
%img{ :src => "#{page[:image]}" } | |
-# the x & y coorinants for the top, left corners have some simple logic to subtract 2 from each to counter | |
-# the 2px border that's added in the CSS. This makes the focus areas overlay the main image in the right spot. | |
-# pages.each_pair do || | |
- page[:tooltips].each do |tooltip| |
OlderNewer