Skip to content

Instantly share code, notes, and snippets.

View Roiseuxquentin's full-sized avatar
💭
dConfinement Coding

Quentin Roiseux Roiseuxquentin

💭
dConfinement Coding
View GitHub Profile
Da Great Deity Dah - Cerebral Warfare
RUSS
#!/bin/bash
# eegloo
touch 42sourceCode.ghost
curl -s "https://www.42.fr" > 42sourceCode.ghost
i=1
while [ $i -le 11 ]
do
touch "letter"$i".ghost"
@Roiseuxquentin
Roiseuxquentin / fetch-api-examples.md
Created February 13, 2019 11:16 — forked from justsml/fetch-api-examples.md
JavaScript Fetch API Examples
@Roiseuxquentin
Roiseuxquentin / IRSSI.md
Last active December 30, 2020 13:42
Memo IRC

IRSSI

switch to other window press

CTRL + N
Exit

Close window

/wc
@Roiseuxquentin
Roiseuxquentin / server.js
Last active January 29, 2019 14:45
Basic Express Server
const express = require('express')
const bodyParser = require('body-parser')
const cors = require('cors')
const app = express()
// Middleware
app.use(bodyParser.urlencoded({ extended: true }))
app.use(cors())
@Roiseuxquentin
Roiseuxquentin / LuhnSpec.js
Last active August 2, 2020 04:30
Luhn Algo , JavaScript Component
/*
* Function return true or false
* check if siren is valid, or not
* NOT accept space from siren syntax
* https://fr.wikipedia.org/wiki/Formule_de_Luhn
* run test with npm mocha
* @siren Luhn formule
*/
//* Begin of tests
@Roiseuxquentin
Roiseuxquentin / scrollBar.css
Last active October 8, 2018 20:31
Integration_ScrollBar
.scrollbar
{
margin-left: 30px;
float: left;
height: 300px;
width: 65px;
background: #F5F5F5;
overflow-y: scroll;
margin-bottom: 25px;
}
@Roiseuxquentin
Roiseuxquentin / Sublim.textile
Last active September 26, 2018 09:28 — forked from spyl94/gist:3963465
Sublime Text 2 - Raccourcis utiles (Windows)

Sublime Text 2 – Raccourcis utiles (Windows)

Préambule

Voici une fiche mémo pour vous aider à retenir ces fameux raccourcis qui vont vous permettre de gagner en productivité. Prenez votre temps pour apprendre, il est généralement plus bénéfique de mémoriser un raccourci en lui associant une utilité tout en codant, plutôt que d’essayer de tout retenir d’un seul coup.
La notation Ctrl+KB signifie enfoncer les touches Ctrl et K simultanément puis relâcher K, enfoncer B tout en maintenant la touche Ctrl enfoncée.

Général

Ctrl+KB basculer la barre latérale
#!/bin/bash
#Find , compare and move duplicate files from different directory
# /!\` files' name need to be in block , like : "about_file-Title.pdf" , not "about file title.pdf"
clear
GREEN='\033[0;32m'
RED='\033[0;31m'
NC='\033[0m' # No Color
const express = require('express')
const app = express()
const data = require('../data.json')
app.use((request, response, next) => {
response.header('Acsess-Control-Allow-Origin','*')
response.header('Access-Control-Allow-Headers','Origin, X-Requested-With,Content-Type,Accept')
next()