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 | |
/** | |
* Sealed class can not be created directly | |
*/ | |
class Seal | |
{ | |
private function __construct() | |
{ | |
// private ctor prevents from direct creation of instance | |
} |
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; | |
use Illuminate\Support\Str; | |
class MakeAll extends Command | |
{ | |
/** | |
* The name and signature of the console command. | |
* |
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
javascript:function tbstjko(j){var c=j.data.children;var l=c.length;if(l==0){alert('Not submitted')}else{var t='';for(i=0;i<l;i++){t+=' * '+c[i].data.subreddit+'\n'}alert('submitted to\n'+t)}}(function(){var u=window.location.href;var v='https://reddit.com/api/info.json?jsonp=tbstjko&url='+u;var h=document.head;var s=document.createElement("script");s.setAttribute("src", v);h.appendChild(s);h.removeChild(s);void(0)})() |