Skip to content

Instantly share code, notes, and snippets.

View debugsito's full-sized avatar

Carlos Sebastian Ramos Flores debugsito

View GitHub Profile
Instalación
1. Import the public key used by the package management system.
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
2. Create a /etc/apt/sources.list.d/mongodb-org-3.0.list file for MongoDB.
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
3. Reload local package database
@RenzoTejada
RenzoTejada / Guía básica para usar ZFTool en ZF2"
Last active September 4, 2016 03:53
Un guía rápida de como usar ZFTool y la ayuda para los developers / desarrolladores / programadores en ZF2
Zend Framework 2 Tool
=========================
**ZFTool** instalar dentro de las dependencias del proyecto Zend Framework 2 .
## Configurar la instalación
* Run `composer require zendframework/zftool:dev-master`
* Habilitar el modulo ZFTool en **application.config.php**
## Features
@ghalusa
ghalusa / youtube_id_regex.php
Created June 20, 2015 23:14
Extract the YouTube Video ID from a URL in PHP
<?php
// Here is a sample of the URLs this regex matches: (there can be more content after the given URL that will be ignored)
// http://youtu.be/dQw4w9WgXcQ
// http://www.youtube.com/embed/dQw4w9WgXcQ
// http://www.youtube.com/watch?v=dQw4w9WgXcQ
// http://www.youtube.com/?v=dQw4w9WgXcQ
// http://www.youtube.com/v/dQw4w9WgXcQ
// http://www.youtube.com/e/dQw4w9WgXcQ
// http://www.youtube.com/user/username#p/u/11/dQw4w9WgXcQ