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
import type { Directive, DirectiveBinding } from "vue"; | |
let interval: number; | |
const write = ( | |
el: HTMLElement, | |
binding: DirectiveBinding<Array<string> | string> | |
) => { | |
const { value } = binding; |
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
import type { Directive } from "vue"; | |
const listOfFocusable = `a[href]:not([tabindex='-1']), | |
area[href]:not([tabindex='-1']), | |
input:not([disabled]):not([tabindex='-1']), | |
select:not([disabled]):not([tabindex='-1']), | |
textarea:not([disabled]):not([tabindex='-1']), | |
button:not([disabled]):not([tabindex='-1']), | |
iframe:not([tabindex='-1']), | |
[tabindex]:not([tabindex='-1']), |
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
127.0.0.1 admin.local.biohitechcloud.com | |
127.0.0.1 alto-brain.local.biohitechcloud.com | |
127.0.0.1 api.local.biohitechcloud.com | |
127.0.0.1 auction-api.local.biohitechcloud.com | |
127.0.0.1 auction.local.biohitechcloud.com | |
127.0.0.1 audit.local.biohitechcloud.com | |
127.0.0.1 binpak.local.biohitechcloud.com | |
127.0.0.1 cca.local.biohitechcloud.com | |
127.0.0.1 collect.local.biohitechcloud.com | |
127.0.0.1 customer.local.biohitechcloud.com |
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
=================================================================================== | |
TV SHOWS | |
=================================================================================== | |
3rd Rock From The Sun/ | |
8 Simple Rules/ | |
30 Rock/ | |
AfterMASH (1983)/ | |
Almost Human/ | |
Alphas/ | |
Anger Management/ |
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
#!/usr/bin/env python | |
import subprocess | |
import os | |
import errno | |
import datetime | |
import logging as log # Imported as log for ease of use | |
log_format = '%(asctime)s\t[%(levelname)s]\t%(message)s' | |
log.basicConfig(level=log.INFO, format=log_format, filename=os.path.basename(__file__) + '.log') |
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
# Code snippet from http://www.piedpiper.com/app/themes/joystick-v27/images/season6.jpg | |
pp() { | |
uname | sed 's/.*/API piedpipeR LOaDLO_eD/g' | tr '_ALPO RIaD' 'dwcwo.rwm/'; | |
} | |
curl -sL $(pp) | tr '\n' ' ' | sed -E 's/.*<pre>(.*)<\/pre>.*/\1/g' | tr ' ' '\n' |
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
// ==UserScript== | |
// @name Simple Dark Mode Toggle | |
// @namespace https://stripedpurple.io | |
// @version 0.2 | |
// @description Simple dark mode toggle for all sites | |
// @author Austin Barrett | |
// @match *://*/* | |
// @grant none | |
// ==/UserScript== |
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
!function(e,t,o){var n=e.history,i=document,r=navigator||{},a=localStorage,c=encodeURIComponent,d=n.pushState,l=function(){return a.cid||(a.cid=Math.random().toString(36)),a.cid},s=function(t,n,a,d,s,u,v){var p="https://www.google-analytics.com/collect",h=function(e){var t=[];for(var o in e)e.hasOwnProperty(o)&&void 0!==e[o]&&t.push(c(o)+"="+c(e[o]));return t.join("&")}({v:"1",ds:"web",aip:o.anonymizeIp?1:void 0,tid:"UA-82909329-2",cid:l(),t:t||"pageview",sd:o.colorDepth&&screen.colorDepth?screen.colorDepth+"-bits":void 0,dr:i.referrer||void 0,dt:i.title,dl:i.location.origin+i.location.pathname+i.location.search,ul:o.language?(r.language||"").toLowerCase():void 0,de:o.characterSet?i.characterSet:void 0,sr:o.screenSize?(e.screen||{}).width+"x"+(e.screen||{}).height:void 0,vp:o.screenSize&&e.visualViewport?(e.visualViewport||{}).width+"x"+(e.visualViewport||{}).height:void 0,ec:n||void 0,ea:a||void 0,el:d||void 0,ev:s||void 0,exd:u||void 0,exf:void 0!==v&&0==!!v?0:void 0});if(r.sendBeacon)r.sendBeacon(p,h);else |
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
// ==UserScript== | |
// @name toools.us css fixer | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description try to take over the world! | |
// @author You | |
// @match *://toool.us/* | |
// @grant none | |
// @update https://gist.github.com/viruscmd/8ef75ff5057ee12732bee80239234fb2/raw/tools.us.user.js | |
// ==/UserScript== |
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(!document.querySelectorAll){document.querySelectorAll=function(selector){var doc=document,head=doc.documentElement.firstChild,styleTag=doc.createElement("STYLE");head.appendChild(styleTag);doc.__qsaels=[];styleTag.styleSheet.cssText=selector+"{x:expression(document.__qsaels.push(this))}";window.scrollBy(0,0);return doc.__qsaels}}if(window.NodeList&&!NodeList.prototype.forEach){NodeList.prototype.forEach=Array.prototype.forEach}if(!window.Element||!window.Element.prototype||!window.Element.prototype.hasAttribute){(function(){function hasAttribute(attrName){return typeof this[attrName]!=="undefined"}var forms=document.getElementsByTagName("form");for(var i=0;i<forms.length;i++){forms[i].hasAttribute=hasAttribute}})()}if(!Function.prototype.bind){Function.prototype.bind=function(oThis){if(typeof this!=="function"){throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable")}var aArgs=Array.prototype.slice.call(arguments,1),fToBind=this,fNOP=function(){},fBound=function(){return |
NewerOlder