- GET Requests
- POST/PUT Requests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Da Great Deity Dah - Cerebral Warfare | |
RUSS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.scrollbar | |
{ | |
margin-left: 30px; | |
float: left; | |
height: 300px; | |
width: 65px; | |
background: #F5F5F5; | |
overflow-y: scroll; | |
margin-bottom: 25px; | |
} |
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.
Ctrl+KB | basculer la barre latérale |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
NewerOlder