This file contains 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\Foundation\Testing\WithoutMiddleware; | |
use Illuminate\Foundation\Testing\DatabaseMigrations; | |
use Illuminate\Foundation\Testing\DatabaseTransactions; | |
use Faker\Factory as Faker; | |
class PurchaseMasterBoxTest extends TestCase | |
{ |
This file contains 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\Schema\Blueprint; | |
use Illuminate\Database\Migrations\Migration; | |
class CreateUserOrderBuildingsTable extends Migration { | |
/** | |
* Run the migrations. | |
* |
This file contains 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 | |
/* | |
|-------------------------------------------------------------------------- | |
| EmailExampleTest | |
|-------------------------------------------------------------------------- | |
| | |
| Email test case for testing emails with Mailtrap.io in Phpunit | |
| | |
| Requirements: | |
| - Laravel 5.1 |
This file contains 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 dependency | |
*/ | |
require_once 'recipe/common.php'; | |
/** | |
* How many releases we want to keep | |
*/ |
This file contains 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
<% for hero in @heroes %> | |
<p><%= hero.name %> is here to help you !</p> | |
<% end %> | |
This file contains 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
<form action="/admin/safety_training_courses" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓"><input type="hidden" name="_method" value="update"><input type="hidden" name="authenticity_token" value="lk9Fm7n7wZ4dYQ4wyFsgujIwbI5iJrfCgmFT2xYR0IN2zAlYZVJ8HMkUJOvRucX3bEvBku6mXF17DfNUDXljDQ=="> | |
<div class="gray-box"> | |
Industry | |
<select name="industry" id="industry"><option value="1">Testing</option> | |
<option value="2">Construction</option> | |
<option selected="selected" value="3">Development</option></select> | |
</div> | |
<div id="subindustries"></div> | |
<div class="gray-box" data-entry=""> | |
Sub-Industry |
This file contains 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
- @industries.each_with_index do |industry, index| | |
- if index == 0 | |
.gray-box | |
Industry | |
= select_tag :industry, options_from_collection_for_select(@select_industries, "id", "title", industry[:id]) | |
#subindustries | |
- else |
This file contains 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
$(document).ready -> | |
effect_hide.init() | |
tabs.init() | |
if $('#video-slider').length > 0 | |
s = 0 | |
lastMove = 0 |
This file contains 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
router.match '/users/edit/:id', (params) -> | |
# Do something awesome here. | |
This file contains 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
route.match '/welcome/:user', (params) -> | |
console.log 'Welcome ' + params.user | |