Skip to content

Instantly share code, notes, and snippets.

Gabriel Falcão gabrielfalcao

Block or report user

Report or block gabrielfalcao

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@gabrielfalcao
gabrielfalcao / lettuce_wait.py
Created May 10, 2019
generic wait functions for browser testing with lettuce
View lettuce_wait.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
import time
import threading
from functools import wraps
from lxml import html
from lxml.etree import XMLSyntaxError
from lettuce import world, before, after
@gabrielfalcao
gabrielfalcao / dojo-kata-ideas.md
Created Oct 5, 2018
Ideas for practical dojos
View dojo-kata-ideas.md

Kata Ideas for Coding Dojos

CaseParser

A library and/or command-line tool to detect case of a word and translates to any other case.

Must support case types:

  • camelCase
  • PascalCase
View github-repository-projects-and-cards.gql
{
repository(name: "berlin", owner: "gabrielfalcao") {
name
shortDescriptionHTML
description
owner {
id
login
avatarUrl
url
View cucumber-bdd-5-whys-user-stories.md
[5:08pm] Luis_Byclosure: I'm having problems applying the "5 Why" rule, to the feature
                         "login" (imagine an application like youtube)
[5:08pm] Luis_Byclosure: how do you explain the business value of the feature "login"?
[5:09pm] Luis_Byclosure: In order to be recognized among other people, I want to login
                         in the application (?)
[5:09pm] Luis_Byclosure: why do I want to be recognized among other people?
[5:11pm] aslakhellesoy:  Why do people have to log in?
[5:12pm] Luis_Byclosure: I dunno... why?
[5:12pm] aslakhellesoy:  I'm asking you
@gabrielfalcao
gabrielfalcao / stylish.css
Created Jun 21, 2018 — forked from amitmerchant1990/stylish.css
Revert back to good old GitHub Homepage
View stylish.css
/**
1. Install the Stylish(https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en) extension for Chrome.
2. Open up extension options and paste the CSS mentioned below.
3. Specify the "URLs on the domain" to be `github.com`.
4. Add a title and save.
*/
.dashboard-sidebar {
float: right;
padding-right: 10px;
View gist:f1209b3998359542a3ac37c2c6fb4f96

Sphinx themes

Built-in themes

Basic

  • basic
  • default
  • epub
@gabrielfalcao
gabrielfalcao / vpn.md
Created Feb 14, 2018 — forked from joepie91/vpn.md
Don't use VPN services.
View vpn.md

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

(A Russian translation of this article can be found here, contributed by Timur Demin.)

Why not?

@gabrielfalcao
gabrielfalcao / vpn.md
Created Feb 14, 2018 — forked from joepie91/vpn.md
Don't use VPN services.
View vpn.md

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

(A Russian translation of this article can be found here, contributed by Timur Demin.)

Why not?

View .ackrc
--type-add=docker:match:/Dockerfile/
--type-add=rake:is:Rakefile
--type-set=bash:ext:sh,bash
--type-add=txt:ext:txt,asc
--type-add=jsx:ext:jsx
--type-add=yml:ext:yml,yaml
--type-add=pip:ext:txt,pip
--type-add=conf:ext:conf,ini
--type-add=requirements:ext:txt,pip
--type-add=python:firstlinematch:/^[#][!].*python/
@gabrielfalcao
gabrielfalcao / ps1.sh
Created Dec 14, 2017
bashrc PS1 with git and virtualenv
View ps1.sh
# ANSI COLORS FOR $PS1
declare -x black="\[\033[0;30m\]"
declare -x red="\[\033[1;31m\]"
declare -x green="\[\033[38;5;155m\]"
declare -x yellow="\[\033[38;5;220m\]"
declare -x blue="\[\033[1;34m\]"
declare -x purple="\[\033[38;5;197m\]"
declare -x cyan="\[\033[1;36m\]"
declare -x white="\[\033[1;37m\]"
declare -x bold="\[\033[1m\]"
You can’t perform that action at this time.