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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE language SYSTEM "language.dtd"> | |
| <language name="console" version="1" kateversion="2.2" section="Markup"> | |
| <highlighting> | |
| <contexts> | |
| <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" > | |
| <StringDetect attribute="Comment" context="Comment" String="#"/> | |
| <RegExpr attribute="Tag" context="Attribute" String="<[a-zA-Z_:][a-zA-Z0-9._:-]*" /> | |
| <RegExpr attribute="Prompt" String="^\$ " /> | |
| </context> |
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 | |
| sudo sed -i '/^deb https\\?:\/\/deb.debian.org\/debian\/ unstable main non-free contrib$/d' /etc/apt/sources.list | |
| if ! grep -qs "^deb https\?://deb.debian.org/debian/ unstable main non-free contrib$" /etc/apt/sources.list /etc/apt/sources.list.d/*; then | |
| echo "\ndeb https://deb.debian.org/debian/ unstable main non-free contrib" | sudo tee -a /etc/apt/sources.list > /dev/null | |
| fi | |
| if ! grep -qs "^deb-src https\?://deb.debian.org/debian/ unstable main non-free contrib$" /etc/apt/sources.list /etc/apt/sources.list.d/*; then | |
| echo "deb-src https://deb.debian.org/debian/ unstable main non-free contrib" | sudo tee -a /etc/apt/sources.list > /dev/null |
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 | |
| session_start(); | |
| define('YII_ENV', getenv('YII_ENV') ?: 'dev'); | |
| define('YII_DEBUG', getenv('YII_DEBUG') ?: YII_ENV == 'dev'); | |
| require __DIR__ . '/../vendor/autoload.php'; | |
| require __DIR__ . '/../vendor/yiisoft/yii2/Yii.php'; |
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 | |
| # This script will automatically set up a single node Flynn Cluster on your linux box | |
| # Fresh Flynn install with domain provided by the xip.io service | |
| # Tested with Base Image: Ubuntu 14.04 x64 @ DigitalOcean droplet | |
| # @date 16 Nov 2015 | |
| # @author Edu Wass (eduwass at gmail com) | |
| echo '---- START SETUP ----' |
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
| https://github.com/asciidoctor/asciidoctor-mathematical | |
| $ sudo apt install bison flex libffi-dev libxml2-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev ttf-lyx | |
| $ MATHEMATICAL_SKIP_STRDUP=1 sudo -E gem install mathematical --no-document | |
| $ sudo ln -sf /var/lib/gems/2.3.0/gems/mathematical-1.6.7/ext/mathematical/lasem/liblasem.so /usr/local/lib/liblasem.so | |
| $ sudo ldconfig |
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 | |
| $finder = PhpCsFixer\Finder::create() | |
| ->exclude('views') | |
| ->in(__DIR__); | |
| return PhpCsFixer\Config::create() | |
| ->setRules([ | |
| '@PSR2' => true, | |
| 'array_syntax' => ['syntax' => 'short'], |