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 | |
| /* | |
| Very quick and dirty expansion on the TradeKing PHP example to allow you to handle and process streaming quotes | |
| see more at http://thomasloughlin.com | |
| enjoy at your own risk | |
| */ | |
| date_default_timezone_set('America/Chicago'); | |
| // Your keys/secrets for access | |
| $consumer_key = 'uqM2342345234523452345234520NT'; |
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 | |
| require_once 'oauth.php'; | |
| $consumer_key = ''; | |
| $consumer_secret = ''; | |
| $access_token = ''; | |
| $access_secret = ''; | |
| $consumer = new OAuthConsumer($consumer_key,$consumer_secret); | |
| $access = new OAuthToken($access_token,$access_secret); |
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
| .border-container { | |
| width: 28%; /* border will be on the left on this container */ | |
| float: right; | |
| overflow: hidden; /* only needed if floating container */ | |
| min-height: 600px; /* static height if you want your container to be taller than its content */ | |
| -moz-box-shadow: inset 15px 0 5px -16px rgba(0,0,0,.1), -1px 0 0 #FFF; | |
| -webkit-box-shadow: inset 15px 0 5px -16px rgba(0,0,0,.1), -1px 0 0 #FFF; | |
| box-shadow: inset 15px 0 5px -16px rgba(0,0,0,.1), -1px 0 0 #FFF; | |
| border-width: 0 0 0 1px; | |
| -webkit-border-image: |
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 | |
| // This is using the PHP OAuth extenstion. | |
| // http://www.php.net/manual/en/book.oauth.php | |
| $consumer_key = '0cc175b9c0f1b6a831c399e269772661'; | |
| $consumer_secret = 'ff2513194e75315625628304c9eb66e8'; | |
| $access_token = '150a96573adf12b21dab621e85497e6e'; | |
| $access_secret = '5c7b57d450a71d378a5eda991f809e56'; | |
| try { |