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
" Settings | |
set nosmoothscroll | |
let fullpagescrollpercent = 100 | |
let lastactivetablimit = 50; | |
let lastclosedtablimit = 50; | |
let scrollduration = 25 | |
let scrollstep = 65 | |
let zoomstep = 15 | |
let hintcharacters = "1234567890"; | |
let homeurl = "http://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
import argparse | |
import gspread | |
from oauth2client.service_account import ServiceAccountCredentials | |
if __name__ == "__main__": | |
parser = argparse.ArgumentParser() | |
parser.add_argument('secret_file') | |
parser.add_argument('url') |
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
[MASTER] | |
# Specify a configuration file. | |
#rcfile= | |
# Python code to execute, usually for sys.path manipulation such as | |
# pygtk.require(). | |
#init-hook= | |
# Add files or directories to the blacklist. They should be base names, not |
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 json | |
try: | |
from urllib.request import urlopen | |
except ImportError: | |
from urllib import urlopen | |
req = urlopen('http://localhost:4040/api/tunnels') | |
ngrok_tunnels = json.loads(req.read().decode()) | |
ngrok_public_url = ngrok_tunnels['tunnels'][0]['public_url'] |
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 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 argparse | |
from urllib.parse import urljoin | |
import requests | |
import json | |
from bs4 import BeautifulSoup | |
BASE_URL = 'http://facemood.grtimed.com/' | |
INDEX_URL = urljoin(BASE_URL, 'index.php') |
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 os | |
import argparse | |
from distutils.util import strtobool | |
from bs4 import BeautifulSoup | |
def externaljs_to_static(path_suffix, input_file_name, output_file_name): | |
index_path = os.path.join(path_suffix, input_file_name) | |
output_path = os.path.join(path_suffix, output_file_name) |