View ctrl.html
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
<div class="animated fadeIn"> | |
<div class="row"> | |
<div class="col-md-12"> | |
<div class="card"> | |
<div class="card-header"> | |
<strong *ngIf="editing">Modification d'un utilisateur</strong> | |
<strong *ngIf="!editing">Création d'un utilisateur</strong> | |
</div> | |
<form *ngIf="user" [formGroup]="form" enctype="multipart/form-data" (ngSubmit)="onSubmit(form.value)"> |
View Example_cast.php
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 | |
class Foo { | |
public $item ; | |
function __construct($item = '') { | |
$this->item = $item; | |
} | |
public function getItem() { | |
return $this->item; |
View 0_reuse_code.js
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
View gist:6048451
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 | |
echo 'Hello ACE Editor :) '; | |
?> |