👀 VISION To give music lovers better access to more artists | |||
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 App\Rules; | |
use Illuminate\Contracts\Validation\Rule; | |
class StrongPassword implements Rule | |
{ | |
/** | |
* Create a new rule instance. |
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 App\Console\Commands; | |
use App\User; | |
use Illuminate\Console\Command; | |
use Illuminate\Support\Facades\Hash; | |
class CreateAdminCommand extends Command | |
{ |
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
/** | |
* This class represents a mathematical (Euclidian) Vector mainly used in | |
* physics and engineering to represent directed quantities. Basically it's | |
* responsible for holding a x- and y-coordinate, length and angle. It can also | |
* perform basic vector operations like adding, subtracting and scaling. | |
* | |
* The state of a vector object is immutable. This means that it is by design | |
* not allowed to change the internal state of the vector. The different | |
* computation methods that perform different computations like adding, | |
* subtracting, scaling and mirroring all return a new Vector object or just a |
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 | |
//Now, let's play | |
$returnText = 'You have not played yet. Select your weapon and hit the Play button'; | |
if (userHasValidSelection()) { | |
$userChoice = $_GET['userSelect']; | |
//Let the computer make a choice | |
$computerChoice = letComputerChoose(); | |
//Now, let's play, and return the result text! | |
$returnText = "The server chose $computerChoice. "; | |
$result = compare($userChoice, $computerChoice); |
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
// include the library code: | |
#include <LiquidCrystal.h> | |
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; | |
LiquidCrystal lcd(rs, en, d4, d5, d6, d7); | |
void setup() { | |
lcd.begin(16, 2); | |
lcd.print("program me daddy"); | |
lcd.setCursor(0,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
@extends('adminlte::page') | |
@section('title', '[Title as shown in browser tab]') | |
@section('content_header') | |
<h1>Title as shown on top of page</h1> | |
@stop | |
@push('js') | |
{{-- place your javascripts 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
class Student | |
{ | |
readonly studentnummer : number; | |
readonly volledigenaam : string; | |
constructor(nummer : number, naam : string) | |
{ | |
this.studentnummer = nummer; | |
this.volledigenaam = naam; | |
} |
NewerOlder