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 | |
| use Illuminate\Database\Migrations\Migration; | |
| class CreateTrigger extends Migration | |
| { | |
| public function up() | |
| { | |
| DB::unprepared(' | |
| CREATE TRIGGER tr_after_main_insert AFTER INSERT ON `main` FOR EACH ROW |
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
| image: ubuntu:zesty | |
| services: | |
| - mariadb | |
| variables: | |
| MYSQL_DATABASE: smsclub_old | |
| MYSQL_ROOT_PASSWORD: root | |
| before_script: |
Install homebrew → https://brew.sh
Install beforehand NginX, MariaDB, DnsMasq and PHP7.2 with Composer
$ brew install php nginx mariadb dnsmasq composer
This should help you get Sendmail installed with basic configuration on Ubuntu.
- If sendmail isn't installed, install it:
sudo apt-get install sendmail - Configure
/etc/hostsfile:nano /etc/hosts - Make sure the line looks like this:
127.0.0.1 localhost yourhostname - Run Sendmail's config and answer 'Y' to everything:
sudo sendmailconfig - Restart apache
sudo service apache2 restart
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
| ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa |
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
| git config --global user.name "Your Name" | |
| git config --global core.mergeoptions "--no-ff" |
- Download docker-compose.yml to dir named
sentry - Change
SENTRY_SECRET_KEYto random 32 char string - Run
docker-compose up -d - Run
docker-compose exec sentry sentry upgradeto setup database and create admin user - (Optional) Run
docker-compose exec sentry pip install sentry-slackif you want slack plugin, it can be done later - Run
docker-compose restart sentry - Sentry is now running on public port
9000
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
| <div id="page-container" class="page-header-dark main-content-boxed"> | |
| <!-- Header --> | |
| <header id="page-header"> | |
| <!-- Header Content --> | |
| <div class="content-header"> | |
| <!-- Left Section --> | |
| <div> | |
| <!-- Logo --> | |
| <a class="font-size-lg text-dual" href="/"> |
This procedure is tested on Mac OS X 10.12.6 with Developpers tools installed (xCode).
PHP 5.6 installed with https://php-osx.liip.ch/.
Download the following files from Oracle website (yes, you need to create an account and accept terms):
OlderNewer

