Skip to content

Instantly share code, notes, and snippets.

@trex005
trex005 / pokerdeck.js
Created May 25, 2018 00:18
Very basic Javascript classes for handling a pokerdeck.
class card{
constructor(value,suit){
this.value = value;
this.suit = suit;
}
get valueName(){ return this.value.toString() };
get name(){return this.valueName + ' of ' + this.suit;}
toString(){ return this.name }
}
class pokerCard extends card{
@trex005
trex005 / Bustaname_reject_button.js
Created May 8, 2018 19:53
Tampermonkey/Greasemonkey script which adds the ability to reject domains generated on the bustaname domain generator.
// ==UserScript==
// @name Bustaname Reject Button
// @namespace https://gist.github.com/trex005/
// @version 0.0.1
// @description Tampermonkey/Greasemonkey script which adds the ability to reject domains generated on the bustaname domain generator.
// @author trex005
// @match http://www.bustaname.com/*
// @grant GM_addStyle
// @require https://code.jquery.com/jquery-3.3.1.min.js
// ==/UserScript==
86a87
> 'add' => '0',
198a200
> $layouts[ $layout['name'] ]['found'] = 0;
238c240
<
---
> $layouts[ $value['acf_fc_layout'] ]['found']++;
243a246,261
> <?php
/*
When the routine is running, the computer and video card resources will
be fully available and dedicated to the routine.
Images are located on a 1TB SSD + 1TB SSD Raid 0 Array
The Daemon must run in both Windows AND Linux.
*/