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
<!DOCTYPE html> | |
<html class="no-js" lang="fr"> | |
<head> | |
<script>document.documentElement.className="js-off"</script> |
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/sh | |
# any2pandoc.sh | |
# | |
# A shell script that tries its best to convert documents thrown at it | |
# to pandoc's extended markdown. | |
# | |
# https://gist.github.com/1181510 | |
# | |
# Depends on: |
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
$ composer create-project w3wfr/bolt-vendor myboltsite | |
$ chgrp -R www-data files/ app/database/ app/cache/ app/config/ theme/ | |
$ chmod -R g+w files/ app/database/ app/cache/ app/config/ theme/ |
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
$ composer create-project silex/silex silex |
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
$ find . -type d -exec chmod 755 {} + | |
$ find . -type f -exec chmod 644 {} + |
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
http://cssdeck.com/labs/simple-css3-3d-cube | |
http://cssdeck.com/labs/css3-isometric-text-demo | |
http://cssdeck.com/labs/nice-3d-text | |
http://cssdeck.com/labs/pure-css-3d-primitives | |
http://cssdeck.com/labs/animated-leading-slats |
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
# Pour la tâche cron, j'ai d'abord dû activer le compte root car certaines commandes ont besoin de privilèges : | |
sudo passwd root | |
# Puis ajouter la tâche cron : | |
sudo crontab -u root -e | |
* * * * * /home/djzu/wifi-repair-djzu.sh | |
# Ainsi, chaque minute, ma connexion wifi est vérifiée et réparée si nécessaire, de manière totalement transparente. |
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
find . -maxdepth 1 -iname '*.jpg' -exec mv '{}' Images/DiversJPG/ \; | |
find . -maxdepth 1 -iname '*.jpeg' -exec mv '{}' Images/DiversJPG/ \; | |
find . -maxdepth 1 -iname '*.xcf' -exec mv '{}' Images/DiversXCF/ \; | |
find . -maxdepth 1 -iname '*.pdf' -exec mv '{}' Documents/DiversPDF/ \; | |
find . -maxdepth 1 -iname '*.doc' -exec mv '{}' Documents/DiversOffice/ \; | |
find . -maxdepth 1 -iname '*.odp' -exec mv '{}' Documents/DiversOffice/ \; |
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
-------------------- imports -------------------- | |
--necessary | |
import XMonad | |
import qualified XMonad.StackSet as W | |
import qualified Data.Map as M | |
import System.Exit | |
import Graphics.X11.Xlib | |
import System.IO (Handle, hPutStrLn) |
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
<type | |
xmlns:sioc="http://rdfs.org/sioc/ns#" | |
xmlns:dcterms="http://purl.org/dc/terms/" | |
xmlns:skos="http://www.w3.org/2004/02/skos/core#" | |
typeof="sioc:Post" | |
> | |
<children> | |
<property property="dcterms:title" identifier="title" tag-name="h1"/> | |
<property property="sioc:content" identifier="body" /> | |
</children> |
NewerOlder