This file contains hidden or 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 | |
| # Backup des dossiers web | |
| RACINE=/var/www | |
| LINE=------------------- | |
| AN=$(date +%Y) | |
| MOIS=$(date +%m) | |
| JOUR_SEMAINE=$(date +%u) |
This file contains hidden or 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 PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> | |
| <html> | |
| <head> | |
| <title>Logwatch $Version ( $VDate )</title> | |
| <meta name="generator" content="Logwatch $Version ( $VDate )"> | |
| <style type="text/css"> | |
| h1 {color: gray; border-bottom: 3px double silver; font-family: sans-serif; } | |
| h2 {color: white; border-bottom: 1px solid silver; font-family: sans-serif; } | |
| h3 {color: white; border-bottom: 1px solid silver; font-family: sans-serif; } | |
| th {background: #6D88AD; text-align: left; font-family: sans-serif; } |
This file contains hidden or 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
| @mixin respond-to($media) { | |
| @if $media == portable { | |
| @media only screen and (max-width: $portable - 1) { @content; } | |
| } | |
| @else if $media == tablette { | |
| @media only screen and (min-width: $portable ) and (max-width: $tablette - 1) { @content; } | |
| } | |
| } | |
| /* Utilisation*/ |
This file contains hidden or 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
| <?php | |
| namespace Main\ExempleBundle\Entity; | |
| use Doctrine\ORM\Mapping as ORM; | |
| use Symfony\Component\HttpFoundation\File\UploadedFile; | |
| use Symfony\Component\Validator\Constraints as Assert; | |
| /** | |
| * Picture |
This file contains hidden or 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 | |
| echo "************" | |
| echo " PULL AUTO" | |
| echo "************" | |
| cd /home/pi/lcd | |
| unset GIT_DIR | |
| git pull origin master |
This file contains hidden or 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 | |
| LINE=------------------- | |
| AN=$(date +%Y) | |
| MOIS=$(date +%m) | |
| JOUR=$(date +%d) | |
| HEURE=$(date +%H%M) | |
| DOSSIER=SQL_Backups | |
| DATE="$AN$MOIS$JOUR"_"$HEURE" |
This file contains hidden or 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
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac |
This file contains hidden or 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
| // si tu as une div #twitage et que tu mets ton nom twitter | |
| // la ou il faut et que tu as chargée la lib jQuery qui va | |
| // bien ca marche tout seul... | |
| // [a améliorer] | |
| var moulinette = { | |
| sortie : '', | |
| nettoyage: function(chaine) { | |
| this.sortie = this.parse_liens(chaine); | |
| this.sortie = this.parse_listes(this.sortie); |
NewerOlder