create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
boost::asio::io_service io_service; | |
boost::asio::deadline_timer timer(io_service); |
ifdef SUDO_USER | |
USER=$(SUDO_USER) | |
endif | |
INSTALL=apt-get install -y | |
INSTALL_LIB=$(INSTALL) lib$(1)-dev | |
REMOVE = \ | |
apt-get purge -y $(1)*; \ |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
/** | |
* Implementação do algorítimo SoundEx em Javascript. | |
* @author João Batista Neto | |
* | |
* SoundEX é um algorítimo fonético para indexação de nomes pelo som segundo | |
* sua pronúncia. O algorítimo foi desenvolvido por Robert C. Russell e | |
* Margaret K. Odell e patenteado em 1918 e 1922. | |
* {@link http://en.wikipedia.org/wiki/Soundex} | |
* | |
* @return {String} |
#!/bin/sh | |
## | |
## Redhat / Linux / LSB | |
## | |
# chkconfig: 345 85 15 | |
# description: Startup script for Express / Node.js application with the \ | |
## forever module. | |
## | |
## A modification of https://gist.github.com/1339289 | |
## |
// Turns out this function already exists in Sass: mix(fg, bg, %) (http://d.pr/mGqa) | |
// Alpha blending | |
@function blend($bg, $fg) { | |
$r: red($fg) * alpha($fg) + red($bg) * (1 - alpha($fg)); | |
$g: green($fg) * alpha($fg) + green($bg) * (1 - alpha($fg)); | |
$b: blue($fg) * alpha($fg) + blue($bg) * (1 - alpha($fg)); |
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel | |
// MIT license | |
(function() { | |
var lastTime = 0; | |
var vendors = ['ms', 'moz', 'webkit', 'o']; |
// Basic approach. Does not try to register in | |
// a CommonJS environment since jQuery is not likely | |
// to run in those environments. See next file | |
// if you want to opt in to CommonJS too. | |
(function(factory) { | |
if (typeof define === 'function' && define.amd) { | |
// AMD. Register as an anonymous module. | |
define(['jquery'], factory); | |
} else { |
<?php | |
use Doctrine\ORM\EntityRepository; | |
class Wantlet_Validate_EmailAvailable extends Zend_Validate_Abstract { | |
const NOT_AVAILABLE = 'notAvailable'; | |
protected $_messageTemplates = array( | |
self::NOT_AVAILABLE => "Email address '%value%' is already in use" | |
); |