Skip to content

Instantly share code, notes, and snippets.

Working from home

lamnizeh soufiane souflam

Working from home
View GitHub Profile
View ctrl.html
<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>
<form *ngIf="user" [formGroup]="form" enctype="multipart/form-data" (ngSubmit)="onSubmit(form.value)">
souflam / Example_cast.php
Last active Mar 8, 2018
cast a Object to a class
View Example_cast.php
class Foo {
public $item ;
function __construct($item = '') {
$this->item = $item;
public function getItem() {
return $this->item;
souflam / 0_reuse_code.js
Created Jun 28, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// 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
echo 'Hello ACE Editor :) ';