| layout | title | description | date |
|---|---|---|---|
post |
derp1 |
double derp 1 |
2017-06-08 01:00:00 -0700 |
What had I expected? Four delights-snapped tributes (excesses) balance among four happy weeks as official as
| <script> | |
| // SCROLL CHECK TO INSERT WEBCOMPONENT | |
| function scrollThresholdCheck() { | |
| const SCROLL_THRESHOLD = 30; // Scroll distance in pixels to trigger the component insertion | |
| const WEB_COMP = 'recipe-mode-toggle'; | |
| const currentScrollY = window.scrollY; | |
| // Check 1: Has the required scroll threshold been met? | |
| if (currentScrollY >= SCROLL_THRESHOLD) { | |
| // Check 2: Does the target element already exist on the page? | |
| const existingComponent = document.querySelector( WEB_COMP); |
| 'use strict'; | |
| const snowplow = require('snowplow-tracker'); | |
| const emitter = snowplow.emitter; | |
| const tracker = snowplow.tracker; | |
| // setup emitter | |
| const e = emitter( | |
| 'com-spokenlayer.mini.snplow.net', // Collector endpoint | |
| 'https', // Optionally specify a method - http is the default |
| layout | title | description | date |
|---|---|---|---|
post |
derp1 |
double derp 1 |
2017-06-08 01:00:00 -0700 |
What had I expected? Four delights-snapped tributes (excesses) balance among four happy weeks as official as
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' /> | |
| <meta name="twitter:card" content="player" /> | |
| <meta name="twitter:site" content="@wakeyio" /> | |
| <meta name="twitter:title" content="Hemopure ~ Wakey Wakey #26" /> | |
| <meta name="twitter:description" content="Hemopure is an artificial blood (HBOC) that’s saving lives in South Africa. It’s shelf stable and 100% compatible with all blood types." /> | |
| <meta name="twitter:image" content="https://wakey.io/public/img/thumbs/26.png" /> | |
| <meta name="twitter:player" content="https://wakey.io/embed/26" /> |
| def callerName(tel): | |
| r = requests.get("https://lookups.twilio.com/v1/PhoneNumbers/"+tel, params={'Type': 'caller-name'}, auth=(sid, tok) ) | |
| try: | |
| # return a list of first, last, etc. names instead of 1 string | |
| name = r.json()['caller_name']['caller_name'].split() | |
| except Exception, e: | |
| print "error getting caller name: "+ repr(e) | |
| name=None | |
| return name |
| require "octokit" | |
| require "json" | |
| auth = "your-github-auth-token-goes-here" | |
| Octokit.auto_paginate = true | |
| c = Octokit::Client.new(:access_token => auth, :auto_paginate => true, :per_page =>1000) | |
| ### GET USER IDS FOR GEOS DEFINED in `locations` ### | |
| data = [] |
| # API key | |
| akey = "2cd366345l3derpppp3948city566ae6c" | |
| # email address associated with API key | |
| auser = "[email protected]" |
| var Excel = require('exceljs'); | |
| // create workbook & add worksheet | |
| var workbook = new Excel.Workbook(); | |
| var worksheet = workbook.addWorksheet('Discography'); | |
| // add column headers | |
| worksheet.columns = [ | |
| { header: 'Album', key: 'album'}, | |
| { header: 'Year', key: 'year'} |
| document.addEventListener('DOMContentLoaded', init, false) | |
| var videoId = document.getElementById('video') | |
| //var videoTitle = videoId.getAttribute('data-description') | |
| var videoTitle = '宝宝身边有怪物' | |
| function init () { | |
| videoId.addEventListener('ended', videoEnd, false) | |
| videoId.addEventListener('timeupdate', videoTimeUpdate, false) | |
| videoId.addEventListener('play', videoPlay, false) |
| /* | |
| * Take a set of full height screenshots for a range of screensizes. | |
| * phantomjs responsive-screens.js http://www.cnn.com/ png | |
| * | |
| * This will create a directory tree in your current directory which | |
| * mirrors the URL. All files will be named with the current time. | |
| * You can run this on a cron to build an archive of screenshots. | |
| **/ | |
| var page = new WebPage(), |