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
$data[] = array( | |
'title' => "All By My SELF | LAS 424", | |
'url' => "http://www.jupiterbroadcasting.com/100881/all-by-my-self-las-424/", | |
'date' => "2016-06-26", | |
'runslinux' => array( | |
'pick' => array( | |
array( | |
'name' => "Fireworks powered by Raspberry Pi", | |
'url' => "https://www.youtube.com/watch?v=WBZ5bPL79hg", | |
), |
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
$data[424]['title'] = "All By My SELF | LAS 424"; | |
$data[424]['url'] = "http://www.jupiterbroadcasting.com/100881/all-by-my-self-las-424/"; | |
$data[424]['date'] = "2016-06-26"; | |
$data[424]['runslinux']['pick'][0]['name'] = "Fireworks powered by Raspberry Pi"; | |
$data[424]['runslinux']['pick'][0]['url'] = "https://www.youtube.com/watch?v=WBZ5bPL79hg"; | |
$data[424]['desktopapp']['pick'][0]['name'] = "Rambox"; | |
$data[424]['desktopapp']['pick'][0]['url'] = "http://rambox.pro/"; |
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 launchpadlib.launchpad import Launchpad | |
import os | |
import sys | |
USERNAME=sys.argv[1] | |
PPA=sys.argv[2] | |
PACKAGE=sys.argv[3] | |
cachedir = os.environ['HOME'] + '/.launchpadlib/cache/' | |
launchpad = Launchpad.login_anonymously('just testing', 'production', cachedir) | |
ppa = launchpad.people[USERNAME].getPPAByName(name=PPA) | |
bins = ppa.getPublishedBinaries(binary_name=PACKAGE) |