Skip to content

Instantly share code, notes, and snippets.

Olivia,F,17728
Emma,F,15433
Charlotte,F,13285
Amelia,F,12952
Ava,F,12759
Sophia,F,12496
Isabella,F,11201
Mia,F,11096
Evelyn,F,9434
Harper,F,8388
Date MSFT AMZN AAPL ZM NFLX
1/4/16 -0.0122569004634868 -0.0575537796633967 0.000855095085597668 NA -0.0386431029544441
1/5/16 0.0045621796806341 -0.00502364566199853 -0.025059307226805 NA -0.0209166516998603
1/6/16 -0.0181653862295561 -0.0017986305236275 -0.0195696533339006 NA 0.0930707377644162
1/7/16 -0.0347825865395425 -0.039057964218144 -0.0422047877568867 NA -0.0265125934738274
1/8/16 0.00306699450942371 -0.00146398328300834 0.00528808376847478 NA -0.027671081139509
1/11/16 -0.000573334482647958 0.0176097557224564 0.0161921087913763 NA 0.0321393485244577
1/12/16 0.00917784089445006 0.000242861078169732 0.0145132225118252 NA 0.014003661703021
1/13/16 -0.021599032535504 -0.0583922965643003 -0.0257103355178645 NA -0.0859495953688524
1/14/16 0.02846628884834 0.0192330864688923 0.0218707589028819 NA 0.00469219228025897
@s2t2
s2t2 / index.html
Created December 3, 2022 19:51
profile_tags_50_umap_3.html
This file has been truncated, but you can view the full file.
<html>
<head><meta charset="utf-8" /></head>
<body>
<div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
<script type="text/javascript">/**
* plotly.js v2.8.3
* Copyright 2012-2021, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
*/
@s2t2
s2t2 / R.md
Last active August 16, 2022 00:49
learning R
@s2t2
s2t2 / DATA.md
Created February 4, 2022 16:46
column_name datatype description
user_id INTEGER unique identifier for each user in our "impeachment 2020" dataset
created_on DATE date the user was created
screen_name_count INTEGER number of screen names used
screen_names STRING all screen names used
is_bot BOOLEAN whether or not we classified this user as a "bot" / automated account
bot_rt_network INTEGER for bots, which retweet network (0:anti-trump, 1:pro-trump)
is_q BOOLEAN whether or not this user tweeted Q-anon language / hashtags
@s2t2
s2t2 / Collect Parler Metadata.ipynb
Created January 13, 2021 19:10 — forked from kylemcdonald/Collect Parler Metadata.ipynb
Collect video URLs and GPS data for Parler videos.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@s2t2
s2t2 / pr.md
Created November 22, 2020 16:08 — forked from piscisaureus/pr.md
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

@s2t2
s2t2 / README.md
Created September 13, 2020 19:11 — forked from ameyms/README.md
D3 Gauge - Part Deux

Yet another simple gauge chart using d3 Inspired by Jake Trent's Codepen snippet

To move the pointer needle, type in following code in you javascript console

needle.moveTo(.25)
artist_id artist_name album_id album_title
1 AC/DC 1 For Those About To Rock We Salute You
2 Accept 2 Balls to the Wall
2 Accept 3 Restless and Wild
1 AC/DC 4 Let There Be Rock
3 Aerosmith 5 Big Ones
4 Alanis Morissette 6 Jagged Little Pill
5 Alice In Chains 7 Facelift
6 Antônio Carlos Jobim 8 Warner 25 Anos
7 Apocalyptica 9 Plays Metallica By Four Cellos
[
{
"id":1612,
"abbrev":"NHV",
"name":"New Haven Union Station",
"latitude":"41.297719",
"longitude":"-72.926731",
"url":"http://www.shorelineeast.com/service_info/stations/nh_u.php"
},
{