Skip to content

Instantly share code, notes, and snippets.


Rogerio Prado de Jesus rogeriopradoj

View GitHub Profile
rogeriopradoj / config.yaml
Created Jan 30, 2014
puphpet config.yaml
View config.yaml
box: debian-wheezy72-x64-vbox43
box_url: ''
hostname: null
sudo ln -s /Library/Ruby/Site/puppet /usr/local/Cellar/ruby/2.1.0/lib/ruby/2.1.0/puppet
sudo ln -s /Library/Ruby/Site/puppet.rb /usr/local/Cellar/ruby/2.1.0/lib/ruby/2.1.0/puppet.rb
sudo ln -s /Library/Ruby/Site/semver.rb /usr/local/Cellar/ruby/2.1.0/lib/ruby/2.1.0/semver.rb
sudo ln -s /Library/Ruby/Site/facter /usr/local/Cellar/ruby/2.1.0/lib/ruby/2.1.0/facter
sudo ln -s /Library/Ruby/Site/facter.rb /usr/local/Cellar/ruby/2.1.0/lib/ruby/2.1.0/facter.rb
sudo ln -s /Library/Ruby/Site/hiera /usr/local/Cellar/ruby/2.1.0/lib/ruby/2.1.0/hiera
sudo ln -s /Library/Ruby/Site/hiera.rb /usr/local/Cellar/ruby/2.1.0/lib/ruby/2.1.0/hiera.rb
View index.html
<!DOCTYPE html>
<meta http-equiv="refresh" content="8">
<title>QUnit Test Suite</title>
<link rel="stylesheet" href="" type="text/css" media="screen">
<script type="text/javascript" src=""></script>
<!-- Your project file goes here -->
<script type="text/javascript" src="../siapf.js"></script>
<!-- Your tests file goes here -->
rogeriopradoj / 1-header.html
Last active Aug 29, 2015
javascripts and css fallbacks examples
View 1-header.html
<!-- Bootstrap CSS CDN -->
<link rel="stylesheet" href="//">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<script src=""></script>
// html5shiv local fallback
window.html5 || document.write('<script src="vendor/afarkas/html5shiv/dist/html5shiv.js"><\/script>')
rogeriopradoj / .htaccess
Last active Aug 29, 2015
test module mod_auth_sspi or in Apache 2.2 or 2.4 on Windows host
View .htaccess
<IfModule mod_authnz_sspi.c>
AuthType SSPI
SSPIAuthoritative On
SSPIOfferBasic Off
Require valid-user
<IfModule mod_auth_sspi.c>
AuthType SSPI
View .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
# !IMPORTANT! Set your RewriteBase here and don't forget trailing and leading
# slashes.
# If your page resides at
# then use
# RewriteBase /mypage/test1/
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
View 1-urlRelease.php
* returns url for downloading a PHP 5 version release
* Check if the release is on, otherwise, use distributions url
* @param string $version format X.Y.Z
* @return string url
function urlRelease($version)
# -*- coding: utf-8 -*-
# Symfony Docs pt-BR documentation build configuration file, created by
# sphinx-quickstart on Mon Mar 3 13:38:09 2014.
# This file is execfile()d with the current directory set to its
# containing dir.
# Note that not all possible configuration values are present in this
# autogenerated file.
View main.yml
- name: Add ppa Repository
sudo: yes
apt_repository: repo=ppa:ondrej/apache2
- name: Update apt
sudo: yes
apt: update_cache=yes
- name: Install Apache
You can’t perform that action at this time.