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
#!/usr/bin/env bash | |
# | |
# Author: Robert Brisita <[first-initial][last name] at gmail dot com> | |
# | |
# An Angular installation script for a Laravel project. | |
# This should be run on a new Laravel project install. | |
# | |
# Tested on Mac OS X 10.13.6 | |
# |
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
# Find this file in app/helpers/appearances_helper.rb | |
# Discussion at http://axilleas.me/en/blog/2014/custom-gitlab-login-page/ | |
module AppearancesHelper | |
def brand_item | |
true | |
end | |
def brand_title | |
'My Organization' | |
end |
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
<?php | |
namespace Acme\DemoBundle\EventSubscriber; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
use Symfony\Component\Form\FormEvents; | |
use Symfony\Component\Form\FormEvent; | |
/** | |
* Changes Form->submit() behavior so that it treats not set values as if they |
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/bash | |
old_head="$1" | |
new_head="$2" | |
branch_switch="$3" | |
git_root=$(git rev-parse --show-toplevel) | |
git diff --name-only $new_head $old_head | grep composer.lock > /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
<?php | |
namespace Acme\DemoBundle\EventSubscriber; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
use Symfony\Component\Form\FormEvents; | |
use Symfony\Component\Form\FormEvent; | |
/** | |
* Changes Form->submit() behavior so that it treats not set values as if they |