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
| // Keeping this pretty simple. Dynamically find the nearest week, hardcode everything else (workspace id, project ids, time span rules). | |
| // Made into bookmarklet with https://chriszarate.github.io/bookmarkleter/ | |
| // Javascript time zone is a pain in the ass. Some things use UTC, some use local time zone. It's really easy to screw up. | |
| // Javascript date object is weird when initializing it manually. When using "yyyy-mm-dd", it implicitly uses UTC 00:00. But using some other format like "yyyy/mm/dd" inits based on local timezone. | |
| // https://stackoverflow.com/a/31732581 see the comments | |
| // Find the nearest past Sat (or today if it's Sat), then look at the previous Sat-Fri date range. | |
| function getDateRange(date = new Date()) { | |
| const lastSat = new Date(date) |
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
| Request URL: http://localhost:4567/api/restore_file | |
| Request Method: POST | |
| Status Code: 200 OK | |
| Remote Address: [::1]:4567 | |
| Referrer Policy: no-referrer-when-downgrade | |
| Access-Control-Allow-Credentials: true | |
| Access-Control-Allow-Origin: * | |
| Content-Type: text/html;charset=utf-8 | |
| Date: Mon, 28 May 2018 18:45:18 GMT |
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
| FAILURE: Build failed with an exception. | |
| * What went wrong: | |
| Execution failed for task ':AndroidCompat:compileKotlin'. | |
| > Compilation error. See log for more details | |
| * Try: | |
| Run with --info or --debug option to get more log output. | |
| * Exception is: |
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 matplotlib.pyplot as plt | |
| import numpy as np | |
| df = pd.read_excel('data.xlsx', sheetname="Sheet1") | |
| # Highest Batting Average | |
| high = df.loc[df['Batting Average'].idxmax()] | |
| print("Player with the highest batting average - " + high["PLAYER"] + " - " + str(high["Batting Average"])) |
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
| reservation page | |
| display info | |
| countdown timer | |
| different view if you have no reservation | |
| cancel reservation | |
| refresh data? | |
| restaurant page | |
| finish displaying info | |
| make reservation |
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
| //Testing |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <title>GodaddyCollabClient</title> | |
| <meta name="description" content=""> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="stylesheet" href="https://img1.wsimg.com/ux/1.3.10-brand/css/uxcore.min.css"> |