Skip to content

Instantly share code, notes, and snippets.

View fmoliveira's full-sized avatar

Filipe Oliveira fmoliveira

  • Level Access
  • Toronto
  • 06:05 (UTC -04:00)
View GitHub Profile
@fmoliveira
fmoliveira / AWSLambdaSimpleSMS.js
Last active August 29, 2015 14:27 — forked from stevebowman/AWSLambdaSimpleSMS.js
AWS Lambda Function to send an SMS message via the Twilio API
console.log('Loading event');
// Twilio Credentials
var accountSid = '';
var authToken = '';
var fromNumber = '';
var https = require('https');
var queryString = require('querystring');
@fmoliveira
fmoliveira / style_guide.md
Last active September 10, 2015 15:35 — forked from dominictarr/style_guide.md
style guide

High level style in javascript.

Opinions are like assholes, every one has got one.

This one is mine.

Punctuation: who cares?

Punctuation is a bikeshed. Put your semicolons, whitespace, and commas where you like them.

@fmoliveira
fmoliveira / Vagrantfile
Created October 7, 2015 20:14 — forked from joefitzgerald/Vagrantfile
Windows Vagrantfile - Installs .NET 4.5, VS 2012, VS 2012 Update 3, then a bunch of utilities, then syspreps the machine. Get https://github.com/joefitzgerald/packer-windows for the base box and add it with the name "windows2008r2".
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define "vagrant-windows"
config.vm.box = "windows2008r2"
# You should be using the vagrant-windows Vagrant Plugin!
# Admin user name and password
config.winrm.username = "Administrator"
@fmoliveira
fmoliveira / logstash.conf
Created October 22, 2015 19:22 — forked from robinsmidsrod/logstash.conf
Logging Windows event log information to Logstash using nxlog and JSON transport
input {
tcp {
type => "syslog"
host => "127.0.0.1"
port => 3514
}
tcp {
type => "eventlog"
host => "10.1.1.2"
port => 3515
@fmoliveira
fmoliveira / gulpfile.js
Created November 4, 2015 22:53 — forked from danharper/gulpfile.js
New ES6 project with Babel, Browserify & Gulp
var gulp = require('gulp');
var sourcemaps = require('gulp-sourcemaps');
var source = require('vinyl-source-stream');
var buffer = require('vinyl-buffer');
var browserify = require('browserify');
var watchify = require('watchify');
var babel = require('babelify');
function compile(watch) {
var bundler = watchify(browserify('./src/index.js', { debug: true }).transform(babel));
A História do Rpg
ASCII
A empresa japonesa chamada ASCII Corporation que foca a informática em geral. Foi responsável por criar uma linha de computadores e pela produção e desenvolvimento de hardwares. A medida em que a popularidade dos consoles de jogos cresceu na década de 1980, a ASCII voltou sua atenção para o desenvolvimento e divulgação de software para consoles populares como o Nintendo Entertainment System e Sega Genesis. Foi nesta época que surgiu o Rpg Maker ou RPG Tsukūru como é conhecido no Japão. A ASCII tornou-se tão popular no mercado de software que em 1991 acabou por criar uma filial nos Estados Unidos da América, a ASCII Entertainment.
Em março de 2002, a ASCII encerrou todo o processo de desenvolvimento e comercialização de vídeo-games no Japão e focou seu trabalho em publicações de TI e computação. Antes de deixar o mercado de vídeo-games, contudo, a empresa criou uma editora independente denominada Media Leaves. Isso fez com que o RPG Maker deixasse de ser produzido pela ASCII e passou
@fmoliveira
fmoliveira / ssl.rules
Created February 9, 2016 01:28 — forked from konklone/ssl.rules
nginx TLS / SSL configuration options for konklone.com
# Basically the nginx configuration I use at konklone.com.
# I check it using https://www.ssllabs.com/ssltest/analyze.html?d=konklone.com
#
# To provide feedback, please tweet at @konklone or email eric@konklone.com.
# Comments on gists don't notify the author.
#
# Thanks to WubTheCaptain (https://wubthecaptain.eu) for his help and ciphersuites.
# Thanks to Ilya Grigorik (https://www.igvita.com) for constant inspiration.
server {
@fmoliveira
fmoliveira / auto-deploy.md
Created February 13, 2016 01:16 — forked from domenic/0-github-actions.md
Auto-deploying built products to gh-pages with Travis

Auto-deploying built products to gh-pages with Travis

This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.

Create a compile script

You want a script that does a local compile to e.g. an out/ directory. Let's call this compile.sh for our purposes, but for your project it might be npm build or gulp make-docs or anything similar.

The out/ directory should contain everything you want deployed to gh-pages. That almost always includes an index.html.

@fmoliveira
fmoliveira / README.md
Created March 9, 2016 01:19 — forked from joelverhagen/README.md
Jekyll YouTube Embed Plugin

This is a plugin meant for Jekyll.

Example use:

Easily embed a YouTube video. Just drop this file in your _plugins directory.

{% youtube oHg5SJYRHA0 %}