Skip to content

Instantly share code, notes, and snippets.

📡
sending EM waves to Mars

LM emptymalei

📡
sending EM waves to Mars
Block or report user

Report or block emptymalei

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@emptymalei
emptymalei / README.md
Created Jan 23, 2019
The Central Limit Theorem
View README.md

This animation demonstrates the central limit theorem for a uniform sampling distribution.

View BigQuery_to_Google_sheet.js
// [START apps_script_bigquery_update_sheet]
/**
* Runs a BigQuery query and replace the existing sheet
*/
/**
* Add a custom menu to the spreadsheet when it is opened.
*/
function onOpen() {
var spreadsheet = SpreadsheetApp.getActive();
@emptymalei
emptymalei / BigQuery2GSheets.js
Created Jan 14, 2019 — forked from greenido/BigQuery2GSheets.js
An Apps script example to fetch data form Big query to google spreadsheets. For more: http://wp.me/pB1lQ-19i
View BigQuery2GSheets.js
/**
* Fetching data from BigQuery and present it in our sheet
* Author: Ido Green
* Date: 14/12/2013
*
* See: http://wp.me/pB1lQ-19i
* Misc: https://developers.google.com/bigquery/
*/
//
@emptymalei
emptymalei / mars-landing-sites.geojson
Created Nov 24, 2018
Mars Exploration Landing Sites
View mars-landing-sites.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View space-exploration-events.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 4 columns, instead of 2. in line 8.
Date,Event leading to space exploration,Country,Researcher(s)
1610,"First telescopic observation of the night sky: discovery of Jupiter's moons, lunar craters and the phases of Venus.",Republic of Venice,Galileo Galilei
1687,Publication of the Philosophiæ Naturalis Principia Mathematica,England,Sir Isaac Newton
1813,First exposition of the rocket equation based on Newton's third law of motion: Treatise on the Motion of Rockets,UK,William Moore
1840,First clear telescopic photograph of another world: the Moon.,United States,John William Draper
1865,From the Earth to the Moon published.,France,Jules Verne
1898,The War of the Worlds published. This inspired Robert Goddard to investigate rocketry.,UK,H. G. Wells
1903,"Inspired by the writings of Jules Verne, first serious work published that showed physical space exploration was theoretically possible: Исследование мировых пространств реактивными приборами (The Exploration of Cosmic Space by Means of Reaction Devices)",Russia,Konstantin Tsiolkovsky
1914,Goddard f
View Space Launches by Year.csv
launch year failure partial failure success planned
1957 1 1 1 0
1958 20 2 6 0
1959 11 2 10 0
1960 19 0 19 0
1961 20 2 28 0
1962 15 1 65 0
1963 17 3 50 0
1964 15 3 82 0
1965 15 1 108 0
@emptymalei
emptymalei / hist_cum_twin_grid.py
Created Nov 7, 2018 — forked from messefor/hist_cum_twin_grid.py
Example to show how to plot histogram with accumulate ratio. Plot multiple histograms using seaborn.FacetGrid().
View hist_cum_twin_grid.py
"""Example to show how to plot histogram with accumulate ratio.
Plot multiple histogram using seaborn.FacetGrid()
"""
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
% matplotlib inline
View pypi-release-checklist.md
  • Update HISTORY.rst
  • Commit the changes:
git add HISTORY.rst
git commit -m "Changelog for upcoming release 0.1.1."
  • Update version number (can also be minor or major)
bumpversion patch
View gist:a4f9ba6934887c63bb0ffe5ce4687b08
### Keybase proof
I hereby claim:
* I am emptymalei on github.
* I am emptymalei (https://keybase.io/emptymalei) on keybase.
* I have a public key ASCGsW13t46xsAZlkeMvKi45Og-YVo-FcTM9keWnQQLmPAo
To claim this, I am signing this object:
View gist:357e1a1773588de480839fb99c0b981e
{"_id":"lagou-shenzhen-datascientist","startUrl":["https://www.lagou.com/jobs/list_%E6%95%B0%E6%8D%AE%E7%A7%91%E5%AD%A6%E5%AE%B6?px=default&city=%E6%B7%B1%E5%9C%B3#filterBox"],"selectors":[{"id":"card","type":"SelectorElement","selector":"li.con_list_item","parentSelectors":["_root"],"multiple":true,"delay":""},{"id":"position","type":"SelectorText","selector":"h3","parentSelectors":["card"],"multiple":false,"regex":"","delay":0},{"id":"location","type":"SelectorText","selector":"span.add em","parentSelectors":["card"],"multiple":false,"regex":"","delay":0},{"id":"company","type":"SelectorText","selector":"div.company_name a","parentSelectors":["card"],"multiple":false,"regex":"","delay":0},{"id":"salary","type":"SelectorText","selector":"span.money","parentSelectors":["card"],"multiple":false,"regex":"","delay":0},{"id":"companystat","type":"SelectorText","selector":"div.industry","parentSelectors":["card"],"multiple":false,"regex":"","delay":0},{"id":"requirement","type":"SelectorText","selector":"div.p_bot
You can’t perform that action at this time.