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
| <?php | |
| /** | |
| * Description of FileStream | |
| * | |
| * @author Rana | |
| * @link http://codesamplez.com/programming/php-html5-video-streaming-tutorial | |
| * @co-author Lukas Stribrny | |
| * Added support for fileinfo,mod_ratelimit | |
| * | |
| */ |
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
| <?php //app/libraries/MultiUserProvider.php | |
| use Illuminate\Auth\UserProviderInterface, | |
| Illuminate\Auth\UserInterface, | |
| Illuminate\Auth\GenericUser; | |
| class MultiUserProvider implements UserProviderInterface { | |
| protected $providers; |
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
| #!/usr/bin/ruby | |
| require 'optparse' | |
| require 'net/http' | |
| require 'uri' | |
| class RelianceLogin | |
| def self.login(args) | |
| opt = {} | |
| opt[:host]='220.224.142.229' |
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 urllib | |
| import urllib2 | |
| import time | |
| import sys | |
| try: | |
| login=sys.argv[1] # 0 -> logout 1-> login | |
| except IndexError: | |
| login = 1 |
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
| <?php | |
| // See http://inanimatt.com/php-curl.php for license & known issues | |
| function httpGet($url, $ttl = 86400) | |
| { | |
| /* Change this or make it an option as appropriate. If you're | |
| * getting urls that shouldn't be visible to the public, put the | |
| * cache folder somewhere it can't be accessed from the web | |
| */ | |
| $cache_path = dirname(__FILE__).'/cache'; |
NewerOlder