Skip to content

Instantly share code, notes, and snippets.

View soner8's full-sized avatar

Maco soner8

View GitHub Profile
@soner8
soner8 / cowsayHi.js
Created March 19, 2018 15:08
cowsayHi
var cowsay = require("cowsay");
console.log(cowsay.say({
text: "Hello Boy"
}));
@soner8
soner8 / users.js
Created March 19, 2018 18:59
users.js
var express = require('express');
var router = express.Router();
/* GET users listing. */
router.get('/', function(req, res, next) {
res.send('Hey It\'s a GET !');
});
/* GET user with ID. */
router.get('/:id(\\d+)', function(req, res, next) {
@soner8
soner8 / index.js
Created March 20, 2018 08:56
Layout
var express = require('express');
var router = express.Router();
/* GET home page. */
router.get('/', function(req, res, next) {
res.render('index', { title: 'Express' });
});
router.get('/coucou-pug', function(req, res) {
res.render('layout', { sayHello: 'Hello buddy' });
@soner8
soner8 / Chart
Created March 23, 2018 15:24
Sprint 1
Backlog :
https://www.noelshack.com/2018-12-5-1521818635-sprint.jpg
Chart :
https://image.noelshack.com/fichiers/2018/12/5/1521818538-burndowngbr.jpg
@soner8
soner8 / Image.jpg
Last active March 27, 2018 15:47
Image
s
-- MySQL dump 10.13 Distrib 5.7.21, for Linux (x86_64)
--
-- Host: localhost Database: macodou_d_wcs_bordeaux
-- ------------------------------------------------------
-- Server version 5.7.21-0ubuntu0.17.10.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
@soner8
soner8 / CompteRendu.odt
Created March 29, 2018 09:51
Compte Rendu RDV Client
COMPTE RENDU
SECOND RENDEZ VOUS
Bonjour cher client,
Nous vous remercions de nous avoir reçu lors de ce second entretien à propos de la progression de notre travail sur votre projet.
Au début de notre entrevue, nous vous avons récapitulé vos attentes évoquées lors du premier rendez vous.
@soner8
soner8 / index.js
Created April 3, 2018 14:32
Can I Get With That
var express = require('express');
var router = express.Router();
/* GET home page. */
router.get('/', function (req, res, next) {
res.render('index', {
title: 'Express'
});
});
@soner8
soner8 / Index.js
Created April 8, 2018 18:31
index.js
var express = require('express');
var router = express.Router();
var app = express();
/* GET home page. */
router.get('/', function (req, res) {
res.render('index', {
title: 'Express'
});
@soner8
soner8 / quete.sql
Created April 9, 2018 10:13
quete.sql
-- MySQL Script generated by MySQL Workbench
-- lun. 09 avril 2018 12:12:00 CEST
-- Model: New Model Version: 1.0
-- MySQL Workbench Forward Engineering
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES';
-- -----------------------------------------------------