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
export fuc1(x,y,z) {return x+y+z*2} |
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
option = { | |
title: { | |
text: 'Stacked Area Chart' | |
}, | |
tooltip: { | |
trigger: 'axis', | |
axisPointer: { | |
type: 'cross', | |
label: { | |
backgroundColor: '#6a7985' |
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
let x = [[1,2,3],[4,5,6],[7,8,9]]; |
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
age,workclass,fnlwgt,education,education-num,marital-status,occupation,relationship,race,sex,capital-gain,capital-loss,hours-per-week,native-country,class | |
25, Private,178478, Bachelors,13, Never-married, Tech-support, Own-child, White, Female,0,0,40, United-States, <=50K | |
23, State-gov,61743, 5th-6th,3, Never-married, Transport-moving, Not-in-family, White, Male,0,0,35, United-States, <=50K | |
46, Private,376789, HS-grad,9, Never-married, Other-service, Not-in-family, White, Male,0,0,15, United-States, <=50K | |
55, ?,200235, HS-grad,9, Married-civ-spouse, ?, Husband, White, Male,0,0,50, United-States, >50K | |
36, Private,224541, 7th-8th,4, Married-civ-spouse, Handlers-cleaners, Husband, White, Male,0,0,40, El-Salvador, <=50K | |
51, Private,178054, Some-college,10, Married-civ-spouse, Sales, Husband, White, Male,0,0,40, ?, >50K | |
33, Private,263561, Some-college,10, Married-civ-spouse, Craft-repair, Husband, White, Male,0,0,60, United-States, >50K | |
46, Private,173613, HS-grad,9, Divorced, Adm-clerical, Not-in-family, White, F |
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
flight = {"airportsFields":["name","city","country","longitude","latitude"],"airlineFields":["name","country"],"airports":[["Goroka","Goroka","Papua New Guinea",145.391881,-6.081689],["Madang","Madang","Papua New Guinea",145.7887,-5.207083],["Mount Hagen","Mount Hagen","Papua New Guinea",144.295861,-5.826789],["Nadzab","Nadzab","Papua New Guinea",146.726242,-6.569828],["Port Moresby Jacksons Intl","Port Moresby","Papua New Guinea",147.22005,-9.443383],["Wewak Intl","Wewak","Papua New Guinea",143.669186,-3.583828],["Narsarsuaq","Narssarssuaq","Greenland",-45.425978,61.160517],["Nuuk","Godthaab","Greenland",-51.678064,64.190922],["Sondre Stromfjord","Sondrestrom","Greenland",-50.689325,67.016969],["Thule Air Base","Thule","Greenland",-68.703161,76.531203],["Akureyri","Akureyri","Iceland",-18.072703,65.659994],["Egilsstadir","Egilsstadir","Iceland",-14.401389,65.283333],["Hornafjordur","Hofn","Iceland",-15.227222,64.295556],["Husavik","Husavik","Iceland",-17.425978,65.952328],["Isafjordur","Isafjordur","Iceland" |
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
const hello = x=>{console.log("This is x" + x);} |
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
function my_demo_function(matrixA, matrixB){ | |
return 4* matrixA + 3 * matrixB.T(); | |
} |
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
x = random(1000,1000) | |
tic() | |
y = x*x | |
toc() | |
x.mode = "gpu" | |
tic() | |
y = x*x |
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
print("Hello! This is a script saved at Github Gist and loaded to Hedgehog Lab automatically from URL!") |
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
print("hello world 1") | |
print`hello world 2` |
NewerOlder