All endpoints require authentication
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>homebrew.mxcl.php</string> | |
<key>LimitLoadToSessionType</key> | |
<array> |
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
{ | |
"version": 1, | |
"auto_cw": [], | |
"unlisted": [], | |
"banned": [ | |
"instagram.com", | |
"myspace.com", | |
"bebo.com", | |
"photobucket.com", | |
"friendster.com", |
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
cd /home/forge/pixelfed.social | |
git pull origin dev | |
composer install --no-ansi --no-interaction --no-progress --no-scripts --optimize-autoloader | |
echo "" | sudo -S service php7.2-fpm reload | |
php artisan config:cache | |
php artisan migrate --force | |
php artisan horizon:purge | |
php artisan horizon:terminate |
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
APP_NAME=PixelFed Test | |
APP_ENV=local | |
APP_KEY= | |
APP_DEBUG=true | |
APP_URL=http://localhost | |
ADMIN_DOMAIN="localhost" | |
APP_DOMAIN="localhost" | |
LOG_CHANNEL=stack |
For the scenario, imagine posts has a foreign key user_id referencing users.id
public function up()
{
Schema::create('posts', function(Blueprint $table) {
$table->increments('id');
$table->string('title');
$table->text('body');
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
"aoColumnDefs": [ | |
{ | |
"aTargets": [0], // row id | |
"mRender": function ( data, type, full ) { | |
return '<a href="/path/to/route/' + data + '">' + data.substring(0,13) + '...</a>'; | |
} | |
} | |
], |
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 Laracasts\Generators\Commands; | |
use Illuminate\Console\Command; | |
use Illuminate\Container\Container; | |
use Illuminate\Filesystem\Filesystem; | |
use Laracasts\Generators\Migrations\NameParser; | |
use Laracasts\Generators\Migrations\SchemaParser; | |
use Laracasts\Generators\Migrations\SyntaxBuilder; |
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 | |
Route::get('login', 'Auth\LoginController@showLoginForm')->name('login'); | |
Route::post('login', 'Auth\LoginController@login'); | |
Route::post('logout', 'Auth\LoginController@logout')->name('logout'); | |
// Registration Routes... | |
Route::get('register', 'Auth\RegisterController@showRegistrationForm')->name('register'); | |
Route::post('register', 'Auth\RegisterController@register'); | |
// Password Reset Routes... |
I hereby claim:
- I am dansup on github.
- I am dansup (https://keybase.io/dansup) on keybase.
- I have a public key whose fingerprint is 2B68 6965 1CA7 FBB6 348E FDEF 989F 5F36 F586 CC73
To claim this, I am signing this object:
NewerOlder