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
term xterm-color | |
altscreen on | |
hardstatus on | |
hardstatus alwayslastline | |
startup_message off | |
termcapinfo xterm ti@:te@ | |
hardstatus string "%{= kG}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a " |
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 bash | |
branch=`git branch | grep '*' | awk '{print $2}'` | |
git push -u origin $branch |
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 bash | |
branch=`git branch | grep '*' | awk '{print $2}'` | |
get_files() { | |
if test "$1" = "fbranch"; then | |
echo `git diff develop..$branch --name-status | egrep '[AM]\t' | awk '{print $2}' | grep '.py'` | |
else | |
echo `git status --porcelain | egrep '[AM] ' | awk '{print $2}' | grep '.py'` | |
fi |
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
[pep8] | |
ignore=E501,E711,E712,E122,E123,E128 |
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
[MESSAGES CONTROL] | |
disable=line-too-long, too-many-locals, too-few-public-methods, no-member, invalid-name, no-init, fixme, duplicate-code, import-error, missing-docstring, old-style-class, bad-format-string, no-self-use, too-many-branches, broad-except, star-args, too-many-arguments, too-many-return-statements, bad-continuation, maybe-no-member, too-many-statements, too-many-instance-attributes, super-on-old-class | |
[REPORTS] | |
output-format=colorized | |
reports=no |
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
function sendNotification(data){ | |
new Notification("Entrada Vendida!", {icon: "http://i.imgur.com/PDqr3ZK.png", body: data.availableRegularTickets + "\n"+data.lastBuyerName.substring(0, 30).ucwords()}); | |
} | |
function ticketSold(data) { | |
// Let's check if the user is okay to get some notification | |
if (Notification.permission === "granted") { | |
// If it's okay let's create a notification | |
sendNotification(data); | |
} |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document regexp("http://www.clarin\\.com/.*") { | |
#cboxOverlay, #cboxContent { | |
display: none !important; | |
} | |
} |
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
#!/bin/bash | |
grepc $1 | awk -F':' '{print $1}' | sort | uniq -c |
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
const widgets = require("widget"); | |
const timer = require("timer"); | |
var instance = 0; | |
var widget = widgets.Widget({ | |
label: "Mozilla website", | |
content: instance.toString(), | |
onClick: function() { | |
tabs.open("http://www.mozilla.org/"); | |
} |
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
# name an email address in all old commits. | |
# WARNING: Will change all your commit SHA1s. | |
# Based off of the script from here: | |
# http://coffee.geek.nz/how-change-author-git.html | |
git filter-branch -f --commit-filter ' | |
if [ "$GIT_COMMITTER_EMAIL" = "<OLDMAIL>" ]; | |
then | |
GIT_AUTHOR_EMAIL="<NEWMAIL>"; | |
git commit-tree "$@"; | |
else |
OlderNewer