Skip to content

Instantly share code, notes, and snippets.

View AramZS's full-sized avatar
🎯
Focusing

Aram Zucker-Scharff AramZS

🎯
Focusing
View GitHub Profile
// <![CDATA[
/**
* @license
* Lodash lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE
*/
;(function(){function n(n,t){return n.set(t[0],t[1]),n}function t(n,t){return n.add(t),n}function r(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function e(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u<i;){var o=n[u];t(e,o,r(o),n)}return e}function u(n,t){for(var r=-1,e=null==n?0:n.length;++r<e&&false!==t(n[r],r,n););return n}function i(n,t){for(var r=null==n?0:n.length;r--&&false!==t(n[r],r,n););
return n}function o(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(!t(n[r],r,n))return false;return true}function f(n,t){for(var r=-1,e=null==n?0:n.length,u=0,i=[];++r<e;){var o=n[r];t(o,r,n)&&(i[u++]=o)}return i}function c(n,t){return!(null==n||!n.length)&&-1<d(n,t,0)}function a(n,t,r){for(var e=-1,u=null==n?0:n.length;++e<u;)if(r(t,n[e]))return true;return false}funct
<head>
<noscript>
<META http-equiv="refresh" content="0;URL=https://apple.news/A5E_SPEWxQNGcXT3UW6yEuw">
</noscript>
<title>https://apple.news/A5E_SPEWxQNGcXT3UW6yEuw</title>
</head>
<script>window.opener = null; location.replace("https:\/\/apple.news\/A5E_SPEWxQNGcXT3UW6yEuw")</script>
<!DOCTYPE html>
<html class="js no-touch svg no-oldie no-ie" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" prefix="og: http://ogp.me/ns#">
<head>
<meta charset="UTF-8" />
<script type="text/javascript">
if (window.self === window.top) {
window.onload = function() {
if (!String.prototype.includes) {
@AramZS
AramZS / interfaces
Created February 10, 2018 19:32
local access plus wifi access to raspberrypi0
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
allow-hotplug usb0
iface usb0 inet static
{
"httpMethod": "POST",
"queryStringParameters": {
"TableName": "MyTable",
"ReturnConsumedCapacity": "TOTAL",
"Item": {
"TestingID": { "S": "aTest1" },
"TestingTitle": { "S": "A Title" },
"TestingValue": { "S": "A Value" }
}
document.documentElement.style.overflow = "auto";
Object.defineProperty(document.documentElement.style, "overflow", {
set: function(val){
console.log("nop", "NOPed on style overflow", val); return false;
}
} );
Object.freeze(document.documentElement.style);
@AramZS
AramZS / get_queried_object_example.php
Created November 25, 2016 04:19
sample wp queried object.
object(WP_Term)#391 (10) {
["term_id"]=>
int(31)
["name"]=>
string(15) "via bookmarklet"
["slug"]=>
string(14) "viabookmarklet"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
<script>
(function() {
window.srAsyncInit = function() {
SR({
"playerId": "57fa30b5206d0f0002bb8b6d",
"apiKey": "56cabe3e5e0c280002000001",
"version": "1.0",
"breakingAds" : {enabled:true},
"banner" : {html: '<a href="http://www.gatorade.com/" target=blank><img src="https://s-media-cache-ak0.pinimg.com/564x/f7/03/53/f70353fb24eedf9734a4b867b2caf74a.jpg"></a>'},
"macros": {
@AramZS
AramZS / filter_wp_pastes_to_make_links_open_new_window.php
Last active August 9, 2016 18:03
Filter TinyMCE config to make new pastes default to have links open in new window.