$ sudo apt-get update
$ sudo apt-get install unzip wget
$ wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
$ unzip ngrok-stable-linux-amd64.zip
$ sudo mv ./ngrok /usr/bin/ngrok
$ ngrokConnect Account
$ sudo apt-get update
$ sudo apt-get install unzip wget
$ wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
$ unzip ngrok-stable-linux-amd64.zip
$ sudo mv ./ngrok /usr/bin/ngrok
$ ngrokConnect Account
| FROM elixir:latest | |
| # Install debian packages | |
| RUN apt-get update && \ | |
| apt-get install --yes build-essential inotify-tools postgresql-client git && \ | |
| apt-get clean | |
| ADD . /app | |
| # Install Phoenix packages |
| details summary { | |
| cursor: pointer; | |
| outline: none !important; | |
| display: inline-block; | |
| padding: 8px 12px; | |
| padding-top: 10px; | |
| border-radius: 4px; | |
| overflow: hidden; | |
| background: #F09825; | |
| color: white; |
| // Add this to the "boot()" method of your "AppServiceProvider" | |
| <?php | |
| \Illuminate\Database\Eloquent\Builder::macro('search', function ($name, $search) { | |
| return $this->where($name, 'LIKE', $search ? '%'.$search.'%' : ''); | |
| }); |