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
#Quick cp from http://sekati.com/etc/install-nodejs-on-debian-squeeze | |
# | |
#Needed to install TileMill from MapBox | |
# | |
#Installs node.js which has npm bundled | |
# | |
#Build Dependencies | |
sudo apt-get update && sudo apt-get install git-core curl build-essential openssl libssl-dev |
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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
require_once APPPATH.'third_party/Mandrill.php'; | |
/** | |
* @version 1.6 | |
* @todo add Tags √ | |
* @todo send templates √ | |
* @todo reset params √ | |
* @todo config trackopens/clicks √ |
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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
function valid_cui($cui) | |
{ | |
preg_match('/^([\D]{2})?\s*(\d{2,10})$/', $cui, $m); | |
if(empty($m)) return false; | |
if(!empty($m[1]) && strtolower($m[1]) != 'ro') return false; |