Skip to content

Instantly share code, notes, and snippets.

View youknowriad's full-sized avatar

Riad Benguella youknowriad

View GitHub Profile

architectures and whatnot

  1. plain ol' React
let state = initial
render(view(state), element)
  • view is pure!
@jubianchi
jubianchi / gitlab-wide.css
Last active August 29, 2015 14:07
gitlab-wide
body > .container,
header .container,
nav .container {
width: 100%;
}
.pull-right .dropdown-menu {
right: 0;
left: auto;
}
@bobey
bobey / dist_backup_script.sh
Last active August 29, 2015 14:05
Backup script
#!/bin/bash
# ----
#
# Script de backup serveur perso vers serveur distant
# Fonctionnemenent :
# 1. Targz de /var/www
# 2. Targz de /etc/apache2/sites-available
# 3. Dump de toutes les bases de données MySql
# 4. Zip du backup courant avec protection par mot de passe
@ariesjia
ariesjia / IE hack
Created September 4, 2013 10:38
IE6 7 8 9 10 hack
To target IE 6 and 7
@media screen\9 {
body { background: red; }
}
To target IE 6, 7 and 8
@media \0screen\,screen\9 {
body { background: green; }
}
@ziadoz
ziadoz / awesome-php.md
Last active May 8, 2025 07:37
Awesome PHP — A curated list of amazingly awesome PHP libraries, resources and shiny things.