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
#cloud-config | |
packages: | |
- nginx | |
#jq is a command-line json processor https://stedolan.github.io/jq/ | |
- jq | |
- unattended-upgrades | |
runcmd: | |
- export DOMAIN=your_domain_here.com | |
- export DO_API_TOKEN=PASTE_YOUR_DIGITALOCEAN_API_TOKEN_HERE | |
- export PUBLIC_IPV4=$(curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/ipv4/address) |
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‹…µ |
OlderNewer