This file contains 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
## COMPOSER ALIAS | |
alias cii="composer install --ignore-platform-reqs" | |
alias cui="composer update --ignore-platform-reqs" | |
## SYMFONY ALIAS | |
# Console | |
alias sf="php bin/console" | |
alias sfdev="php bin/console --env=dev" |
This file contains 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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/martynas/.oh-my-zsh" | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="robbyrussell" |
This file contains 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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
This file contains 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 | |
kill -9 $(ps | grep "$@" | grep -v grep | awk '{ print $1 }') |
This file contains 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 | |
nohup "$@" &> /dev/null & |
This file contains 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 | |
env PHP_IDE_CONFIG="serverName=vagrant" XDEBUG_CONFIG="idekey=PHPSTORM" SYMFONY_DEBUG="1" $@ |
This file contains 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
(function () { | |
function SymfonyCollection(listId, addBtnId, count) { | |
this.list = $('#' + listId); | |
this.count = count; | |
this.widget = this.list.attr('data-prototype'); | |
var _self = this; | |
$('#' + addBtnId).on('click', function () { | |
_self.add(); |
This file contains 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
server { | |
listen 80; | |
server_name oxid.dev www.oxid.dev; | |
root /var/www/oxid; | |
index index.php index.html; | |
location = /favicon.ico { | |
log_not_found off; | |
access_log off; |
This file contains 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
alias docker-clear='docker rm $(docker ps -aq)' | |
alias docker-kill='docker kill $(docker ps -q)' | |
alias phpcs='/Users/martynas/.composer/vendor/bin/phpcs -p --standard=/Users/martynas/.composer/vendor/ongr/ongr-strict-standard/ONGR --ignore=vendor/,Tests/app/,Resources/public/ ./' | |
alias phpunit='/Users/martynas/.composer/vendor/bin/phpunit' | |
alias debug-phpunit='php -dxdebug.remote_autostart=On /Users/martynas/.composer/vendor/bin/phpunit' | |
alias phpunit-stop='/Users/martynas/.composer/vendor/bin/phpunit --stop-on-error --stop-on-failure' | |
alias debug-phpunit-stop='php -dxdebug.remote_autostart=On /Users/martynas/.composer/vendor/bin/phpunit --stop-on-error --stop-on-failure' | |
alias debug='php -dxdebug.remote_autostart=On' |