Oscar Correa: oscar@batteries911.com
- css
- javascript
- node.js
- angular (al menos mid-level)
<?php | |
/** | |
* Mailer. | |
* | |
* @author nebiros | |
*/ | |
class Mailer { | |
protected $_mailsFilePath = null; | |
// | |
// BaseGeolocable.swift | |
// | |
// Created by Juan Felipe Alvarez Saldarriaga on 11/11/16. | |
// | |
import Foundation | |
import CoreLocation | |
protocol BaseGeolocable: class, CLLocationManagerDelegate { |
Oscar Correa: oscar@batteries911.com
// objc's continue method signature: - (AWSTask *)continueWithBlock:(AWSContinuationBlock)block; | |
// swift translate it as: .continue(block: (AWSTask<AWSCognitoIdentityUserPoolSignUpResponse>) -> Any?) | |
// error: Ambiguous use of 'continue' | |
pool.signUp(username, | |
password: password, | |
userAttributes: attrs, | |
validationData: nil) | |
.continue { (task) -> Any? in | |
} |
Oscar Correa: oscar@batteries911.com
ENV["RAILS_ENV"] ||= "production" | |
module UnicornServer | |
# http://unicorn.bogomips.org/Unicorn/Configurator.html | |
CONFIG_PATH = File.join(Rails.root, "config", "unicorn.rb") | |
PID_PATH = File.join(Rails.root, "tmp", "pids", "unicorn.pid") | |
RBENV = %x[which rbenv].strip | |
DAEMON = "bundle exec unicorn_rails" | |
DAEMON_OPTS = "-c #{CONFIG_PATH} -E #{ENV["RAILS_ENV"]} -D" |
#import "MyViewController.h" | |
#import "UIViewController+JIMBackButton.h" | |
@interface MyViewController () | |
@end | |
@implementation MyViewController | |
#pragma mark - UIViewController |
$ HOMEBREW_MAKE_JOBS=1 brew install -v php55 --with-homebrew-openssl --with-imap --with-pgsql --with-tidy 2>&1 | |
==> Downloading http://www.php.net/get/php-5.5.6.tar.bz2/from/this/mirror | |
Already downloaded: /Library/Caches/Homebrew/php55-5.5.6 | |
tar xf /Library/Caches/Homebrew/php55-5.5.6 | |
==> Patching | |
/usr/bin/patch -f -p1 -i 000-homebrew.diff | |
patching file configure | |
Hunk #1 succeeded at 39041 (offset 764 lines). | |
/usr/local/Library/Homebrew/formulary.rb:40: command not found: pg_config --includedir | |
==> ./configure --prefix=/usr/local/Cellar/php55/5.5.6 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.5 --with-config-file-path=/usr/local/etc/php/5.5 --with-config-file-scan-dir=/usr/local/etc/php/5.5/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-soap --enable-wddx --enable-ftp --enable-sockets --enable-zip --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-mbstring --enable-mbregex --enable-bcmath --enable-calendar --with-zlib=/usr/local/op |
var App = App || {}; | |
App.UI = (function ($) { | |
var module = {}; | |
function Template(options) { | |
var defaults = { | |
cache: {} | |
, nav: {target: document.body, backLabel: "Back"} | |
, templatesDir: "templates" |