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
| probably the same amount of components, just simple | |
| Also you could display the hours and minutes on 2 different displays | |
| ;; I have used long variable names to reduce confusion, | |
| ;; daylightSensorDegrees integer (0 -> 180 and back after midnight) | |
| ;; daylightSensorVisible integer ( 0 || 1) |
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 | |
| /** | |
| * @license MIT | |
| * @author Ruben Decleyn [email protected]> | |
| * @created 12/02/2017 | |
| */ | |
| namespace App\TwigExtensions; |
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
| config="app/etc/local.xml"; u=`sed -n 's/.*<username><!\[CDATA\[\(.*\)]]><\/username>/\1/p' $config`;n=`sed -n 's/.*<dbname><!\[CDATA\[\(.*\)]]><\/dbname>/\1/p' $config`;p=`sed -n 's/.*<password><!\[CDATA\[\(.*\)]]><\/password>/\1/p' $config`;mysqldump -u $u -p"${p}" $n > ~/${n}_$(date +"%Y_%m_%d") |
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
| #!/usr/bin/env bash | |
| # | |
| # # # example.ini | |
| # [goedhuis-dev] | |
| # USER = juno | |
| # HOST = gh.juno.is | |
| # | |
| # [goedhuis-stag] | |
| # USER = juno |
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
| #file : overall.php | |
| <html> | |
| <head> <title> stuff </title> </head> | |
| <body> | |
| <header> | |
| this is my header | |
| </header> | |
| <?php echo $content; ?> |
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
| class BlehModule | |
| { | |
| public __construct() | |
| { | |
| $conf = include "thefile.php"; | |
| $this->config($conf); | |
| } | |