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
| root@zeus:~# nova-manage service list | |
| Binary Host Zone Status State Updated_At | |
| nova-scheduler zeus internal enabled XXX 2013-09-20 14:16:55 | |
| nova-conductor zeus internal enabled XXX 2013-09-20 14:16:56 | |
| nova-network zeus internal enabled XXX 2013-09-20 14:17:01 | |
| nova-compute zeus nova enabled XXX 2013-09-19 20:43:34 | |
| nova-consoleauth zeus internal enabled XXX 2013-09-20 14:16:53 | |
| nova-cert zeus internal enabled XXX 2013-09-20 14:16:54 | |
| nova-compute zeus.americancouncils.org nova enabled :-) 2013-09-20 16:54:16 | |
| nova-scheduler zeus.americancouncils.org internal enabled :-) 2013-09-20 16:54:14 |
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
| root@zeus:~# nova show foo3 | |
| +-------------------------------------+-----------------------------------------------------------------------------------------------------------------+ | |
| | Property | Value | | |
| +-------------------------------------+-----------------------------------------------------------------------------------------------------------------+ | |
| | status | ERROR | | |
| | updated | 2013-09-20T15:26:07Z | | |
| | OS-EXT-STS:task_state | deleting | | |
| | OS-EXT-SRV-ATTR:host | zeus.americancouncils.org |
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
| ave@shelly: ~ | |
| $ mkdir foo | |
| dave@shelly: ~ | |
| $ cd foo | |
| dave@shelly: ~/foo | |
| $ git init | |
| Initialized empty Git repository in /home/dave/foo/.git/ | |
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
| framework: | |
| #esi: ~ | |
| translator: { fallback: en } | |
| secret: %secret% | |
| router: | |
| resource: "%kernel.root_dir%/config/routing.yml" | |
| strict_requirements: %kernel.debug% | |
| form: ~ | |
| csrf_protection: ~ | |
| validation: { enable_annotations: true } |
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
| 1. Implement UserInterface to be a shell around the phpbb user system | |
| 2. Implement UserProviderInterface to hand back the prior UserInterface implementation | |
| 3. Implement AuthenticationSuccessHandlerInterface to set the phpbb session key | |
| 4. Implement logout page to unset the phpbb session key |
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
| ### http://asemanfar.com/Current-Git-Branch-in-Bash-Prompt | |
| c_red=`tput setaf 1` | |
| c_green=`tput setaf 2` | |
| c_sgr0=`tput sgr0` | |
| parse_git_branch () | |
| { | |
| if git rev-parse --git-dir >/dev/null 2>&1 | |
| then |
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
| 'use strict'; | |
| var lrSnippet = require('grunt-contrib-livereload/lib/utils').livereloadSnippet; | |
| var mountFolder = function (connect, dir) { | |
| return connect.static(require('path').resolve(dir)); | |
| }; | |
| module.exports = function (grunt) { | |
| // load all grunt tasks | |
| require('matchdep'). | |
| filterDev('grunt-*'). |
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
| global | |
| log 127.0.0.1 local0 | |
| chroot /home/haproxy | |
| user haproxy | |
| group haproxy | |
| daemon | |
| #debug | |
| #quiet | |
| defaults |
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
| - name: install haproxy required packages | |
| apt: pkg=libssl0.9.8 | |
| # We can't use the regular Ubuntu packages because they only go up to | |
| # haproxy 1.4, which does not have SSL support | |
| - name: download haproxy deb file | |
| get_url: url=http://debian.byte-consult.be/haproxy_1.5-dev17_amd64.deb | |
| dest=/root/haproxy.deb | |
| - name: install haproxy |
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
| - hosts: beatbox.actesting.org | |
| tasks: | |
| - name: sync repository to target system | |
| local_action: command rsync -a -e ssh ${ENV(HOME)}/.ansible-cache-${name} | |
| ubuntu@${inventory_hostname}:/home/ubuntu/ansible-cache-${name} | |
| vars: | |
| name: foo |