Run the Jupyter notebook in your browser with Binder:
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
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>App</title> | |
<script src="https://unpkg.com/react@17.0.2/umd/react.production.min.js"></script> | |
<script src="https://unpkg.com/react-dom@17.0.2/umd/react-dom.production.min.js"></script> | |
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script> | |
<script src="https://unpkg.com/@babel/standalone@7.13.12/babel.min.js"></script> | |
<style> | |
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 discord | |
import os | |
import requests | |
from discord.ext import commands | |
DISCORD_BOT_TOKEN = os.environ["DISCORD_BOT_TOKEN"] | |
RANDOM_CAT_URL = "https://cataas.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
-- The only properties with 10 or more full bathrooms are apartments. | |
SELECT class | |
WHERE fbath >= 10 | |
-- On average, properties designed from an architect's plan sold for twice as much as properties designed from a stock plan. | |
SELECT tp_plan, AVG(sale_price) | |
WHERE tp_plan IN (1, 2) | |
GROUP BY tp_plan |
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
/* | |
* 1. Go to https://iit.campuslabs.com/engage/organization/acm/roster | |
* 2. Open the browser console | |
* 3. Copy and paste this script into the console and run | |
* 4. Keep tab open and do not click anywhere until the script completes | |
* 5. Save the page output as a .csv | |
*/ | |
var showing = document.querySelector('#roster-members').parentElement.children[1].children[0].innerText.split(' '); | |
var total = parseInt(showing[3]); |
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
/* | |
* 1. Go to https://iit.campuslabs.com/engage/organization/acm/roster | |
* 2. Open the browser console | |
* 3. Copy and paste this script into the console and run | |
* 4. Keep tab open and do not click anywhere until the script completes | |
* 5. Save the page output as a .csv | |
*/ | |
var showing = document.querySelector('#roster-members').parentElement.children[1].children[0].innerText.split(' '); | |
var total = parseInt(showing[3]); |
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
SELECT RD_NO | |
WHERE weather_condition = "RAIN" | |
AND crash_type = "INJURY AND / OR TOW DUE TO CRASH" | |
AND (INJURIES_FATAL = 0 or injuries_fatal is null) | |
AND crash_hour IN (13,14,15) | |
AND DAMAGE = "OVER $1,500" | |
and first_CRASH_type not in ('REAR END','TURNING' | |
,'ANGLE', 'PARKED MOTOR VEHICLE', 'HEAD ON' | |
, 'FIXED OBJECT', "SIDESWIPE SAME DIRECTION") | |
AND STREET_DIRECTION in ("E","W") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder