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 bash | |
# Copy the url of the active ngrok connection to the clipboard. | |
# Usage: | |
# ngrok-copy # copies e.g. https://3cd67858.ngrok.io to clipboard. | |
# ngrok-copy -u # copies e.g. http://3cd67858.ngrok.io to clipboard. | |
if [[ "$1" == "-u" ]]; then | |
NGROK_URL=`curl -s http://127.0.0.1:4043/api/tunnels | grep "https://.*.ngrok-free.app" -oh` | |
else | |
NGROK_URL=`curl -s http://127.0.0.1:4043/api/tunnels | grep "https://.*.ngrok-free.app" -oh` |
We can't make this file beautiful and searchable because it's too large.
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
HeartDisease,BMI,Smoking,AlcoholDrinking,Stroke,PhysicalHealth,MentalHealth,DiffWalking,Sex,AgeCategory,Race,Diabetic,PhysicalActivity,GenHealth,SleepTime,Asthma,KidneyDisease,SkinCancer | |
No,16.6,Yes,No,No,3.0,30.0,No,Female,55-59,White,Yes,Yes,Very good,5.0,Yes,No,Yes | |
No,20.34,No,No,Yes,0.0,0.0,No,Female,80 or older,White,No,Yes,Very good,7.0,No,No,No | |
No,26.58,Yes,No,No,20.0,30.0,No,Male,65-69,White,Yes,Yes,Fair,8.0,Yes,No,No | |
No,24.21,No,No,No,0.0,0.0,No,Female,75-79,White,No,No,Good,6.0,No,No,Yes | |
No,23.71,No,No,No,28.0,0.0,Yes,Female,40-44,White,No,Yes,Very good,8.0,No,No,No | |
Yes,28.87,Yes,No,No,6.0,0.0,Yes,Female,75-79,Black,No,No,Fair,12.0,No,No,No | |
No,21.63,No,No,No,15.0,0.0,No,Female,70-74,White,No,Yes,Fair,4.0,Yes,No,Yes | |
No,31.64,Yes,No,No,5.0,0.0,Yes,Female,80 or older,White,Yes,No,Good,9.0,Yes,No,No | |
No,26.45,No,No,No,0.0,0.0,No,Female,80 or older,White,"No, borderline diabetes",No,Fair,5.0,No,Yes,No |
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
node_1 | node_2 | |
---|---|---|
0 | 747 | |
1 | 4257 | |
1 | 2194 | |
1 | 580 | |
1 | 6478 | |
1 | 1222 | |
1 | 5735 | |
1 | 7146 | |
1 | 2204 |
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
Survived | Age | Fare | Cabin | |
---|---|---|---|---|
0 | 22 | 7 | NaN | |
1 | 38 | 71 | C85 | |
1 | 26 | 7 | NaN | |
1 | 35 | 53 | C123 | |
0 | 35 | 8 | NaN |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta content="text/html; charset=utf-8" http-equiv="content-type"> | |
<title>HTML 5 Game Tutorial</title> | |
</head> | |
<body> | |
<canvas id="surface" width="600" height="400"></canvas> | |
</body> |
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
# https://www.youtube.com/watch?v=pvimAM_SLic | |
# Algorithm code from video above, code past print statement is my original code. | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import random | |
def estimate_pi(n): | |
num_point_circle = 0 |
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 tkinter import * | |
import random | |
def generator(): | |
x = random.randint(2, 6) | |
starters = ['New Wave of', 'Blackened', 'Christian', 'Melodic', 'Symphonic', ' Ambient'] | |
nationality = [' American', ' British', ' Norwegian'] |
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 time | |
import webbrowser | |
import pyautogui | |
breaks = 0 | |
print("This program started on " + time.ctime()) | |
while (breaks < 3): | |
time.sleep(7200) | |
webbrowser.open("https://www.youtube.com/watch?v=9Ei89MsnCd0"); |