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
| <html> | |
| <head> | |
| <script type="text/javascript" src="https://rawgit.com/oauth-io/oauth-js/master/dist/oauth.min.js"></script> | |
| </head> | |
| <body> | |
| <script type="text/javascript"> | |
| OAuth.initialize(<Oauth.io application>) | |
| OAuth.popup('twitter').done(function(result) { | |
| getJunkSaisTweets(result); | |
| }); |
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
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="it.sephiroth.android.sample.horizontalvariablelistviewdemo" | |
| android:versionCode="1" | |
| android:versionName="1.0"> | |
| <uses-sdk | |
| android:minSdkVersion="9" | |
| android:targetSdkVersion="19" /> | |
| <application |
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 | |
| /* MODEL */ | |
| class Some_Model extends Eden_Sql_model { | |
| protected $_table = 'some_table'; | |
| public function __construct($database = null) { | |
| $this->_database = $database ? $database : front()->database(); | |
| //do some other things here | |
| } |
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
| #!/bin/bash | |
| php -S localhost:${1:-8080} |
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 | |
| echo '<table>'; | |
| echo '<tr><td colspan=2>1. PHP Data Types</td></tr>'; | |
| echo '<tr><td>1a. $myinteger</td><td>', var_dump($myinteger), '</td></tr>'; | |
| ... | |
| … | |
| echo '<tr><td colspan=2>2. PHP Arithmetic Operators</td></tr>'; | |
| echo '<tr><td>2a. $myinteger + 20 * 2</td><td>', var_dump($myinteger + 20 * 2), '</td></tr>'; | |
| ... |
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
| //JS | |
| var template = function(templateHTML, data) { | |
| var index = ''; | |
| for(var x in data) { | |
| index = x; | |
| if(x.substring(0,1)=='_') { | |
| index = x.substring(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 namespace Cad\System\Library; | |
| use Sourcescript\LaravelDependencyInjector\Interfaces\DependencyInterface; | |
| /** | |
| * Best used w/ Fractal and LaravelDependencyInterface | |
| */ | |
| class Masonry | |
| { |