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
# SpamAssassin - Querying the rspamd uribl | |
########################################################################### | |
# Requires the Mail::SpamAssassin::Plugin::URIDNSBL plugin be loaded. | |
ifplugin Mail::SpamAssassin::Plugin::URIDNSBL | |
urirhssub URIBL_RSPAMD uribl.rspamd.com. A 127.0.0.2 | |
body URIBL_RSPAMD eval:check_uridnsbl('URIBL_RSPAMD') | |
describe URIBL_RSPAMD Contains an URL listed in the rspamd URI blocklist |
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 declare(strict_types = 1); | |
namespace MyCodingStandard\Sniffs\Formatting; | |
use PHP_CodeSniffer\Sniffs\Sniff; | |
use PHP_CodeSniffer\Files\File; | |
class StringClassReferenceSniff implements Sniff | |
{ | |
public function register() |
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
1. Installing Informix Client SDK for Linux x86_64 | |
1.1 Download Informix Client SDK 3.70 for Linux x86_64 from IBM website, https://www-01.ibm.com/marketing/iwm/tnd/search.jsp?rs=ifxdl | |
1.2 Extract the file, `cd /opt/informix; tar -xvf clientsdk.3.70.FC8DE.LINUX.tar` | |
1.3 Start installation, `./installclientsdk`, install all | |
2. Installing PDO Informix |
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
// ==UserScript== | |
// @name Github - Show all files | |
// @namespace https://github.com/Koopzington | |
// @version 0.1 | |
// @description Shows all files by default | |
// @author [email protected] | |
// @match https://github.com/* | |
// @downloadURL https://gist.github.com/Koopzington/8c374786511a37ebfac47cfd2db958c6/raw/github-show-all-files.user.js | |
// @grant none | |
// ==/UserScript== |
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
Replace 3-line comments with one-liner: | |
/** | |
* @var Adapter $adapter | |
*/ | |
/** @var Adapter $adapter */ | |
Search: \/\*\*\n.*(\@.*).*\n.*\*\/ | |
Replace: \/\*\* $1 \*\/ |
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 | |
require 'vendor/autoload.php'; | |
require 'proxygrabber.php'; | |
const XML_FILE_NAME = 'data/anime-titles.xml'; | |
const ARCHIVE_NAME = 'data/anime-titles.gz'; | |
/** | |
* Decompresses a gunzip arhive |
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 Foo\Validator; | |
use Zend\Validator\ValidatorInterface; | |
final class LicensePlateValidator implements ValidatorInterface | |
{ | |
const FORMATS = [ | |
// Germany (Total Length: 8 characters excluding spaces, No leading zeros, can end in E or H) |
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
#!/usr/bin/env php | |
<?php | |
/** | |
* DISCLAIMER: Even though I tried my best to prevent anything bad from happening, | |
* I can't guarantee that your code won't break after using this script on it. | |
* | |
* What does this script do? | |
* It replaces all occurences of $FooBar and $foo_bar with properly camelCased $fooBar. | |
* Replacements also include references to class properties like $this->foo_bar and $this->FooBar | |
* |
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
// ==UserScript== | |
// @name dA Hotkeys | |
// @namespace https://koopzington.github.com/ | |
// @version 0.4 | |
// @description DeviantArt also has Hotkeys now! | |
// @author [email protected] | |
// @match https://*.deviantart.com/* | |
// @downloadURL https://gist.github.com/Koopzington/e5a9d0d52630355e7a07b314eac19f7f/raw/da-hotkeys.user.js | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name GIVE ALL THE LLAMAS - Group Memberlist | |
// @namespace http://github.com/koopzington/ | |
// @version 1.2.3 | |
// @description Script to let your browser automatically click you One-Click-Llama-Buttons on memberlists of groups | |
// @author Koopzington | |
// @match https://*.deviantart.com/modals/memberlist* | |
// @match https://www.deviantart.com/*/modals/memberlist* | |
// @downloadURL https://gist.githubusercontent.com/Koopzington/a13d421ff3bf65f49b3348b5dc0d7962/raw/give-all-the-llamas.user.js | |
// @grant none |
NewerOlder