http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html
Download files:
| Artisan::command('migrate:fresh', function () { | |
| /** @var \Illuminate\Console\Command $cmd */ | |
| $cmd = $this; | |
| $cmd->ask("Are you sure you want to resign?", "Yes"); | |
| $cmd->comment( | |
| <<<'TXT' | |
| .~))>> |
| wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz | |
| tar xvf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz | |
| mv wkhtmltox/bin/wkhtmlto* /usr/bin/ | |
| ln -nfs /usr/bin/wkhtmltopdf /usr/local/bin/wkhtmltopdf |
GOAL: To setup work and personal github account in the same machine. The gist assumes that you already have the ssh key for work and personal use.
Edit ~/.ssh/config and add an entry for your work and personal github account with different keys:
| // Add a 401 response interceptor | |
| window.axios.interceptors.response.use(function (response) { | |
| return response; | |
| }, function (error) { | |
| if (401 === error.response.status) { | |
| swal({ | |
| title: "Session Expired", | |
| text: "Your session has expired. Would you like to be redirected to the login page?", | |
| type: "warning", | |
| showCancelButton: true, |
| APP_NAME=Laravel | |
| APP_ENV=local | |
| APP_KEY=base64:2JTqUn+p24WXtpVdoIyoK3cIaMOMpeuKvE7vEIlShlg= | |
| APP_DEBUG=true | |
| APP_LOG_LEVEL=debug | |
| APP_URL=http://localhost | |
| DB_CONNECTION=sqlite | |
| BROADCAST_DRIVER=log |
| <?php | |
| namespace Database\Factories; | |
| use Illuminate\Database\Eloquent\Factories\Factory; | |
| /** | |
| * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Email> | |
| */ | |
| class EmailFactory extends Factory |
| <template> | |
| <table> | |
| <thead> | |
| <tr> | |
| <th v-for="column in parameters.columns" v-html="title(column)"></th> | |
| </tr> | |
| </thead> | |
| <tfoot v-if="footer"> | |
| <tr> | |
| <th v-for="column in parameters.columns" v-html="column.footer"></th> |