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
lutris-wrapper: Blizzard Battle.net | |
Running /home/david/.local/share/lutris/runners/wine/lutris-5.7-8-x86_64/bin/wine /home/david/Games/battlenet/drive_c/Program Files (x86)/Battle.net/Battle.net.exe | |
Initial process has started with pid 8451 | |
Game is considered started. | |
Fontconfig warning: line 5: unknown element "its:rules" | |
Fontconfig warning: line 6: unknown element "its:translateRule" | |
Fontconfig error: line 6: invalid attribute 'translate' | |
Fontconfig error: line 6: invalid attribute 'selector' | |
Fontconfig error: line 7: invalid attribute 'xmlns:its' | |
Fontconfig error: line 7: invalid attribute 'version' |
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
if (!window.speed) speed = 1; | |
if (!game.realUpdateModel) game.realUpdateModel = game.updateModel; | |
game.updateModel = () => { | |
for (var i = 0; i < speed; i++) { | |
if (i !== 0) { | |
game.calendar.tick(); | |
} | |
game.realUpdateModel(); | |
} | |
} |
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
/* Flat UI Colours: https://flatuicolors.com/palette/defo */ | |
/* CSS Variables */ | |
:root { | |
/* Greens */ | |
--flat-ui-turquoise: #1abc9c; | |
--flat-ui-grean-sea: #16a085; | |
--flat-ui-emerald: #2ecc71; | |
--flat-ui-nephritis: #27ae60; |
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
const app = new Vue({ | |
el: '#app' | |
}); | |
// Output list of components to the browser devtools. | |
console.log(app.$options.components); |
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
// remove wp version param from any enqueued scripts | |
function enqueueRemoveWpVersion($src) { | |
if ( strpos($src, 'ver=')) | |
$src = remove_query_arg( 'ver', $src ); | |
return $src; | |
} | |
add_filter( 'style_loader_src', 'enqueueRemoveWpVersion', 9999 ); | |
add_filter( 'script_loader_src', 'enqueueRemoveWpVersion', 9999 ); |
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
Verifying my Blockstack ID is secured with the address 19f4LPMy5SXcgPz6VcBubrkRuGZSvmvSKY https://explorer.blockstack.org/address/19f4LPMy5SXcgPz6VcBubrkRuGZSvmvSKY |
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 | |
/** | |
* HTML template preprocessing. | |
*/ | |
function MYTHEME_preprocess_html(&$variables) { | |
// Add the page title as a css class to allow for page specific targetting. | |
try { | |
if (!drupal_is_front_page()) { | |
$title = drupal_get_title(); |
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 | |
$files = [ | |
// Insert Files Here | |
]; | |
$str = ''; | |
function combine_file_contents($filename, $str) | |
{ |
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
$wow_priest: #FFFFFF; | |
$wow_mage: #69CCF0; | |
$wow_warlock: #9482C9; | |
$wow_rogue: #FFF569; | |
$wow_druid: #FF7D0A; | |
$wow_monk: #00FF96; | |
$wow_demon_hunter: #A330C9; | |
$wow_hunter: #ABD473; |
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 | |
$date = ''; // Pass in your date variable here, eg $date = '2014-09-08' | |
$today = new DateTime(); | |
$to = new DateTime($date); | |
$countdown = $today->diff($to); | |
// Seperate variables for days, months, years, etc. | |
$seconds = $countdown->s; | |
$days = $countdown->d; |
NewerOlder