start new:
tmux
start new with session name:
tmux new -s myname
# | |
# Author:: Joshua Timberman (<joshua@opscode.com>) | |
# Copyright:: Copyright (c) 2011 Opscode, Inc. | |
# License:: Apache License, Version 2.0 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
#!/bin/bash | |
## Adjustments | |
PATH=/bin:/usr/bin:/sbin:/usr/sbin | |
CARBON_SCRIPT=/etc/init.d/carbon-cache | |
CARBON_CONF=/etc/carbon/carbon.conf | |
RSYNC_OPTIONS='-av --ignore-existing' | |
WHISPER_BIN=/usr/bin | |
execute_cutover () { |
input { | |
syslog { | |
type => "haproxy-access" | |
port => 514 | |
} | |
} | |
filter { | |
grok { | |
type => "haproxy-access" |
From https://gist.github.com/3050224
From http://blog.smartcore.net.au/smartos-the-basics/
##Replacing a node with a machine of the same name ###Objective The goal is to replace a Riak instance with a new Riak instance of the same name so that the application environment does not need to have instance-name related changes.
###Scenario
Riak is running in a cluster of five nodes.
riak@node1.localdomain
on node1.localdomain
(192.168.17.11)riak@node2.localdomain
on node2.localdomain
(192.168.17.12)Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.