I hereby claim:
- I am diegotoral on github.
- I am diegotoral (https://keybase.io/diegotoral) on keybase.
- I have a public key ASCkzy31yRtkMM2Sx-RxsI51TRikrlEmqEJJNDSaYp3sHQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
--regex-ruby=/^[ \t]*describe ['"](.*)['"] do/\1/d,rspec describe/ | |
--regex-ruby=/^[ \t]*context ['"](.*)['"] do/\1/C,rspec context/ | |
--regex-ruby=/^[ \t]*it ['"](.*)['"] do/\1/i,rspec tests/ |
class Signal(object): | |
""" | |
Signal class. | |
""" | |
def __init__(self, sender): | |
super(Signal, self).__init__() | |
self.sender = sender | |
self.listeners = [] | |
def connect(self, callback): |
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines or lines starting with space in the history. | |
# See bash(1) for more options | |
HISTCONTROL=ignoreboth |
#include <stdio.h> | |
int s (int x) | |
{ | |
if (x == 0) | |
return 0; | |
else if (x == 1) | |
return 1; | |
else | |
return x * x; |
import requests | |
from bs4 import BeautifulSoup | |
from flask import Flask, render_template | |
app = Flask(__name__) | |
@app.route('/<string:month>/<int:day>') | |
def birthdays(month, day): | |
birthdays_html = requests.get('http://www.historyorb.com/birthdays/%s/%d' % (month, day)) |
#include <stdio.h> | |
// Arestas/Alfabeto | |
enum Arestas | |
{ | |
A, B, C, D, E, | |
10c, 50c, 100c | |
} | |
//Estados do automato |
#include <stdio.h> | |
int main() | |
{ | |
for( ; 1; ) | |
printf("Funcionaaa!!!!\n"); | |
return 0; | |
} |
#!/usr/bin/python | |
import PPMaze | |
from gi.repository import GObject | |
from gi.repository import Clutter | |
class PPGuy(Clutter.Actor): | |
"""PPGuy class - base class for some entities of the game""" |