This file contains hidden or 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
# Using flickr_api to search and download images | |
# https://github.com/alexis-mignon/python-flickr-api/wiki/Tutorial | |
import flickr_api as f | |
f.set_keys(api_key = 'xxxxxxxxxxxxxxxxxxxxxxx', | |
api_secret = 'xxxxxxxxxxx') | |
auth = f.auth.AuthHandler() | |
w = f.Walker(f.Photo.search, tags="sumo") |
This file contains hidden or 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
import numpy as np | |
import matplotlib.pyplot as plt | |
# Make sure that caffe is on the python path: | |
caffe_root = '../' # this file is expected to be in {caffe_root}/examples | |
import sys | |
sys.path.insert(0, caffe_root + 'python') | |
import caffe |
This file contains hidden or 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
import play.api.libs.ws.ning._ | |
import play.api.libs.ws._ | |
import play.api.libs.concurrent.Execution.Implicits | |
object Sample { | |
def main(args: Array[String]) { | |
implicit val client = NingWSClient() | |
implicit val context = Implicits.defaultContext | |
// close with sslClient.close() when finished with client |
NewerOlder