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 genBash(masterURL) { | |
| var xhr = new XMLHttpRequest(); | |
| xhr.open("GET", masterURL, true); | |
| xhr.addEventListener("load", function () { | |
| var master = JSON.parse(this.responseText); | |
| var baseURL = new URL(master.base_url, masterURL); | |
| function genBashLines(mp4, type) { | |
| var mp4BaseURL = new URL(mp4.base_url, baseURL); | |
| var segmentURLs = mp4.segments.map(segment => segment.url); |
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
| Get-ChildItem . |% {mv $_.name "$([guid]::NewGuid().ToString()+$_.extension)"} |
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
| mailspeed.ru | |
| mailinator.com | |
| shitmail.me | |
| temp-mail.ru | |
| thismail.ru | |
| sharklasers.com | |
| guerrillamailblock.com | |
| guerrillamail.com | |
| guerrillamail.net | |
| guerrillamail.biz |
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
| 0-mail.com | |
| 0815.ru | |
| 0clickemail.com | |
| 0wnd.net | |
| 0wnd.org | |
| 10minutemail.com | |
| 20minutemail.com | |
| 2prong.com | |
| 30minutemail.com | |
| 3d-painting.com |
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 isValidCPF(value: string) { | |
| if (typeof value !== 'string') { | |
| return false; | |
| } | |
| value = value.replace(/[^\d]+/g, ''); | |
| if (value.length !== 11 || !!value.match(/(\d)\1{10}/)) { | |
| return false; | |
| } |
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
| // http://stackoverflow.com/questions/4787698/failure-to-override-elements-addeventlistener-in-firefox | |
| (function() { | |
| Error.stackTraceLimit = Infinity; | |
| var _interfaces = Object.getOwnPropertyNames(window).filter(function(i) { | |
| return /^HTML/.test(i); | |
| }).map(function(i) { | |
| return window[i]; | |
| }); |
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
| /*jslint plusplus: true, vars: true, indent: 2 */ | |
| /* | |
| convertPointFromPageToNode(element, event.pageX, event.pageY) -> {x, y} | |
| returns coordinate in element's local coordinate system (works properly with css transforms without perspective projection) | |
| convertPointFromNodeToPage(element, offsetX, offsetY) -> {x, y} | |
| returns coordinate in window's coordinate system (works properly with css transforms without perspective projection) | |
| */ |
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
| // sandbox here: https://codesandbox.io/s/p3itj?file=/src/Canvas.tsx | |
| import { | |
| useEffect, | |
| useCallback, | |
| useLayoutEffect, | |
| useRef, | |
| useState | |
| } from "react"; | |
| import * as React from "react"; |
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 endianness () { | |
| var b = new ArrayBuffer(4); | |
| var a = new Uint32Array(b); | |
| var c = new Uint8Array(b); | |
| a[0] = 0xdeadbeef; | |
| if (c[0] == 0xef) return 'LE'; | |
| if (c[0] == 0xde) return 'BE'; | |
| throw new Error('unknown endianness'); | |
| } |