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 urllib2 | |
import json | |
import subprocess | |
import StringIO | |
movies = json.loads(urllib2.urlopen("http://dorcel-handsoff.com/json/movies.json").read()) | |
haved = ["2446", "1122", "2902", "2557", "2342", | |
"1187", "1300", "1660", "1972", "2062", "2142", "2195"] |
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
package main | |
import ( | |
"crypto/rand" | |
"crypto/rsa" | |
"crypto/x509" | |
"encoding/hex" | |
"encoding/pem" | |
"errors" | |
"fmt" |
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
# find_symbol_in_header_namespace( | |
# HEADER_OUT NAMESPACE_OUT | |
# "CODE" SNIPPET_IN | |
# "HEADERS" HEADERS_IN | |
# "NAMESPACES" NAMESPACES_IN | |
# "SUMMARY" SUMMARY_IN) | |
# | |
# Search for a header file that will allow ${SNIPPET_IN} to compile. | |
# Each header in the HEADERS_IN list is considered. If found, then | |
# attempts will be made to compile SNIPPET_IN after including that header. |
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
// @(#)root/reflex:$Id$ | |
// Author: Stefan Roiser 2004 | |
// Copyright CERN, CH-1211 Geneva 23, 2004-2010, All rights reserved. | |
// | |
// Permission to use, copy, modify, and distribute this software for any | |
// purpose is hereby granted without fee, provided that this copyright and | |
// permissions notice appear in all copies and derivatives. | |
// | |
// This software is provided "as is" without express or implied warranty. |