Skip to content

Instantly share code, notes, and snippets.

View casimiroarruda's full-sized avatar
🖊️
Keep Writing

Anderson Casimiro casimiroarruda

🖊️
Keep Writing
View GitHub Profile
{
"name":"7maters",
"require":{
"php":"5.3.*",
"monolog/monolog":"1.5.*"
}
}
{
"name": "duodraco/interconphp-todo",
"description": "Repository for InterconPHP Challenge",
"minimum-stability": "stable",
"license": "MIT",
"authors": [
{
"name": "Anderson Casimiro",
"email": "o@duodra.co"
}
@casimiroarruda
casimiroarruda / config.sh
Created July 22, 2014 13:56
Build environment ubuntu 14.04 simple
#!/bin/bash
#install ubuntu 14.04 server, LAMP + Openssh server stacks
echo '# 2nd networkcard' >> /etc/network/interfaces
echo 'auto eth1' >> /etc/network/interfaces
echo 'iface eth1 inet dhcp' >> /etc/network/interfaces
/etc/init.d/networking restart
ifup eth1
apt-get update && apt-get upgrade
#reboot
@casimiroarruda
casimiroarruda / 0_reuse_code.js
Last active August 29, 2015 14:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@casimiroarruda
casimiroarruda / Command.php
Last active March 6, 2017 00:18
Gist to support article on blog
<?php
namespace Duodraco\Foundation\Command;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
abstract class Command extends Controller
{
/**