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
| --- | |
| version: "2" | |
| services: | |
| db: | |
| image: mariadb:latest | |
| container_name: mariadb | |
| environment: | |
| - MYSQL_ROOT_PASSWORD=mypass | |
| volumes: | |
| - /docker/containers/mariadb/data:/var/lib/mysql |
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
| *filter | |
| # Base policy | |
| :INPUT DROP [0:0] | |
| :FORWARD DROP [0:0] | |
| :OUTPUT ACCEPT [0:0] | |
| # Don't attempt to firewall internal traffic on the loopback device. | |
| -A INPUT -i lo -j ACCEPT |
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
| /** | |
| * USE_GITHUB_USERNAME=nagubal | |
| * | |
| * 2.3" 4 digits 7-segment clock, using the DE-DP003 from Sure Electronics | |
| * http://www.sure-electronics.net/mcu,display/DE-DP003.pdf | |
| * | |
| * The DE-DP003 is a common anode 7-segment LED display. | |
| * The LED driver chips are composed of 4pcs of 74HC595 and 5pcs of ULN2003. | |
| * Data should be clocked in from CLK_IN and DATA_IN in J1, and DIMM_IN pin should be pull to low to enable display. | |
| * PWM signal can be applied on the DIMM_IN pin to control brightness. |
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
| /** | |
| * USE_GITHUB_USERNAME=nagubal | |
| * | |
| * 2.3" 4 digits 7-segment clock, using the DE-DP003 from Sure Electronics | |
| * http://www.sure-electronics.net/mcu,display/DE-DP003.pdf | |
| * | |
| * The DE-DP003 is a common anode 7-segment LED display. | |
| * The LED driver chips are composed of 4pcs of 74HC595 and 5pcs of ULN2003. | |
| * Data should be clocked in from CLK_IN and DATA_IN in J1, and DIMM_IN pin should be pull to low to enable display. | |
| * PWM signal can be applied on the DIMM_IN pin to control brightness. |
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/sh | |
| # rsync-workspace.sh : Sauvegarde rsync du workspace Eclipse | |
| EXIT_KO=5 | |
| srcdir=/cygdrive/d/workspace/ | |
| destvol=/cygdrive/e | |
| destdir=$destvol/workspace/ | |
| if [ ! -e $destvol ] && [ ! -d $destvol ]; |
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
| -- Sauvegarde de la librairie iTunes sur le synology via rsync | |
| property appName : "Sauvegarde iTunes" | |
| property rsyncUri : "rsync://syno:22/music/" | |
| property iTunesFolder : "/Users/anthony/Music/iTunes" | |
| on tellGrowl(myid, myTitle, myMessage, isSticky) -- the growl notification routine | |
| global growlIsRunning | |
| if growlIsRunning then -- is growl running? | |
| tell application "GrowlHelperApp" |