You can find the name / alais of every emojis in this gist
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 $$ (query) { | |
return Array.from(document.querySelectorAll(query)); | |
} |
3 jours pour apprendre les bases d'HTML et CSS, organisés en 12 portions de 2h dont au moins un TP de validation
- Web et Internet
Mot-clés: Client/Serveur, Adresse IP, URL, Protocoles, Domaines, Phishing, w3c, navigateurs
Exercice: Placer les mots-clés sur une carte
TP: Créer un espace FTP, Ouvrir un fichier texte local avec son navigateur
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
grep " 404 " /var/log/apache2/access.log | | |
cut -d'"' -f2 | | |
cut -d' ' -f2 | | |
sort | | |
uniq -c | | |
sort -h -r |
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
// ---- | |
// libsass (v3.3.6) | |
// ---- | |
// ===================================================================== | |
// | |
// STATEFUL THEMING FOR SASS | |
// ------------------------- | |
// Indrek Paas <@indrekpaas> | |
// |
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
# Tasks when setting up a new Ubuntu server | |
# Chaneg root user password | |
passwd | |
# Create a new user | |
adduser tzi | |
# Add it to sudo group | |
usermod -a -G sudo tzi | |
# Add it to www-data group |
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
#!/usr/bin/env node | |
import fetch from 'node-fetch'; | |
import cheerio from 'cheerio'; | |
function parseHtml(url, callback) { | |
fetch(url) | |
.then(response => response.text()) | |
.then(html => cheerio.load(html)) | |
.then(callback) |
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
(() => { | |
// Settings | |
const debug = false; | |
const maxDepth = false; | |
const rootElementSelector = false; | |
// Result | |
const refList = []; | |
const output = document.createElement('div'); |
NewerOlder