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
| <div class="section-container auto" data-section> | |
| <section> | |
| <p class="title" data-section-title><a href="#panel1">Section 1</a></p> | |
| <div class="content" data-section-content> | |
| <p>Content of section 1.</p> | |
| </div> | |
| </section> | |
| <section> | |
| <p class="title" data-section-title><a href="#panel2">Section 2</a></p> | |
| <div class="content" data-section-content> |
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
| <div class="section-container accordion" data-section="accordion"> | |
| <section> | |
| <p class="title" data-section-title><a href="#">Section 1</a></p> | |
| <div class="content" data-section-content> | |
| <p>Content of section 1.</p> | |
| </div> | |
| </section> | |
| <section> | |
| <p class="title" data-section-title><a href="#">Section 2</a></p> | |
| <div class="content" data-section-content> |
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
| <div class="section-container vertical-tabs" data-section="vertical-tabs"> | |
| <section> | |
| <p class="title" data-section-title><a href="#">Section 1</a></p> | |
| <div class="content" data-section-content> | |
| <p>Content of section 1.</p> | |
| </div> | |
| </section> | |
| <section> | |
| <p class="title" data-section-title><a href="#">Section 2</a></p> | |
| <div class="content" data-section-content> |
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
| require_once ( 'Unirest.php' ); | |
| $response = Unirest::get( | |
| "https://ismaelc-pinterest.p.mashape.com/pins?u=mccaincanada", | |
| array( | |
| "X-Mashape-Authorization" => "unirest_apikey" | |
| )); | |
| $pins = json_decode($response->raw_body); | |
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 | |
| use Illuminate\Database\Migrations\Migration; | |
| use Illuminate\Database\Schema\Blueprint; | |
| class CreateUsersTable extends Migration { | |
| /** | |
| * Run the migrations. | |
| * |
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 | |
| public function create() { | |
| return View::make('registration'); | |
| } | |
| public function store() { | |
| $rules = array( | |
| 'email' => array('required', 'email', 'unique:users'), | |
| 'password' => array('required', 'min:5'), |
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
| @media (min-width: 1200px) { | |
| .container { | |
| max-width: 970px; | |
| } | |
| } |
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
| angular | |
| .module('app') | |
| .service('xmpp', function($rootScope, $state) { | |
| return { | |
| auth: function(jid, sid, rid) { | |
| // I am using attach instead of connect so you don't need any jid, sid or rid |