Skip to content

Instantly share code, notes, and snippets.


Stuart Powers sente

View GitHub Profile
View gist:590f249062f0afd6167938bb7a518d2d
var morefunction = function()
button = document.getElementById("more");
var myVar = setInterval(morefunction, 4000);
sente / violano-parts.js
Created Jun 4, 2020
snippets from violano.js
View violano-parts.js
// Version 03-08-2018
var CurrentViewEnum = {
NONE: 0,
View spotlight.html
<!doctype html>
<meta charset=utf-8>
<meta name=viewport content=width=device-width,initial-scale=1>
* {
line-height: 1.1;
word-wrap: break-word;
body {
font: 16px Georgia, serif;
import sys
import pprint
import json
from nltk.corpus import wordnet as wn
def get_synsets(words):
return dict([[w,wn.synsets(w.split()[0])] for w in words])
View xpath-cheatsheet.js
// XPath CheatSheet
// To test XPath in your Chrome Debugger: $x('/html/body')
// 0. XPath Examples.
// More:
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class
import requests
import re
import glob
import os
import sys
import pprint
import pandas
import lxml
import lxml.html
View Untitled.csv
We can't make this file beautiful and searchable because it's too large.
"_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
View foodler_md5_ipython.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View learning.txt
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.