I hereby claim:
- I am etandel on github.
- I am etandel (https://keybase.io/etandel) on keybase.
- I have a public key whose fingerprint is CC5B 0C99 6751 A75A 950A E07E 44D4 1D7B 7F62 17BF
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/zsh | |
| newname=$(echo $1 | awk -F'.' '{print $1}').png # i3lock only accepts pngs | |
| resolution=$(xrandr | fgrep '*' | awk '{print $1}') | |
| # if the image is too large, run the folloowing line first and then run the script again on temp.jpg: | |
| # convert $1 -gravity Center -adaptive-resize $resolution -background black temp.jpg | |
| convert $1 -background black -gravity center -extent $resolution -background black $newname |
Python:
class Num(int):
def __eq__(self, n):
return True
x = Num(3)
assert(x == x + 2)| local http = require('socket.http') | |
| local get_mod | |
| get_mod = function(ab_score) | |
| return math.floor(0.5 * (ab_score - 10)) | |
| end | |
| local Player | |
| do | |
| local _base_0 = { | |
| attack = function(self) | |
| return math.random(1, 20) + self.int + self.str + self.bab |
| #!/usr/bin/env lua | |
| --[[ | |
| Example use: | |
| $ ./beatify.lua beatify.lua | |
| Saint Beatify, blessed be thy exit()! | |
| --]] | |
| from functools import partial | |
| from bulbs.neo4jserver import Graph | |
| from bulbs.model import Node, Relationship | |
| from bulbs.property import String, Integer | |
| from sitemap import sitemap | |
| class Page(Node): |
| nhomens = 0 | |
| nmulheres = 0 | |
| soma_mulheres = 0 | |
| max_altura = 0 | |
| min_altura = float('inf') | |
| npessoas = int(raw_input("Quantas pessoas no total?")) | |
| for i in xrange(npessoas): | |
| sexo = raw_input("F ou M?") | |
| altura = int(raw_input("Digite a altura em centimetros.")) |
| The most metalhead orchestra is back to surprise us all again. D:S:O, that in the last few years has | |
| possibly won the title of most original metal band, is back with its new "Pandora's Piñata".The fact is | |
| that this title has everything to do with the band, since its music is like a pandora's box that, when | |
| opened, lets one discover new things, but always with a sence of humor that sometimes seems to be begging | |
| for this scene, this fun that may give us a piñata in a party [not sure about this last sentence]. | |
| And the music of this swedish combo (that, with the addition of Mart Isaksson's trumpet and Daniel Hedin's | |
| trombone, has certainly moved from a sextet to a 8 person combo) is exactly this: a party. A party that | |
| flirts with many different styles, a party with a sense of humor and this childish feel that has | |
| transformed into the identity of the swedish group. Something that made "Pandora's Piñata" a much expected |