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\Console\Commands; | |
use Illuminate\Console\Command; | |
class PewPewPew extends Command | |
{ | |
protected $signature = 'pewpewpew'; | |
protected $description = 'Command description'; |
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
#android | |
#apple | |
#apple watch# | |
#bear | |
#comics | |
* saitama | |
* one punch man | |
* one-punch man | |
* one punch-man | |
* onepunch-man |
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
Trying to filter "out of office" emails from my inbox as I receive a lot of them when I send a blast. | |
I need help - what do your "out of office" emails say in your langauge? Comment Below! | |
## Gmail Filter | |
("Automatische Antwort" OR "Automatic reply" OR "AutoReply" OR "Out of Office" OR "Xesc Duran" OR "Abwesend" OR "Absence" OR "Absence du bureau" OR "À l'extérieur du bureau" OR "Réponse automatique" OR "Abwesenheitsnotiz" OR "Resposta automática" OR "Automaattinen vastaus" OR "Automatisch antwoord" OR "Afwezig" OR "Afwezigheid" OR "Niet aanwezig" OR "Poza zasięgiem" OR "Na wakacjach" OR "Poza biurem" OR "Automatyczna odpowiedź" OR "Z dala od komputera" OR "Αυτόματη απάντηση" OR "Εκτός γραφείου" OR "na dovolenké" OR "mimo kancelárie" OR "automatická odpověď" OR "Autosvar" OR "Fora do escritório" OR "na dovolené" OR "mimo kancelář") | |
## List | |
Automatische Antwort | |
Automatic reply |
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
___ ____ ___ | |
____( \ .-' `-. / )____ | |
(____ \_____ / (O O) \ _____/ ____) | |
(____ `-----( ) )-----' ____) | |
(____ _____________\ .____. /_____________ ____) | |
(______/ `-.____.-' \______) | |
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
{ | |
"object_state": "VALID", | |
"object_status": "SUCCESS", | |
"object_created": "2013-12-27T19:14:48.273Z", | |
"object_updated": "2013-12-27T19:14:48.273Z", | |
"object_id": "64bba01845ef40d29374032599f22588", | |
"object_owner": "[email protected]", | |
"was_test": false, | |
"rate": "cf6fea899f1848b494d9568e8266e076", | |
"tracking_number": "ZW70QJC", |
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\Services; | |
use App\Post; | |
class Slug | |
{ | |
/** | |
* @param $title |
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
{{ \Carbon\Carbon::setLocale('fr') }} | |
{{ $link->published_at->diffForHumans() }} | |
// Results | |
il y a 4 heures | |
Or another: | |
{{ \Carbon\Carbon::setLocale('de') }} | |
{{ $link->published_at->diffForHumans() }} |
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 $popular = (new WordPressApi())->popular(); ?> | |
<ul> | |
<?php foreach ($popular as $post): ?> | |
<li><a href=“<?php echo $post->href; ?>”><?php echo $post->title; ?></li> | |
<?php endforeach; ?> | |
</ul> |
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
$(document).ready(function() { | |
$("button.remove").on('click', function(e){ | |
e.preventDefault(); | |
if ( ! confirm('Are you sure?')) { | |
return false; | |
} | |
var action = $(this).data("action"); | |
var parent = $(this).parent(); | |
$.ajax({ | |
type: 'delete', |
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
server { | |
listen 80; | |
listen [::]:80; | |
server_name site.com; | |
root /home/forge/site.com; | |
# FORGE SSL (DO NOT REMOVE!) | |
# ssl on; | |
# ssl_certificate; | |
# ssl_certificate_key; |
NewerOlder