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
(function(factory){"use strict";if(typeof define==="function"&&define.amd){define(["jquery"],factory)}else{factory(jQuery)}})(function($){"use strict";var instances=[],matchers=[],defaultOptions={precision:86400000,elapse:!1,defer:!1};matchers.push(/^[.source);matchers.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source);matchers.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source);matchers=new RegExp(matchers.join("|"));function parseDateString(dateString){if(dateString instanceof Date){return dateString} | |
if(String(dateString).match(matchers)){if(String(dateString).match(/^[0-9]*$/)){dateString=Number(dateString)} | |
if(String(dateString).match(/\-/)){dateString=String(dateString).replace(/\-/g,"/")} | |
return new Date(dateString)}else{throw new Error("Couldnt cast `"+dateString+"` to a date object.")}} | |
var DIRECTIVE_KEY_MAP={Y:"years",m:"months",k:"monthsToYear",n:"daysToMonth",d:"daysToWeek",w:"weeks",W:"weeksToMonth",H:"hours",M:"minutes",S:"seconds",D:"totalDays",I:"totalHou |
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 | |
class Language { | |
public $language = ''; | |
public $phrases = array( | |
'UK' => array( | |
'hello' => 'Ello gov\'na ', | |
'goodbye' => 'Good day!' |
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
(function($){ | |
var $et_window = $(window); | |
window.et_load_event_fired = false; | |
window.et_is_transparent_nav = $( 'body' ).hasClass( 'et_transparent_nav' ); | |
window.et_is_vertical_nav = $( 'body' ).hasClass( 'et_vertical_nav' ); | |
window.et_is_fixed_nav = $( 'body' ).hasClass( 'et_fixed_nav' ); | |
jQuery.fn.reverse = [].reverse; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Richard's Form</title> | |
<link rel="stylesheet" href="format.css" /> | |
</head> | |
<body> | |
<h1>Please enter some details of your issue below</h1> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Richard's Form Results</title> | |
<link rel="stylesheet" href="format.css" /> | |
</head> | |
<body> | |
<p>The caller's name <?php echo (isset($_GET['empname']) ? htmlentities($_GET['empname']) : '[Not Found]');?> </p> | |
<p>The caller's employee ID <?php echo (isset($_GET['empid']) ? htmlentities($_GET['empid']) : '[Not Found]');?></p> | |
<p>What is the problem with the item <?php echo (isset($_GET['problem']) ? htmlentities($_GET['problem']) : '[Not Found]');?></p> |
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
/* | |
* anime.js v3.0.1 | |
* (c) 2019 Julian Garnier | |
* Released under the MIT license | |
* animejs.com | |
*/ | |
'use strict'; | |
// Defaults |
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
.res-nightmode .comment { | |
position: relative; | |
padding-left: 35px; | |
} | |
.res-nightmode a.expand { | |
display: block; | |
background-color: #333333; | |
position: absolute; |
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
function setDateColors() { | |
$('ytd-grid-video-renderer').each(function() { | |
var when = $(this).find('#metadata-line span:nth-child(2)'); | |
var when_text = when.html(); | |
when.css({ | |
color: 'white', | |
padding: '0 4px', | |
borderRadius: '4px', | |
fontSize: '10px', |
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 | |
ini_set('memory_limit', -1); | |
set_time_limit(800); | |
include_once('functions.php'); | |
$fileName = "2018.csv"; | |
$resourceReader = fopen($fileName, 'r'); | |
$output = array(); | |
$return = array(); | |
$allowed_types = array( |
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
### Keybase proof | |
I hereby claim: | |
* I am committing on github. | |
* I am snoozing (https://keybase.io/snoozing) on keybase. | |
* I have a public key ASCpxrzBNAsOm0NE8ApVklLqyxrmYQmYNYzi-LTrAEGhugo | |
To claim this, I am signing this object: |