This file contains hidden or 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
/* | |
* MIT License | |
* | |
* Copyright (c) 2023-2024 Fabio Lima | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
This file contains hidden or 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\Middleware; | |
use Closure; | |
use Symfony\Component\HttpFoundation\ParameterBag; | |
use Illuminate\Support\Arr; | |
/** | |
* @author https://github.com/Stunext |
This file contains hidden or 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
# Run the last command as root | |
sudo !! | |
# Serve current directory tree at http://$HOSTNAME:8000/ | |
python -m SimpleHTTPServer | |
# Save a file you edited in vim without the needed permissions | |
:w !sudo tee % | |
# change to the previous working directory | |
cd - | |
# Runs previous command but replacing | |
^foo^bar |
This file contains hidden or 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
[Unit] | |
Description=Socat Minecraft | |
[Service] | |
Type=simple | |
StandardOutput=syslog | |
StandardError=syslog | |
SyslogIdentifier=socat-minecraft | |
ExecStart=/usr/bin/socat UDP4-LISTEN:19132,broadcast,fork UDP4-SENDTO:123.456.789.123:19132 |
This file contains hidden or 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
*@0-180.com | |
*@0-420.com | |
*@0-900.com | |
*@0-aa.com | |
*@0-mail.com | |
*@0-z.xyz | |
*@00-mail.com | |
*@000476.com | |
*@000invaliddomain.local | |
*@001.igg.biz |
This file contains hidden or 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
(() => { | |
const width = window.outerWidth / 2; | |
const height = window.outerHeight / 2; | |
const top = 0; | |
const left = width * 3; | |
const popupEl = window.open('http://example.com', 'preview', `height=${height},width=${width},scrollbars=yes,left=${left},top=${top}`); | |
popupEl.focus(); | |
})(); |
This file contains hidden or 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\Traits; | |
trait LockColumns | |
{ | |
/** | |
* Cast locked_columns as a JSON column | |
* | |
* @return void |
This file contains hidden or 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
0039.cf | |
0039.ga | |
0039.ml | |
00b2bcr51qv59xst2.cf | |
00b2bcr51qv59xst2.ga | |
00b2bcr51qv59xst2.ml | |
02466.cf | |
02466.ga | |
02466.ml | |
07819.cf |
This file contains hidden or 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
// The code below was largely taken from: | |
// https://github.com/strangerlabs/webauthn/blob/9959cb2b5f87692b8b1fecd799dd4029a3bf61b1/src/Webauthn.js#L501 | |
const crypto = require("crypto"); | |
const base64url = require("base64url"); | |
const cbor = require("cbor"); | |
function parseAttestationObject(attestationObject) { | |
const attestationObjectBuffer = base64url.toBuffer(attestationObject); | |
return cbor.decodeAllSync(attestationObjectBuffer)[0]; |
This file contains hidden or 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
## Setting up the middleware for redirect to https ## | |
http: | |
middlewares: | |
redirect: | |
redirectScheme: | |
scheme: https |