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
set nocompatible | |
set viminfo='50,<1000,s100,:100 | |
filetype on " recognize filetypes | |
syntax on | |
filetype plugin on | |
filetype indent on | |
set backspace=indent,eol,start " allow backspacing over everything in insert mode | |
set smartcase | |
set history=50 " keep 50 lines of command line history | |
set ruler " show the cursor position all the time |
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
Index: tests/Zend/Db/Select/TestCommon.php | |
=================================================================== | |
--- tests/Zend/Db/Select/TestCommon.php (revision 24461) | |
+++ tests/Zend/Db/Select/TestCommon.php (working copy) | |
@@ -1609,6 +1609,18 @@ | |
$this->assertEquals(1, $result[0]['id']); | |
} | |
+ public function testSelectUnionBind() | |
+ { |
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
Index: tests/Zend/View/Helper/TranslateTest.php | |
=================================================================== | |
--- tests/Zend/View/Helper/TranslateTest.php (revision 24514) | |
+++ tests/Zend/View/Helper/TranslateTest.php (working copy) | |
@@ -206,6 +206,7 @@ | |
$this->helper->setTranslator($trans); | |
$this->assertEquals("drei 100 200", $this->helper->translate("three %1\$s %2\$s", "100", "200")); | |
$this->assertEquals("tre 100 200", $this->helper->translate("three %1\$s %2\$s", "100", "200", 'it')); | |
+ $this->assertEquals("drei 100 it", $this->helper->translate("three %1\$s %2\$s", "100", "it")); | |
$this->assertEquals("drei 100 200", $this->helper->translate("three %1\$s %2\$s", array("100", "200"))); |
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/sh | |
### BEGIN INIT INFO | |
# Provides: mysql-ramdisk | |
# Required-Start: | |
# Required-Stop: | |
# Default-Start: | |
# Default-Stop: 6 | |
# Short-Description: Init mysql ramdisk | |
# Description: | |
### END INIT INFO |
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/local/bin/php | |
<? | |
$m = new Memcached(); | |
$m->addServer('127.0.0.1', '11211'); | |
$m->setOption(Memcached::OPT_BINARY_PROTOCOL, true); | |
$key = 'testkey'; | |
$m->set($key, 'foo22'); | |
$m->get($key, null, $cas); | |
$m->cas(999999, $key, 'foo'); |
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
{ | |
"id": "b16e2779", | |
"method": "editContact", | |
"params": { | |
"contactId": 1234, | |
"rev": "15", | |
"contact": { | |
"phone": { | |
"phone": "717-555-0480", | |
"home": "+216 717-555-6633", |
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 | |
define('USERNAME', '[email protected]'); | |
define('PASSWORD', '43c789d483fd76547b1f157e3cf5e580b95b9d8c'); | |
function findEndpoints($username) { | |
$soapClient = new SoapClient("http://api.nutshell.com/v1/soap?wsdl"); | |
return $soapClient->getApiForUsername($username); | |
} | |
$endpoints = findEndpoints(USERNAME); |
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 | |
define('USERNAME', '[email protected]'); | |
define('PASSWORD', '43c789d483fd76547b1f157e3cf5e580b95b9d8c'); | |
function findEndpoints($username) { | |
$soapClient = new SoapClient("http://api.nutshell.com/v1/soap?wsdl"); | |
return $soapClient->getApiForUsername($username); | |
} | |
$endpoints = findEndpoints(USERNAME); |
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
2013/10/22 11:38:20 Packer Version: 0.3.10 | |
2013/10/22 11:38:20 Packer Target OS/Arch: linux amd64 | |
2013/10/22 11:38:20 Detected home directory from env var: /home/masonm | |
2013/10/22 11:38:20 Attempting to open config file: /home/masonm/.packerconfig | |
2013/10/22 11:38:20 File doesn't exist, but doesn't need to. Ignoring. | |
2013/10/22 11:38:20 Packer config: &{PluginMinPort:0 PluginMaxPort:0 Builders:map[amazon-ebs:packer-builder-amazon-ebs amazon-chroot:packer-builder-amazon-chroot amazon-instance:packer-builder-amazon-instance digitalocean:packer-builder-digitalocean openstack:packer-builder-openstack virtualbox:packer-builder-virtualbox vmware:packer-builder-vmware] Commands:map[build:packer-command-build fix:packer-command-fix inspect:packer-command-inspect validate:packer-command-validate] PostProcessors:map[vagrant:packer-post-processor-vagrant] Provisioners:map[ansible-local:packer-provisioner-ansible-local chef-solo:packer-provisioner-chef-solo file:packer-provisioner-file puppet-masterless:packer-provisio |
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 'aws' | |
require 'mime/types' | |
access_key_id = ENV['AWS_ACCESS_KEY_ID'] | |
secret_access_key = ENV['AWS_SECRET_ACCESS_KEY'] | |
bucket_name = ENV['S3_BUCKET'] | |
s3 = AWS::S3.new( | |
:access_key_id => access_key_id, | |
:secret_access_key => secret_access_key |
OlderNewer