Skip to content

Instantly share code, notes, and snippets.

View emptymalei's full-sized avatar
📡
sending EM waves to Mars

LM emptymalei

📡
sending EM waves to Mars
View GitHub Profile
@emptymalei
emptymalei / propulsion.md
Created June 12, 2014 20:35
propulsion.md

推进技术

星际移民中心所使用的以及在研究中的相关的推进技术。

##目录

[toc]

简要介绍

eyJ2ZXJzaW9uIjoxLjMsImZlYXR1cmVzIjp7ImxvY2F0aW9uIjp7InJvb20iOnRydWUsIm91dHNpZGUiOnRydWV9fSwic3RvcmVzIjp7Indvb2QiOjEyNCwibWVhdCI6MTAyLCJiYWl0IjowLCJzY2FsZXMiOjEsImZ1ciI6MTAxLCJ0ZWV0aCI6MTB9LCJjaGFyYWN0ZXIiOnt9LCJpbmNvbWUiOnsiZ2F0aGVyZXIiOnsiZGVsYXkiOjEwLCJzdG9yZXMiOnsid29vZCI6MH0sInRpbWVMZWZ0IjoxfSwiYnVpbGRlciI6eyJkZWxheSI6MTAsInN0b3JlcyI6eyJ3b29kIjoyfSwidGltZUxlZnQiOjEwfX0sInRpbWVycyI6e30sImdhbWUiOnsiYnVpbGRlciI6eyJsZXZlbCI6NH0sImJ1aWxkaW5ncyI6eyJ0cmFwIjo0LCJjYXJ0IjoxfSwicG9wdWxhdGlvbiI6MCwid29ya2VycyI6e30sIm91dHNpZGUiOnsic2VlbkZvcmVzdCI6dHJ1ZX19LCJwbGF5U3RhdHMiOnt9LCJwcmV2aW91cyI6e3195

What

Roll your own iPython Notebook server with Amazon Web Services (EC2) using their Free Tier.

What are we using? What do you need?

  • An active AWS account. First time sign-ups are eligible for the free tier for a year
  • One Micro Tier EC2 Instance
  • With AWS we will use the stock Ubuntu Server AMI and customize it.
  • Anaconda for Python.
  • Coffee/Beer/Time
<!-- 随机名人名言代码开始 -->
<h3 style="margin-top:10px;">
<button id="click-me">Click Me!</button>
<left id="people-quote">
<!-- 可以把这里的 jquery 依赖放在本地 -->
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script type="text/javascript">
var butong_net = new Array(
'物理教授走过校园,遇到数学教授。物理教授在进行一项实验,他总结出一个经验方程,似乎与实验数据吻合,他请数学教授看一看这个方程。<br>一周后他们碰头,数学教授说这个方程不成立。可那时物理教授已经用他的方程预言出进一步的实验结果,而且效果颇佳,所以他请数学教授再审查一下这个方程。 <br> 又是一周过去,他们再次碰头。数学教授告诉物理教授说这个方程的确成立,但仅仅对于正实数的简单情形成立。',
@emptymalei
emptymalei / .vromerc
Last active August 29, 2015 14:09
Vrome
" Disable Vrome in those sites, Multiple URLs can be separated with ,
set disablesites=mail.google.com, reader.google.com
" Change key mapping in normal mode, please check Vrome Features for available key mapping
map j 10j
map k 10k
问今是何世,乃不知有汉,无论魏晋。
GitHub 坑
https://github.com/emptymalei
Conventionalism
Creative Commons
Open Source
@emptymalei
emptymalei / Web Scraper Extension
Last active August 7, 2017 04:47
Export Douban Status
{"selectors":[{"parentSelectors":["_root"],"type":"SelectorLink","multiple":false,"id":"link","selector":"div.info li:nth-of-type(2) a","delay":""},{"parentSelectors":["link","next"],"type":"SelectorElement","multiple":true,"id":"status","selector":"div.mod","delay":""},{"parentSelectors":["status"],"type":"SelectorText","multiple":false,"id":"content","selector":"blockquote","regex":"","delay":""},{"parentSelectors":["status"],"type":"SelectorText","multiple":false,"id":"time","selector":"span.created_at a","regex":"","delay":""},{"parentSelectors":["status"],"type":"SelectorText","multiple":false,"id":"cat","selector":"div.text","regex":"","delay":""},{"parentSelectors":["status"],"type":"SelectorText","multiple":false,"id":"share","selector":"div.block","regex":"","delay":""},{"parentSelectors":["status"],"type":"SelectorLink","multiple":false,"id":"sharedlink","selector":"div.title a","delay":""},{"parentSelectors":["link","next"],"type":"SelectorLink","multiple":false,"id":"next","selector":"span.next a"
@emptymalei
emptymalei / Q
Last active June 28, 2016 01:35
Draft
好吧,本来我是想着我自己想起什么来就记上的,gist 这玩意也没法合作,所以就用评论吧。
1. 在自己公司自由的做科研的感受是什么?(跟大学比?)
2. 完全自由的 AI 的实现最大的障碍?
\begin{align*}
\ket{\Psi_{m}(x)}= &\cos\theta_m \left( a_L \exp(-i \int_0^x \omega_m(x)/2 dx ) \ket{\nu_L(x)} + a_H \exp(i\int_0^x \omega_m(x)/2 dx) \ket{\nu_H(x)} \right) \\
&+ \sin\theta_m \left( -a_H^* \exp(-i \int_0^x \omega_m(x)/2 dx ) \ket{\nu_L(x)} + a_L^* \exp(i\int_0^x \omega_m(x)/2 dx) \ket{\nu_H(x)} \right) \\
=& \left(\cos\theta_m a_L\exp(-i \int_0^x \omega_m(x)/2 dx ) - \sin\theta_m a_H^* \exp(-i \int_0^x \omega_m(x)/2 dx ) \right)\ket{\nu_L(x)} \\
& +\left( \cos\theta_m a_H \exp(i\int_0^x \omega_m(x)/2 dx) + \sin\theta_m a_L^* \exp(i\int_0^x \omega_m(x)/2 dx) \right)\ket{\nu_H(x)} \\
=& \left(\cos\theta_m a_L\exp(-i \int_0^x \omega_m(x) /2 dx ) - \sin\theta_m a_H^* \exp(-i \int_0^x \omega_m(x)/2 dx ) \right)( \cos\theta_m \ket{\nu_e} - \sin \theta_m \ket{\nu_x} ) \\
& +\left( \cos\theta_m a_H \exp(i\int_0^x \omega_m(x)/2 dx) + \sin\theta_m a_L^* \exp(i\int_0^x \omega_m(x)/2 dx) \right) ( \sin\theta_m \ket{\nu_e} + \cos\theta_m \ket{\nu_x} ) \\
=& \left[\left(\cos\theta_m a_L\exp(
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to make opened Markdown files always be soft wrapped:
#
# path = require 'path'
#