This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
if sys.platform == "win32": | |
from time import clock as default_timer | |
else: | |
from time import time as default_timer | |
def bruno(n): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% Stolen from the bbold package. | |
\NeedsTeXFormat{LaTeX2e} | |
\ProvidesPackage{dejavubb}[2011/10/08 dejavubb package] | |
\newcommand{\bbfamily}{\fontencoding{T1}\fontfamily{dejavubb}\selectfont} | |
\newcommand{\textbb}[1]{{\bbfamily#1}} | |
\DeclareMathAlphabet{\mathbb}{T1}{dejavubb}{m}{n} | |
\endinput |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int mine(int n) | |
{ | |
int i, sum = 0; | |
for (i = 1; i <= n; i++) { | |
sum += i^2/4; | |
} | |
return sum; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rbrito@chagas:/media/lutz/devel/xpdf-poppler$ git reflog show origin/debian | |
63d878b refs/remotes/origin/debian@{0}: update by push | |
ed1d718 refs/remotes/origin/debian@{1}: update by push | |
bf233f7 refs/remotes/origin/debian@{2}: update by push | |
de82975 | |
rbrito@chagas:/media/lutz/devel/xpdf-poppler$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tox | |
GLOB sdist-make: /home/rbrito/Desktop/cursos/edx-downloader/setup.py | |
py27 inst-nodeps: /home/rbrito/Desktop/cursos/edx-downloader/.tox/dist/edx-dl-0.0.zip | |
py27 runtests: PYTHONHASHSEED='3787261654' | |
py27 runtests: commands[0] | py.test -v --junitxml=/home/rbrito/Desktop/cursos/edx-downloader/.tox/py27/log/result.xml . | |
======================================================= test session starts ======================================================== | |
platform linux2 -- Python 2.7.10 -- py-1.4.28 -- pytest-2.7.1 -- /home/rbrito/Desktop/cursos/edx-downloader/.tox/py27/bin/python2.7 | |
rootdir: /home/rbrito/Desktop/cursos/edx-downloader, inifile: | |
collected 7 items |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib | |
# Some silly people put invalid URLs like this: | |
# | |
# 'https://d396qusza40orc.cloudfront.net/webapplications/https%3A//d396qusza40orc.cloudfront.net/webapplications/lecture_slides/M6-L8-Ajax-Handout.pdf' | |
# | |
# as resources for students to download. We work around incompetence | |
# because, well, we are not like them. | |
s = 'https://d396qusza40orc.cloudfront.net/webapplications/https%3A//d396qusza40orc.cloudfront.net/webapplications/lecture_slides/M6-L8-Ajax-Handout.pdf' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 124b8da812896eee004d9243122781118298f627 Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?Rog=C3=A9rio=20Brito?= <rbrito@ime.usp.br> | |
Date: Sun, 23 Nov 2014 16:45:12 -0200 | |
Subject: [PATCH] lisp/{custom,faces}.el: Partial revert of commit aac2b67. | |
There were conflicts and I resolved them in the simplest (and most | |
naive) way, which is probably quite incorrect. | |
Still, this makes Emacs from master work back again for me. | |
--- |
NewerOlder