Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| // ==UserScript== | |
| // @name Save page in reader mode | |
| // @namespace https://github.com/gildas-lormeau/SingleFile/ | |
| // @version 1.0 | |
| // @description Save page in reader mode with SingleFile | |
| // @author Gildas Lormeau | |
| // @match *://*/* | |
| // @grant none | |
| // ==/UserScript== |
This file contains hidden or 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
| ################################################################ | |
| # DOWNLOAD ENTIRE FOLDER STRUCTURE FROM DROPBOX TO LOCAL DRIVE # | |
| ################################################################ | |
| # Instructions: | |
| # (1) install dropbox API using pip | |
| # > pip install dropbox | |
| # (2) Create application to make requests to the Dropbox API | |
| # - Go to: https://dropbox.com/developers/apps |
This file contains hidden or 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
| "use strict"; | |
| let exports = {} | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| class CPT { | |
| constructor() { | |
| this.alphabet = new Set(); | |
| this.root = new PredictionTree(); | |
| this.II = {}; | |
| this.LT = {}; | |
| this.data = []; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| /** | |
| * @OnlyCurrentDoc | |
| */ | |
| var MAXROWS = 1000 | |
| var SEEKWELL_J_SHORT_DATES = { day: "yyyy-MM-dd", month: "yyyy-MM", year: "yyyy", dayNum: "dd", monthNum: "MM", yearNum: "yyyy", week: "W" } | |
| var SEEKWELL_J_TIMEZONE = "UTC" | |
| var HOST = '35.196.130.133' | |
| var PORT = '3306' | |
| var USERNAME = 'apps_script_demo' |
This file contains hidden or 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
| """ | |
| ADD THE FOLLOWING LINES TO YOUR REQUIREMENTS.TXT: | |
| flask | |
| twilio | |
| pytz | |
| """ |
This file contains hidden or 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
| // Sample Tracking Template | |
| // {lpurl}?utm_medium=adwords&utm_campaign={_campaign}&utm_source={_adgroup}&utm_term={keyword} | |
| // This script will set custom parameters {_campaign} and {_adgroup} at the campaign and adgroup level respectively. | |
| // Configuration | |
| // Set the Parameter Format Mode to either "safe" or "strict" | |
| const PARAMETER_FORMAT_MODE = 'safe'; | |
| function main() { | |
| updateCampaigns(); |
This file contains hidden or 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 requests | |
| import urllib | |
| import time | |
| import re | |
| # Data Visualization | |
| from plotly import tools | |
| import chart_studio |
This file contains hidden or 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
| # Scrape Shopify themes using scrapy.org | |
| #!pip install scrapy | |
| #%%writefile shopify_theme_spider.py | |
| import scrapy | |
| class ShopifyThemeSpider(scrapy.Spider): | |
| name = 'bshopifyspider' | |
| start_urls = ['https://themes.shopify.com/themes?page=1'] |