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 | |
# coding: utf-8 | |
""" | |
Adjusts the time tracking for issues in a given JIRA project. | |
Requires 'jira' library: | |
$ pip install jira | |
JIRA credentials need to be stored in a file '.jira_auth.json'. | |
Its contents should be: |
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/python | |
# | |
# Stars all the repos for an organization. | |
# | |
import sys | |
import urllib2 | |
import json | |
import os.path |
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 | |
# poswap.py | |
# | |
# Copyright (C) 2013 Santiago M. Mola | |
# Released under the terms of the MIT License. | |
# | |
""" | |
Swaps the source and target language in a Gettext PO file. | |
Learn more at http://mola.io/2013/09/17/swapping-languages-in-gettext-po-file |
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
1 | |
00:00:01,000 --> 00:00:04,074 | |
_ | |
2 | |
00:00:14,162 --> 00:00:20,796 | |
En los primeros años del siglo 21, | |
The Pirate Bay creció para convertirse en el sitio | |
más grande de intercambio de ficheros. |
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
public class MyUsernamePasswordAuthProvider | |
extends /* ........ */ { | |
/* ... MORE ... */ | |
/** | |
* XXX: Ugly hack for Remember Me feature. | |
*/ | |
public static Result handleLogin(final Context ctx, final boolean rememberMe) { | |
final Result result = UsernamePasswordAuthProvider.handleLogin(ctx); |
NewerOlder