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
tduarte /
Last active Dec 7, 2019
If you need to force push an subtree
git checkout master # you can avoid this line if you are in master...
git subtree split --prefix dist -b gh-pages # create a local gh-pages branch containing the splitted output folder
git push -f origin gh-pages:gh-pages # force the push of the gh-pages branch to the remote gh-pages branch at origin
git branch -D gh-pages # delete the local gh-pages because you will need it: ref
bradmontgomery /
Created Aug 23, 2016
Example of single dispatch in python. This is seriously cool stuff.
Playing with python's single dispatch.
See also PEP 443:
from datetime import datetime
from functools import singledispatch
anonymous / GAME_MASTER_v0_1.protobuf
Created Jul 16, 2016
Pokemon Go decoded GAME_MASTER protobuf file v0.1
View GAME_MASTER_v0_1.protobuf
Result: 1
Items {
Badge {
BadgeRanks: 4
Targets: "\nd\350\007"
Items {
View wechat cmd
编号 代码 命令分解 命令
//switchtabpos switch tab pos 更改底部功能按钮位置的命令
//multiwebview multi web view 微信多窗口显示命令
//opentrace open trace 打开跟踪
//getfpkey get fp key 得到手机基本信息
//pickpoi pick poi 定位当前位置
//fullexit full exit 完全退出微信
//testwaitsms test wait sms 测试验证手机号码
//sightinfo sight info 打开查看小视频参数
//testsetpageowner test set page owner 检测你是否拥有页面的所有权
ericjang /
Last active Nov 10, 2019
Setting up TensorFlow on Windows using Docker.

TensorFlow development environment on Windows using Docker

Here are instructions to set up TensorFlow dev environment on Docker if you are running Windows, and configure it so that you can access Jupyter Notebook from within the VM + edit files in your text editor of choice on your Windows machine.


First, install

Since this is Windows, creating the Docker group "docker" is not necessary.


最近勾搭上了 MarsPolar 的创始人什么的,打听了一下情况。我总结在这里。

MarsPolar 干什么?

MarsPolar 跟 MarsOne 不同,这是一个更加开放,更加国际化的组织。他们第一阶段的目标是联合世界各地对火星探索感兴趣的人,然后把这些人组织起来,去实现火星上的一个居住点。

下面是几个关于 MarsPolar 的几个人物介绍:

rendicott /
Created Sep 29, 2015
Quick example of how to pull a report from Salesforce in CSV format via the API using Python-Requests. Then take the CSV data and parse it into an object model for sifting sorting and timedelta.
GATSFA - Gateway to Salesforce API
The CSV report this is pulling down is querying the Salesforce event log.
Each line in the CSV is a Salesforce event log entry that has the prefix
of the name of our API application. So the report is a log of the
activity between the gateway API and the Salesforce API
mbbx6spp / ALTERNATIVES.adoc
Last active Nov 26, 2019
Super quick list of alternatives to Jira and/or Confluence, Stash, Crucible, etc.
indiesquidge /
Last active Dec 4, 2019
How to and Best of Homebrew


How To

Homebrew is a package management system for OS X. You can read more about it here, or simply run

ruby -e "$(curl -fsSL"

to install it.

domenic /
Last active Dec 1, 2019
Auto-deploying built products to gh-pages with Travis

Auto-deploying built products to gh-pages with Travis

This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.

Create a compile script

You want a script that does a local compile to e.g. an out/ directory. Let's call this for our purposes, but for your project it might be npm build or gulp make-docs or anything similar.

The out/ directory should contain everything you want deployed to gh-pages. That almost always includes an index.html.

You can’t perform that action at this time.