This file contains 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
node.js:63 | |
throw e; | |
^ | |
Error: No module symbol found in module. | |
at Module._loadObjectSync (node.js:360:13) | |
at Module.loadSync (node.js:336:12) | |
at loadModule (node.js:283:14) | |
at require (node.js:411:14) | |
at Object.<anonymous> (/usr/local/lib/node/.npm/pcap/0.2.1/package/pcap.js:8:18) |
This file contains 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
# Change ACL on the app/logs and app/cache directories | |
after 'deploy', 'deploy:update_acl' | |
# This is a custom task to set the ACL on the app/logs and app/cache directories | |
namespace :deploy do | |
task :update_acl, :roles => :app do | |
shared_dirs = [ | |
app_path + "/logs", |
This file contains 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
cd ~ | |
sudo apt-get install unzip | |
sudo apt-get install python-software-properties -y | |
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" | |
sudo apt-get update | |
sudo apt-get install sun-java6-jre sun-java6-plugin -y | |
wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.18.7.tar.gz -O elasticsearch.tar.gz | |
tar -xf elasticsearch.tar.gz |
This file contains 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
cd ~ | |
# Install the required JDK | |
sudo apt-get install openjdk-6-jre-headless | |
# Download, extract and move ElasticSearch | |
wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.17.6.tar.gz -O elasticsearch.tar.gz | |
tar -xf elasticsearch.tar.gz | |
rm elasticsearch.tar.gz | |
sudo mv elasticsearch-* elasticsearch |
This file contains 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 | |
$a = 35.55; | |
echo $a.PHP_EOL; | |
$b = 100; | |
echo $a * $b.PHP_EOL; |
This file contains 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: hostname | |
# Required-Start: | |
# Required-Stop: | |
# Should-Start: glibc | |
# X-Start-Before: networking | |
# Default-Start: S | |
# Default-Stop: | |
# Short-Description: Sets the hostname based on the vCloud Director OVF details |
This file contains 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"?> | |
<s:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> | |
<s:Body> | |
<ServiceRequest xmlns="http://tempuri.org/"> | |
<rqst xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> | |
<Credentials xmlns=""> | |
<Password>XXXXXX</Password> | |
<UserName>XXXXXXX</UserName> | |
</Credentials> | |
<RequestType xmlns="">Login</RequestType> |
This file contains 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
require 'savon' | |
HTTPI.log = false | |
username = "XXXXXXX" | |
password = "XXXXXXX" | |
Savon.configure do |config| | |
# The XML logged by Savon can be formatted for debugging purposes. |
This file contains 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/env python | |
import os | |
import argparse | |
parser = argparse.ArgumentParser(description='Create Assetic Twig image file list') | |
parser.add_argument('-b','--bundle', help='Bundle name', required=True) | |
parser.add_argument('-f','--folder', help='Image folder') | |
parser.add_argument('-s','--search', help='The location to recursively search & list') |
This file contains 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 | |
namespace SOG\Composer; | |
use Symfony\Component\Process\ExecutableFinder; | |
use Symfony\Component\Process\Process; | |
use Symfony\Component\Process\ProcessBuilder; | |
use RuntimeException; |
OlderNewer