Skip to content

Instantly share code, notes, and snippets.

@mehdihettak
mehdihettak / gist:354198333e9aad418fd72f9d943c378e
Created February 27, 2019 10:04
quête enquête hettak mehdi
1 clear
2 cat intructions
3 clear
4 cd home
5 cd mehdi
6 cd Téléchargments
7 pwd
8 ls
9 cd Téléchargements
10 cat instructions
@mehdihettak
mehdihettak / mehdi.html
Created February 28, 2019 09:16
find the precious mehdi
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>FindThePrecious</title>
</head>
<body>
<header>
<h1>FindThePrecious.com</h1>
.gris{
background-color: grey;
}
.orange{
background-color: orange;
}
@mehdihettak
mehdihettak / JSquete1mehdi.html
Created March 11, 2019 10:08
quete JS part1 mehdi
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Testjavascript</title>
</head>
<body>
<script src = "script.js"></script>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="">
<title>tddjavascripting</title>
class person {
constructor(name, age) {
this.age = age;
this.name = name
}
tellMyAge() {
console.log(`I am ${this.age} years old`)
}
process.stdin.resume()
process.stdin.setEncoding('utf8')
console.log('how old are you ? ')
process.stdin.on('data', (num) => {
const year = 2019
if (num > 99) {
console.log('too late!')
var cowsay = require("cowsay");
console.log(cowsay.say({
text : "hello boy",
e : "oO",
T : "U "
}));
const assert = require('assert');
// ... Ton code ici ...
class BankCustomer {
constructor(name, code) {
let codeSecret = code;
let nameSecret = name;
function hello(name) {
console.log("Hello " + name);
}
var firstName = "bob";
hello(firstName);
hello(firstName + " marley");
function concat(a, b) {
return a + b;
}
var wcs = concat("Wild", concat("Code", "School"));