create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
# Usage: | |
# source iterm2.zsh | |
# iTerm2 tab color commands | |
# https://iterm2.com/documentation-escape-codes.html | |
if [[ -n "$ITERM_SESSION_ID" ]]; then | |
tab-color() { | |
echo -ne "\033]6;1;bg;red;brightness;$1\a" | |
echo -ne "\033]6;1;bg;green;brightness;$2\a" |
if ($request_uri = /) { | |
set $test A; | |
} | |
if ($host ~* teambox.com) { | |
set $test "${test}B"; | |
} | |
if ($http_cookie !~* "auth_token") { | |
set $test "${test}C"; |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
<?php | |
namespace XXX\ToolkitBundle\Tests\Command; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; | |
use Symfony\Component\Console\Tester\CommandTester; | |
use Symfony\Bundle\FrameworkBundle\Console\Application; | |
use XXX\ToolkitBundle\Command\CommonGenerateCommand; | |
<?php | |
require_once('swift/lib/swift_required.php'); | |
$email = $_POST['email']; | |
$subject = "my subject"; | |
$user_message = "<b>message body</b>"; | |
$mailer = new Swift_Mailer(new Swift_MailTransport()); | |
$message = Swift_Message::newInstance(); | |
$message->setSubject($subject); |
In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.
The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.
<?php | |
/** | |
* May 2012 Web Services Technical Guide v1.8_EN 21 | |
* | |
* Note: information must be encoded with utf8_encode function | |
* | |
* Library used: PHP5 SOAP library | |
* http://php.net/soap | |
*/ |
VERSION=0.20.6 | |
sudo apt-get update | |
sudo apt-get install openjdk-6-jdk | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$VERSION.deb | |
sudo dpkg -i elasticsearch-$VERSION.deb | |
# be sure you add "action.disable_delete_all_indices" : true to the config!! |
#test { counter-reset: c; } | |
#test span { counter-increment: c; } | |
#test span:before { content: counter(c, decimal-leading-zero); } |