Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍🎓
enseigner les CSS

Thomas ZILLIOX tzi

👨‍🎓
enseigner les CSS
View GitHub Profile
@tzi
tzi / readme.md
Created Jan 28, 2016
Responsive photo grid with rowspan
View readme.md
@tzi
tzi / install.sh
Last active Sep 15, 2021
WeasyPrint install on a clean Ubuntu
View install.sh
sudo apt-get install libxml2-dev libxslt-dev libffi-dev libcairo2-dev libpango1.0-dev python-dev python-pip
sudo pip install WeasyPrint
@tzi
tzi / important.css
Created Jun 19, 2012
How to set an !important css property in javascript
View important.css
.test {
height: 139px;
width: 96px
}
@tzi
tzi / index.html
Created Jan 13, 2012
PrintPreview
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>PrintPreview - A bookmarklet to preview the print version of a web page</title>
<meta name="viewport" content="initial-scale=1.0">
<link rel="stylesheet" href="style.css" >
</head>
<body>
<h1>PrintPreview</h1>
@tzi
tzi / README.md
Created Jul 10, 2020
Complete list of GitHub emojis
View README.md

Complete list of GitHub emojis

You can find the name / alais of every emojis in this gist

@tzi
tzi / Readme.md
Last active Apr 16, 2019
Check host availability from an HTML page
View Readme.md

Check domains

This script check domains availability of links from an HTML file 🎉

# Usage
$ ./check-domains.sh ./bookmarks.html
aslibrary.org is available
@tzi
tzi / pidoa.php
Created Sep 24, 2012
Pidoa - Rename TV shows files automatically
View pidoa.php
<?php
function usage( $argv ) {
echo PHP_EOL .
'Pidoa' . PHP_EOL .
'------------' . PHP_EOL .
'This script allow you to rename tv shows easily' . PHP_EOL .
PHP_EOL .
'Usage: php ' . $argv[ 0 ] . ' <folder_path> <pattern>' . PHP_EOL .
'Example: php ' . $argv[ 0 ] . ' ./ "Babylon 5 S%Sx%E %V"' . PHP_EOL .
@tzi
tzi / en_us.lang.php
Created Dec 16, 2011
SugarCRM module fields definition snippets
View en_us.lang.php
<?php
$app_list_strings['my_select_options']['value_1'] = 'Label 1';
$app_list_strings['my_select_options']['value_2'] = 'Label 2';
$app_list_strings['my_select_options']['value_3'] = 'Label 3';
?>
@tzi
tzi / $$.js
Created Oct 6, 2018
querySelectorAll but iterable
View $$.js
function $$ (query) {
return Array.from(document.querySelectorAll(query));
}
@tzi
tzi / plan.md
Last active Aug 27, 2018
Plan de formation
View plan.md

Formation HTML/CSS débutants

3 jours pour apprendre les bases d'HTML et CSS, organisés en 12 portions de 2h dont au moins un TP de validation

Jour 1 : la recette de cuisine

  1. 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