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 App\Http\Controllers; | |
use App\Mention; | |
use App\Webmention; | |
use App\Http\Requests; | |
use App\Http\Controllers\Controller; | |
use Carbon\Carbon; | |
use Mf2\Parser as Mf2Parser; |
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 App\Http\Controllers; | |
use App\Http\Requests; | |
use App\Http\Controllers\Controller; | |
use Illuminate\Http\Request; | |
use JonnyW\PhantomJs\Client; | |
use App\Listening; | |
use DB; |
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
[ | |
/* @ EMPTY WINDOW | |
* Style for empty (no tabs) window | |
========================================================================= */ | |
{ | |
"class": "sheet_container_control", | |
"layer0.tint": [38, 50, 56], | |
"layer0.opacity": 1.0 |
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
syntax enable | |
colorscheme desert | |
set backspace=indent,eol,start "Make backspace act like text editors | |
let mapleader = ',' "Make default leader key be comma | |
set number "Show line numbers | |
"------------- Mappings -------------" |
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
{ | |
"@context": [ | |
"https://www.w3.org/ns/activitystreams", | |
"https://w3id.org/security/v1", | |
{ | |
"manuallyApprovesFollowers":"as:manuallyApprovesFollowers", | |
"sensitive":"as:sensitive", | |
"movedTo": | |
{ | |
"@id":"as:movedTo", |
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
#cloud-config | |
users: | |
- name: demo_user | |
shell: /bin/bash | |
ssh-authorized-keys: | |
- ssh-rsa [your -key] | |
packages: | |
- git |
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 | |
/* | |
Plugin Name: Disable Emojis | |
Plugin URI: https://davidpeach.co.uk | |
Description: Stop the connection to w.org through emojis | |
Version: 1.0.0 | |
Author: David Peach | |
Author URI: https://davidpeach.co.uk | |
License: GNU | |
*/ |
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 Tests\Feature; | |
use App\Models\Post; | |
use Illuminate\Database\Eloquent\Collection; | |
use Illuminate\Database\Eloquent\Factories\HasFactory; | |
use Illuminate\Foundation\Testing\RefreshDatabase; | |
use Illuminate\Foundation\Testing\WithFaker; | |
use Tests\TestCase; |
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
# When hitting the websocket endpoint, the key generated seems to often get messed up. | |
# Sometimes like this: | |
883a ff42 4864 0162 8659 a29b 3900 73e4 | |
3fff 9634 11dd 4285 fefc 3d4a ff63 6fd5 | |
# More often like this: | |
³B1¿Ç?Àam¢å¡öY9ì©zŒ uö1ve‹…µ |
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 | |
use Illuminate\Support\Facades\Route; | |
/* | |
|-------------------------------------------------------------------------- | |
| Web Routes | |
|-------------------------------------------------------------------------- | |
| | |
| Here is where you can register web routes for your application. These |
OlderNewer