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
sudo ros console switch debian | |
mkdir ~/bin | |
sudo curl -L https://github.com/docker/compose/releases/download/1.25.4/docker-compose-`uname -s`-`uname -m` -o ~/bin/docker-compose | |
cd ~/bin/docker-compose | |
chmod +x docker-compose | |
export PATH=$PATH:~/bin |
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: | |
app: | |
image: invoiceninja/invoiceninja | |
environment: | |
DB_DATABASE: ninja | |
DB_HOST: mysql | |
DB_PASSWORD: pwd | |
DB_USERNAME: ninja | |
volumes: |
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: | |
nginx: | |
restart: always | |
image: jwilder/nginx-proxy | |
container_name: nginx | |
ports: | |
- 80:80 | |
- 443:443 | |
volumes: |
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 | |
set -e | |
show_help() { | |
cat << EOF | |
Usage: ${0##*/} [-u USER] [-p PASS] [-P PORT] [-H HOST] [DATABASE] | |
${0##*/} -h | |
Open a standard connection in Sequel PRO. |
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
/** ********************************************************* | |
* API - Model - User | |
********************************************************* */ | |
module.exports = function (sequelize, DataTypes) { | |
return sequelize.define('User', { | |
username: DataTypes.STRING, | |
password: DataTypes.STRING, | |
firstName: DataTypes.STRING, | |
lastName: DataTypes.STRING, |
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 strict'; | |
angular.module('clientApp') | |
.directive('formFields', function () { | |
return { | |
templateUrl: function (tElement, tAttrs) { | |
return tAttrs.templateUrl; | |
}, | |
restrict: 'E' | |
}; |
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 Blog extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity | |
/** | |
* blogRepository | |
* | |
* @var \ChGreenBanana\Famoca\Domain\Repository\PostRepository | |
* @inject | |
*/ | |
protected $postRepository; |
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 strict'; | |
angular.module('App') | |
.controller('localisationCtrl', | |
function ($scope, localisationService) { | |
localisationService.settings.language('de'); | |
localisationService.settings.file('../typo3conf/ext/extKey/Resources/Private/Language/locallang.xml'); | |
}); |
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
/** | |
* @var \TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface | |
* @inject | |
*/ | |
protected $persistenceManager; |
NewerOlder