Skip to content

Instantly share code, notes, and snippets.

View rogeriopradoj's full-sized avatar
😀

Rogerio Prado de Jesus rogeriopradoj

😀
View GitHub Profile
<head>
<!-- Bootstrap CSS CDN -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css">
</head>
<body>
<!-- APP CONTENT -->
<!-- jQuery CDN -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<!-- jQuery local fallback -->
<?php
namespace Projeto\Empresa\Services;
class ProductManager
{
private $productDAO;
public function __construct(\Product_model $productDAO)
{
NameVirtualHost 127.0.0.2:80
<Directory "/var/www/html/example/">
Options -Indexes +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<VirtualHost 127.0.0.2:80>
@rogeriopradoj
rogeriopradoj / asciinema.rb
Last active December 23, 2015 17:59 — forked from ku1ik/asciiio.rb
require 'formula'
class Asciinema < Formula
# always gets the latest version, since asciinema
# doesn't have any versioning schemes going on
head 'git://github.com/sickill/asciinema.git'
homepage 'https://github.com/sickill/asciinema'
def install
@rogeriopradoj
rogeriopradoj / gist:2405270
Created April 17, 2012 10:54 — forked from jordanbrock/gist:2404532
Vagrantfile for openphoto server
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.box = "vagrant-oneiric"
config.vm.provision :chef_solo do |chef|
chef.binary_path = "/path/to/chef/binary/"
chef.cookbooks_path = "/path/to/chef/cookbooks"