Skip to content

Instantly share code, notes, and snippets.

View YoussefLagtab's full-sized avatar

Youssef Lagtab YoussefLagtab

View GitHub Profile
#!/bin/bash
#**************************************************************************************
# Functions
usage() {
cat << STOP
Name: $0
Description: User Infos
const net = require('net')
const socket = net.Socket
const HOST = "vortex.labs.overthewire.org"
const PORT = 5842
const options = {
readable: true,
writable: true
}
@YoussefLagtab
YoussefLagtab / bd.js
Created July 18, 2018 13:39 — forked from yzemmouri/bd.js
bd
import SimpleSchema from 'simpl-schema'
let EtudiantSchema = new SimpleSchema({
apogee: !String,
cne: !String,
cin: !String,
nom: !String,
prenom: !String,
dateNaiss: !Date,
nationalité: !String,
let campus = [
{
N: 4,
K: 1,
V: 3,
A: [
{ name: 'LikeSign', popularity: 4, visits: 0 },
{ name: 'Arcade', popularity: 3, visits: 0 },
{ name: 'SweetStop', popularity: 2, visits: 0 },
{ name: 'SwagStore', popularity: 1, visits: 0 }
@YoussefLagtab
YoussefLagtab / config
Created June 12, 2018 19:02
i3 config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!