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
var morefunction = function() | |
{ | |
button = document.getElementById("more") | |
button.click(); | |
button.scrollIntoView(); | |
window.scrollBy(0,-40); | |
} | |
var myVar = setInterval(morefunction, 4000); |
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
// Version 03-08-2018 | |
var CurrentViewEnum = { | |
NONE: 0, | |
SONGS: 1, | |
PLAYLISTS: 2, | |
ALBUMS: 3 | |
}; | |
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
https://goo.gl/photos/Lg4muHRg55jQbW967 |
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
curl 'https://books.google.com/books/content?id=KJFXX0zox7MC&pg=PA10&img=1&zoom=3&hl=en&sig=ACfU3U0U0rYWMZiM6vueUddCdUMr6fn3Gg' \ | |
-H 'pragma: no-cache' \ | |
-H 'accept-encoding: gzip, deflate, br' \ | |
-H 'accept-language: en-US,en;q=0.8' \ | |
-H 'upgrade-insecure-requests: 1' \ | |
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36' \ | |
-H 'x-chrome-uma-enabled: 1' \ | |
-H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8' \ | |
-H 'cache-control: no-cache' \ | |
-H 'authority: books.google.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
function click_all_the_things() { | |
buttons = $('.sgbutton').toArray() | |
function clickbutton() { | |
console.log(buttons.length) | |
if(buttons.length > 0){ | |
button = buttons.pop(); | |
console.log("clicking button", button); | |
button.click(); |
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
Learning How To Learn | |
Module 1 - What is Learning | |
Focused/Diffuse Modes Thinking | |
- Obviously ‘focused’ is when you’re concentrating. Direct approach to solving familiar problems. | |
- Focused: thoughts move through nicely-paved road of familiar notions (neural pattern looks very tight and directed). | |
- encompasses rational, sequential, analytical approaches to thinking | |
- Diffuse: More of a search function neural pattern. Thoughts move widely. More of a broad/big-picture perspective trying to connect ideas from different places. | |
- We’re always either in focused or diffuse mode of thinking. |
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
// XPath CheatSheet | |
// To test XPath in your Chrome Debugger: $x('/html/body') | |
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/ | |
// 0. XPath Examples. | |
// More: http://xpath.alephzarro.com/content/cheatsheet.html | |
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class |
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 requests | |
import re | |
import glob | |
import os | |
import sys | |
import pprint | |
import pandas | |
import lxml | |
import lxml.html |
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 sys | |
import PIL | |
from PIL import ImageChops | |
from functools import reduce | |
import math, operator | |
def rmsdiff(im1, im2): | |
"Calculate the root-mean-square difference between two images" | |
h = ImageChops.difference(im1, im2).histogram() |
We can't make this file beautiful and searchable because it's too large.
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
"_id" title authors.0 authors.1 publisher | |
59b1349a30164b0f93a7ca2c On Gryphon's Wings T. C. Portier Balboa Press | |
59b1349a30164b0f93a7ca2d Murder in the Vatican, The CIA and the Bolshevik Pontiff Lucien Gregoire Author House | |
59b1349a30164b0f93a7ca2e The Taylor Women Shirley Harrington-Moore iUniverse | |
59b1349a30164b0f93a7ca2f Roll On Sugaree Loyd Little Author House | |
59b1349a30164b0f93a7ca30 The Pelican's Briefs Mark Joneschiet iUniverse | |
59b1349a30164b0f93a7ca31 Colophon, A Novel of Renaissance Florence Jo Ford iUniverse | |
59b1349a30164b0f93a7ca32 December Gold Ron Mitchell WestBow Press | |
59b1349a30164b0f93a7ca33 Mom's Gold Star Robert Bailey iUniverse | |
59b1349a30164b0f93a7ca34 Evergreen Belva Plain Dell Publishing Company |