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 / 0_reuse_code.js
Created Feb 8, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
emptymalei / 引力波和背景辐射.md
Created Mar 17, 2014
View 引力波和背景辐射.md

首先,我们这里探测引力波的方法是用的微波背景辐射,新闻中说了,大家是在找 B mode,那么自然的就有那么几个问题:

  1. 什么是微波背景辐射?
  2. 什么是 B mode?
  3. 什么是引力波?
  4. 为什么可以通过 B mode 来探测引力波?


View Writing Tools Writeup.markdown
View gist:f79b560a53d6e6ad4853
➜ ~ brew install R
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Downloading
Already downloaded: /Library/Caches/Homebrew/r-3.1.0.tar.gz
Error: undefined method `[]' for Formula:Class
Please report this bug:
/usr/local/Library/Formula/r.rb:36:in `install'
/usr/local/Library/Homebrew/build.rb:165:in `install'






View gist:1a1354fdb72bc4001c90


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
View refresh.html
<!-- 随机名人名言代码开始 -->
<h3 style="margin-top:10px;">
<button id="click-me">Click Me!</button>
<left id="people-quote">
<!-- 可以把这里的 jquery 依赖放在本地 -->
<script src=""></script>
<script type="text/javascript">
var butong_net = new Array(
'物理教授走过校园,遇到数学教授。物理教授在进行一项实验,他总结出一个经验方程,似乎与实验数据吻合,他请数学教授看一看这个方程。<br>一周后他们碰头,数学教授说这个方程不成立。可那时物理教授已经用他的方程预言出进一步的实验结果,而且效果颇佳,所以他请数学教授再审查一下这个方程。 <br> 又是一周过去,他们再次碰头。数学教授告诉物理教授说这个方程的确成立,但仅仅对于正实数的简单情形成立。',
You can’t perform that action at this time.