View app\Console\Commands\RepeatCommand.php
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\Facades\Artisan; | |
class RepeatCommand extends Command | |
{ | |
protected $signature = 'repeat-command |
View bricklink-mod.user.js
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
// ==UserScript== | |
// @name BrickLinkMod | |
// @description Mark sets you own on bricklink.com interface | |
// @author BertW | |
// @version 1.0.1 | |
// @require https://code.jquery.com/jquery-3.5.1.slim.min.js | |
// @grant none | |
// @match https://www.bricklink.com/* | |
// ==/UserScript== |
View search.php
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 | |
// INPUT VARS | |
$start = 2677889; | |
$end = 26888999; | |
/** | |
* @param integer $input | |
* @return false|int | |
*/ |
View .htaccess
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
# Rewrite non-https to https + www | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTPS} off [OR] | |
RewriteCond %{HTTP_HOST} !^www\. [NC] | |
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC] | |
RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301] | |
</IfModule> | |
# Rewrite non-https to https without www |
View helpers.scss
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
$type: (p:padding, m:margin); | |
$position: (t:top, l:left, b:bottom, r:right); | |
$range: 0 5 10 15 20 25 30 35 40; | |
/* | |
* Loop and create classes that serve as quick padding/margin modifiers. | |
* Explanation of class syntax: | |
* | |
* ".p-t-0" Assign a padding-top of 0px (!important). | |
* ".m-b-35" Assign a margin-bottom of 35px (!important). |