Skip to content

Instantly share code, notes, and snippets.

View murielsilveira's full-sized avatar

Muriel Silveira murielsilveira

View GitHub Profile

Dev List Bookmarks

Attention: the list was moved to https://github.com/vitorbritto/dev-list

This page is not maintained anymore, please update your bookmarks.


Recently, I decided to organize my bookmarks. So, like a good fellow, I am sharing with you. I hope you enjoy!

@murielsilveira
murielsilveira / dicas_open_source.md
Created June 1, 2014 20:23
Dicas projetos open source ZOFE #14
@murielsilveira
murielsilveira / hack.summit() notes - What is code review.md
Last active October 7, 2015 13:25
hack.summit() notes - What is code review?

What is code review?

Key points

  • Review diffs
  • Why code review?
    • At least two people know about
    • Ensure readability
    • Catch bugs
  • Encourage a healthy engineering culture
@murielsilveira
murielsilveira / poker_test.py
Last active August 29, 2015 14:14
Coding Dojo - Poker Problem
import unittest
# http://dojopuzzles.com/problemas/exibe/poker/
# Spades (highest)
# Hearts
# Diamonds
# Clubs (lowest)
# 2..9 (each one with their own value)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="style.css">
<title>Draggable</title>
</head>
@murielsilveira
murielsilveira / .zshrc
Last active October 5, 2015 21:23 — forked from SlexAxton/.zshrc
My gif workflow
gifify() {
if [[ -n "$1" ]]; then
if [[ $2 == '--good' ]]; then
ffmpeg -i $1 -r 10 -vcodec png out-static-%05d.png
time convert -verbose +dither -layers Optimize -resize 600x600\> out-static*.png GIF:- | gifsicle --colors 128 --delay=5 --loop --optimize=3 --multifile - > $1.gif
rm out-static*.png
else
ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > $1.gif
fi
else
import sys
import argparse
from getpass import getpass
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
def navigate(card_number, user_name, passkey):
try:
browser = webdriver.Firefox()