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
{ | |
"public_identifier": "gibsontang", | |
"profile_pic_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/gibsontang/profile?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20230617%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20230617T165724Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=917fbbffd65fba0fec5e419ea9a91ebf50fb7b14d9e9ed407e36619620e81ecd", | |
"background_cover_image_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/gibsontang/cover?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20230617%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20230617T165724Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=198069727c9866fae09063e1808d630541a901db7a41065bcf52c179e42a16c6", | |
"first_name": "Gibson", | |
"last_name": "Tang", | |
"full_name": "Gibson Tang", | |
"follower_count": 3932, | |
"occupation": "Director of Engineering at Mighty Jaxx", | |
"headline": "Crafting the future of Web3 using physical and digital touch |
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 numpy as np | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
dataset = pd.read_csv('S_n_P - V-2.csv') | |
X = dataset.iloc[:, 1].values.reshape(-1, 1) | |
y = dataset.iloc[:, 12].values.reshape(-1, 1) | |
plt.scatter(X, y, color = 'red') | |
plt.title('S&P') |
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
Date,Day,Nvidia,Microsoft,Intel,Google,Alphabet,Facebook,Cisco,Amazon,Comcast,Apple,Total | |
7/1/20,1,239.68,156.71,58.31,1395.11,1393.34,213.06,47.04,1906.86,44.64,296.88,5751.64 | |
8/1/20,2,240.13,159.21,58.35,1405.04,1404.32,215.22,47.07,1891.97,45.10,301.66,5768.06 | |
9/1/20,3,242.76,161.20,58.68,1419.79,1419.83,218.30,46.88,1901.05,45.22,308.06,5821.77 | |
10/1/20,4,244.06,160.45,58.32,1428.96,1429.73,218.06,46.69,1883.16,44.69,308.76,5822.88 | |
13/1/20,5,251.71,162.38,58.96,1440.03,1439.23,221.91,47.52,1891.30,45.50,315.36,5873.91 | |
14/1/20,6,247.02,161.24,58.81,1430.59,1430.88,219.06,47.34,1869.44,45.73,311.10,5821.21 | |
15/1/20,7,245.31,162.28,58.32,1439.20,1439.20,221.15,47.56,1862.02,45.98,309.76,5830.79 | |
16/1/20,8,248.67,165.26,59.03,1450.16,1451.70,221.77,48.59,1877.94,46.57,313.64,5883.33 | |
17/1/20,9,249.02,166.18,58.97,1479.52,1480.39,222.14,48.56,1864.72,47.19,317.12,5933.81 |
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
Date,Day,Visa,Microsoft,JP Morgan,Johnson & Johnson,Google,Alphabet,Facebook,Amazon,Apple,Berkshire Hathaway,Total | |
2020-01-07,1,188.10,156.71,134.48,143.07,"1,395.11","1,393.34",213.06,"1,906.86",296.88,225.92,6053.54 | |
2020-01-08,2,191.32,159.21,135.53,143.05,"1,405.04","1,404.32",215.22,"1,891.97",301.66,225.99,6073.31 | |
2020-01-09,3,192.65,161.20,136.03,143.47,"1,419.79","1,419.83",218.30,"1,901.05",308.06,228.65,6129.03 | |
2020-01-10,4,193.17,160.45,134.67,143.15,"1,428.96","1,429.73",218.06,"1,883.16",308.76,226.62,6126.73 | |
2020-01-13,5,194.72,162.38,135.79,143.78,"1,440.03","1,439.23",221.91,"1,891.30",315.36,228.45,6172.95 | |
2020-01-14,6,195.44,161.24,137.37,144.59,"1,430.59","1,430.88",219.06,"1,869.44",311.10,227.17,6126.88 | |
2020-01-15,7,199.18,162.28,135.31,145.07,"1,439.20","1,439.20",221.15,"1,862.02",309.76,228.35,6141.53 | |
2020-01-16,8,200.32,165.26,135.84,146.25,"1,450.16","1,451.70",221.77,"1,877.94",313.64,229.73,6192.61 | |
2020-01-17,9,204.06,166.18,136.78,147.20,"1,479.52","1,480.39",222.14,"1,864.72",317. |
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
Date,Day,Lumentum Holdings,Amedisys,Haemonetics,Teladoc,First Industrial Realty,Trex,Portland General Electric,Generac,Deckers Outdoor Corp,Novocure,Total | |
2020-01-07,1,81.97,166.67,113.99,85.73,40.81,90.75,54.64,102.90,173.15,80.06,990.66 | |
2020-01-08,2,82.96,171.83,114.41,86.22,41.04,94.39,54.66,100.03,168.83,79.68,994.04 | |
2020-01-09,3,81.50,172.66,115.91,85.37,41.09,96.92,55.10,99.40,169.29,81.01,998.25 | |
2020-01-10,4,80.19,173.98,116.23,85.16,41.39,96.97,55.52,98.73,165.03,84.34,997.54 | |
2020-01-13,5,80.60,176.46,116.62,95.97,41.89,97.43,56.24,100.91,167.79,81.20,1015.11 | |
2020-01-14,6,79.68,177.02,116.76,96.87,41.47,95.87,56.44,102.14,168.49,82.41,1017.15 | |
2020-01-15,7,75.89,176.71,115.67,94.00,42.24,98.95,57.26,102.29,168.82,84.39,1016.22 | |
2020-01-16,8,77.75,181.32,116.01,96.91,42.61,99.61,57.89,103.92,172.66,94.38,1043.07 | |
2020-01-17,9,76.96,180.31,113.85,95.60,42.55,97.88,58.24,103.52,173.52,92.58,1035.01 |
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
class cars: | |
def __init__(self, name, price): | |
self.name = name | |
self.price = price | |
unsorted_cars = [] | |
unsorted_cars.append(cars('Ford', 20000)) | |
unsorted_cars.append(cars('Volvo', 50000)) | |
unsorted_cars.append(cars('BMW', 24000)) |
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
<?php | |
$filename = $argv[1];//get the command line argument which is supposed to be the png filename | |
echo "Going to iconize \"$filename\"\n"; | |
class imgFile | |
{ | |
public $fileName; | |
public $size; | |
public function __construct($fileName, $size) | |
{ |
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
<?php | |
/** | |
* GIT DEPLOYMENT SCRIPT | |
* | |
* Used for automatically deploying files via github or bitbucket | |
* | |
* Forked from https://gist.github.com/oodavid/1809044 and with thanks | |
*/ | |
function curPageURL()//get the url directory excluding the file name | |
{ |