Skip to content

Instantly share code, notes, and snippets.

View sambarrowclough's full-sized avatar

sambarrowclough

View GitHub Profile
(Date.now() - (24*60*60*1000) * 5 // 5 Days ago
@sambarrowclough
sambarrowclough / list-non-native-code.js
Last active October 4, 2018 22:17
Gets a list of none native code on a website from 'window'
// make sure it doesn't count my own properties
(function () {
var results, currentWindow,
// create an iframe and append to body to load a clean window object
iframe = document.createElement('iframe');
iframe.style.display = 'none';
document.body.appendChild(iframe);
// get the current list of properties on window
currentWindow = Object.getOwnPropertyNames(window);
// filter the list against the properties that exist in the clean window
document.getElementById('ui_price_inc_tax').appendChild(document.querySelector('.details_buy_button'))
# Initial setup
https://nickjanetakis.com/blog/setting-up-docker-for-windows-and-wsl-to-work-flawlessly
# Share folder with VirtualBox
https://medium.com/@Charles_Stover/fixing-volumes-in-docker-toolbox-4ad5ace0e572
# Docker not mounting files
https://stackoverflow.com/a/33314404
# Example
"<html xmlns=http://www.w3.org/1999/xhtml><head><!-- NAME: 1 COLUMN - BANDED --><meta http-equiv=Content-Type content=\"text/html; charset=UTF-8\"><meta name=viewport content=\"width=device-width,initial-scale=1\"><title>Verify your freewebstore account</title><style type=text/css>@media only screen and (max-width:480px){a,blockquote,body,li,p,table,td{-webkit-text-size-adjust:none!important}}@media only screen and (max-width:480px){body{width:100%!important;min-width:100%!important}}@media only screen and (max-width:480px){.mcnRetinaImage{max-width:100%!important}}@media only screen and (max-width:480px){table[class=mcnTextContentContainer]{width:100%!important}}@media only screen and (max-width:480px){.mcnBoxedTextContentContainer{max-width:100%!important;min-width:100%!important;width:100%!important}}@media only screen and (max-width:480px){table[class=mcpreview-image-uploader]{width:100%!important;display:none!important}}@media only screen and (max-width:480px){img[class=mcnImage]{width:100%!important}}@m
import tippy, { createSingleton } from "tippy.js";
import "tippy.js/themes/light-border.css";
import "tippy.js/dist/tippy.css";
import "@babel/polyfill";
import Swal from "sweetalert2/dist/sweetalert2.js";
import "sweetalert2/src/sweetalert2.scss";
import "loaders.css"
// Local
import * as _ from "./utils";
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
address
0xEf6216368D0aF47B503Bf12dbdD46Ead4F36E42D
0x091851ef417E22d7C7568F717a16361Ce9dEa0dC
0x5108f568B40b0d6668184b0328e6cEb0b0a28BEe
0x3e918e6f4DEC229b7610E4DF99105460Ca3d03CF
0x0d2A94C3188AD7110141076c1c95B1A0AC5e4b7e
0xe74af8bdb8502d0391cbe6e35fee7e9726a88dc4
0xA8484d0796334b93558Cb4e3EA701CA89D48d83a
0x6CC17cda23603336B7f22949eFaFaC00109f0f3b
0xDd9B1dEeb0Fa99BcF785b7f00ce446caE501b86e
export PS1="> "
eval "$(/opt/homebrew/bin/brew shellenv)"
# Z integration
[ -f ~/z.sh ] && source ~/z.sh
unalias z 2>/dev/null
z() {
[ $# -gt 0 ] && _z "$*" && return