Skip to content

Instantly share code, notes, and snippets.

View FabricioFFC's full-sized avatar

Fabrício Ferrari de Campos FabricioFFC

View GitHub Profile
@FabricioFFC
FabricioFFC / update_repos.sh
Created November 28, 2012 20:07
update git repositories
#!/bin/bash
if [ `whoami` != root ]; then
echo Por favor, rode o script usando sudo
exit
fi
initial_path="/var/www/"
end_path="/sistema-de-avaliacao"
@FabricioFFC
FabricioFFC / robot.js
Created December 5, 2012 19:36
VIZIR ROBOT - Fabricio
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(100);
@FabricioFFC
FabricioFFC / robot.js
Created December 5, 2012 19:36
VIZIR ROBOT - Fabricio
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(100);
@FabricioFFC
FabricioFFC / robot.js
Created December 5, 2012 19:36
VIZIR ROBOT - Gandalf
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.clone();
@FabricioFFC
FabricioFFC / robot.js
Created December 7, 2012 19:53
VIZIR Robot - Gandalf The White
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.clone();
@FabricioFFC
FabricioFFC / 0_reuse_code.js
Created November 21, 2013 19: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
@FabricioFFC
FabricioFFC / rodoviarias-brasil.json
Created February 7, 2015 04:07
Latitude e longitude das rodoviárias do Brasil (mapeamento ainda em andamento - apenas as principais por enquanto)
[
{
"name": "Rodoviária Rio de Janeiro - Terminal Novo Rio",
"latitude": "-22.899193",
"longitude": "-43.209191,17"
},
{
"name": "Rodoviária de São Paulo - Terminal Tietê",
"latitude": "-23.516324",
"longitude": "-46.623764,17"
@FabricioFFC
FabricioFFC / .zshrc
Created September 10, 2015 16:08
.zshrc
# For Golang
# Path to your oh-my-zsh installation.
export ZSH=/Users/fabricio/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="robbyrussell"
@FabricioFFC
FabricioFFC / smart-date-poc.js
Created October 24, 2015 09:29
smart-date-poc
var smartDate = {
addDays: function addDays(value) {
this.setDate(this.getDate() + value * 1);
return this;
}
};
smartDate.addDay = smartDate.addDays;
smartDate.adddays = smartDate.addDays;
smartDate.addday = smartDate.addDays;
@FabricioFFC
FabricioFFC / magento-dev-vizir.md
Created November 6, 2015 20:12
magento-dev-vizir

Procuramos Desenvolvedores com experiência com Magento.

##Requisitos:

  • Experiência em desenvolvimento de e-commerce com Magento;
  • Sólidos conhecimentos em PHP, ou seja, se considere bom e tenha um histórico de projetos na linguagem, utilizando boas práticas;
  • Gostar de resolver problemas;
  • Gostar de aprender;
  • Valorize o trabalho em equipe;

##Diferenciais: