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
[{"ID":"ec219dd5-d536-e6a9-e9b7-318a82dd878d","Node":"ip-172-23-188-174","Address":"localhost","TaggedAddresses":{"lan":"172.23.188.174","wan":"172.23.188.174"},"NodeMeta":{},"ServiceID":"vault:localhost:8200","ServiceName":"vault","ServiceTags":["active"],"ServiceAddress":"localhost","ServicePort":8200,"ServiceEnableTagOverride":false,"CreateIndex":15850286,"ModifyIndex":18154126}] |
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
nmap <S-Up> v<Up> | |
nmap <S-Down> v<Down> | |
nmap <S-Left> v<Left> | |
nmap <S-Right> v<Right> | |
vmap <S-Up> <Up> | |
vmap <S-Down> <Down> | |
vmap <S-Left> <Left> | |
vmap <S-Right> <Right> | |
imap <S-Up> <Esc>v<Up> | |
imap <S-Down> <Esc>v<Down> |
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/python | |
import sys | |
import os | |
class Context: | |
def __init__(self): | |
self.netbeans="~/netbeans-7.2beta/bin/netbeans" | |
self.context_dir = ".contexts" |
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
Installation | |
============ | |
In client side, include this between the header tags: | |
<link rel="stylesheet" type="text/css" media="screen" href="jQueryMediaUploader.css" /> | |
<script type="text/javascript" src="jquery.js"></script> | |
<script type="text/javascript" src="jQueryMediaUploader.js"></script> | |
<script typepe="text/javascript"> | |
MediaUploader.Store.urls = { |
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 | |
FILENAME=backup_server_laguialoenvia_$(date +%Y-%m-%d_%H-%M).tgz | |
mysqldump --all-databases -p****** > /tmp/databasebackup.sql | |
tar -cZf $FILENAME /var/www /var/www /etc/apache2/sites-enabled /tmp/databasebackup.sql | |
rm /tmp/databasebackup.sql |
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 | |
FILENAME=backup_server_laguialoenvia_$(date +%Y-%m-%d_%H-%M).tgz | |
mysqldump --all-databases -p****** > /tmp/databasebackup.sql | |
tar -cZf $FILENAME /var/www /var/www /etc/apache2/sites-enabled /tmp/databasebackup.sql | |
rm /tmp/databasebackup.sql |
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 | |
FILENAME=backup_server_laguialoenvia_$(date +%Y-%m-%d_%H-%M).tgz | |
mysqldump --all-databases -p****** > /tmp/databasebackup.sql | |
tar -cZf $FILENAME /var/www /var/www /etc/apache2/sites-enabled /tmp/databasebackup.sql | |
rm /tmp/databasebackup.sql |
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
<?php | |
require_once 'WorkflowDefinition.php'; | |
require_once 'Execution.php'; | |
$wbuilder = new WfBuilder(); | |
$workflow_definition = $wbuilder->build_workflow(); | |
$execution = new ezcWorkflowTestExecution(1); | |
$execution->workflow = $workflow_definition; |
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
<?php | |
require_once 'configurations.php'; | |
class WfBuilder{ | |
private $workflow; | |
private $process_steps = array(); | |
function build_workflow(){ |