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 pandas as pd | |
import numpy as np | |
import seaborn as sns | |
from keras.layers import Dense | |
from keras.models import Model, Sequential | |
from keras import initializers | |
## ---------- Create our linear dataset --------------- | |
## Set the mean, standard deviation, and size of the dataset, respectively |
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
#!/usr/bin/env python | |
import csv | |
from unidecode import unidecode | |
import os | |
import math | |
book_code = 'B06XKFP455' | |
kindle_highlights_url = 'https://kindle.amazon.com/your_highlights_and_notes/'+book_code | |
kindle_book_url = 'kindle://book?action=open&asin='+book_code + '&location=' ##40 | |
book_max_location = 18456 |
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 appDomainURL = "*://app.owlandscroll.com/*"; | |
var appDomainURLCononical = "https://app.owlandscroll.com"; | |
const makeAppActive = () => { | |
chrome.tabs.query({ url: config.appDomainURL }, tabs => { | |
if (tabs.length) { | |
var tab = tabs[0]; | |
chrome.tabs.sendMessage(tab.id, { sendingUserToApp: true }, function( | |
response | |
) { |
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
from rauth import OAuth2Service | |
nation_slug = "aura" | |
REDIRECT_URI = "aura_redirect" | |
## Authenticate using OAuth | |
access_token_url = "http://" + nation_slug + ".nationbuilder.com/oauth/token" | |
authorize_url = nation_slug + ".nationbuilder.com/oauth/authorize" |
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
from rauth import OAuth2Service | |
nation_slug = "aura" | |
REDIRECT_URI = "aura_redirect" | |
## Authenticate using OAuth | |
access_token_url = "http://" + nation_slug + ".nationbuilder.com/oauth/token" | |
authorize_url = nation_slug + ".nationbuilder.com/oauth/authorize" |
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
// This code notifies Google Tag Manager when a wpForm is submitted | |
document.addEventListener("DOMContentLoaded", function() { | |
var elementsArray = document.querySelectorAll('[id^="wpforms-form-"]'); | |
elementsArray.forEach(function(elem) { | |
elem.addEventListener("submit", function(e) { | |
window.dataLayer = window.dataLayer || []; | |
window.dataLayer.push({ | |
event: "wpFormSubmit", | |
wpFormElement: event.target | |
}); |
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
___INFO___ | |
{ | |
"displayName": "Taxonomy Tracker", | |
"description": "Fires a datalayer event for each element in the given taxonomy array", | |
"securityGroups": [], | |
"id": "cvt_temp_public_id", | |
"type": "TAG", | |
"version": 1, | |
"brand": { |
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
{ | |
"exportFormatVersion": 2, | |
"exportTime": "2019-07-15 17:47:27", | |
"containerVersion": { | |
"path": "accounts/4701996609/containers/11992448/versions/0", | |
"accountId": "4701996609", | |
"containerId": "11992448", | |
"containerVersionId": "0", | |
"container": { | |
"path": "accounts/4701996609/containers/11992448", |
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
___INFO___ | |
{ | |
"displayName": "Page Title DEBUG Mode", | |
"description": "When in DEBUG mode, add the given string to the page title. When not in DEBUG mode, return the regular title. Useful for filtering out internal traffic when in DEBUG mode", | |
"securityGroups": [], | |
"id": "cvt_temp_public_id", | |
"type": "MACRO", | |
"version": 1, | |
"containerContexts": [ |
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
{ | |
"exportFormatVersion": 2, | |
"exportTime": "2019-08-22 20:35:42", | |
"containerVersion": { | |
"path": "accounts/4701996609/containers/12749914/versions/0", | |
"accountId": "4701996609", | |
"containerId": "12749914", | |
"containerVersionId": "0", | |
"container": { | |
"path": "accounts/4701996609/containers/12749914", |
OlderNewer