Skip to content

Instantly share code, notes, and snippets.

@chaityacshah
chaityacshah / custom.css
Created August 25, 2018 02:33 — forked from ChrisBeaumont/custom.css
Demystifying Python Descriptors
<style>
@font-face {
font-family: "Computer Modern";
src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunss.otf');
}
div.cell{
width:800px;
margin-left:16% !important;
margin-right:auto;
}
@chaityacshah
chaityacshah / multiple_ssh_setting.md
Created September 18, 2019 03:13 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
GlowScript 2.9 VPython
# https://www.wired.com/story/plant-a-tree-for-climate-change/?mod=djemTECH
na=6.022e23
#diameter of tree
d=1.5 #m
#height of tree
h=15 #
#density of tree
rho=500 #kg/m^3
@chaityacshah
chaityacshah / Spark aggregateByKey
Created October 23, 2019 18:58 — forked from tmcgrath/Spark aggregateByKey
Spark aggregateByKey example
Welcome to
____ __
/ __/__ ___ _____/ /__
_\ \/ _ \/ _ `/ __/ '_/
/___/ .__/\_,_/_/ /_/\_\ version 1.1.0
/_/
Using Scala version 2.10.4 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_65)
Type in expressions to have them evaluated.
Type :help for more information.