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 | |
"""Launchpad to github bug migration script. | |
There's a ton of code from Hydrazine copied here: | |
https://launchpad.net/hydrazine | |
Note: if subsequent runs of the script are failing due to cached credentials, | |
you can recursively remove `~/.cache/launchpadlib/` and `~/.cache/hydrazine/` | |
before re-running the script. |
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
<?php | |
namespace App; | |
/** | |
* Converts positive decimal numbers to Roman numerals. | |
* Note: M (1000) is the largest Roman numeral supported by this function. | |
*/ | |
class Converter | |
{ |