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
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 4.
"Name","URL","Blurb","Limitations","Data subject","Formats","Ready to use data formats?","Bulk download?","National","Terms","Terms URL","Notes"
"Dados.gov.pt","http://dados.gov.pt","The official portal for public datasets. Many kinds of national- and local-level data can be found.","Many datasets are high-quality, whereas a few have limited time scopes. ","Many types","CSV, JSON","Yes","Yes","National and local","Open (Creative Commons-Attribution 3.0)","http://www.dados.gov.pt/PT/Info/AvisosLegais.aspx",
"Lisboa Aberta","http://dadosabertos.cm-lisboa.pt/","Official open data portal for Lisbon. Contains more than 200 GeoJSON datasets about various fields of activity, business and leisure.",,"Geo","GeoJSON","Yes","Yes","Local","Open (Creative Commons-Attribution 3.0)","http://dados.cm-lisboa.pt/carta.html",
"One Stop Transport","http://ost.pt","Data provider with real-time transport data in some cities. Makes available a well-documented API for their datasets.","Lisbon is not included in this portal. Needs re
@arikfr
arikfr / README.md
Last active April 16, 2024 07:53
Redash Query Export Tool

Setup

$ pip install click requests

Usage

$ python query_export.py --redash-url "https://app.redash.io/" --api-key ""
编号 代码 命令分解 命令
//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
ericjang / TensorFlow_Windows.md
Last active March 27, 2021 22:19
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.

Installation

First, install https://www.docker.com/docker-toolbox

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

@emptymalei
emptymalei / marspolar.md
Created November 28, 2015 23:53
marspolar.md

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

MarsPolar 干什么?

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

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

@rendicott
rendicott / gatsfa.py
Created September 29, 2015 18:29
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
mbbx6spp / ALTERNATIVES.adoc
Last active April 25, 2024 15:14
Super quick list of alternatives to Jira and/or Confluence, Stash, Crucible, etc.
@indiesquidge
indiesquidge / homebrew.md
Last active December 14, 2023 14:45
How to and Best of Homebrew

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 https://raw.githubusercontent.com/Homebrew/install/master/install)"

to install it.

@domenic
domenic / 0-github-actions.md
Last active April 8, 2024 23:35
Auto-deploying built products to gh-pages with Travis

Auto-deploying built products to gh-pages with GitHub Actions

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.

A file below this one contains the steps for doing this with Travis CI. However, these days I recommend GitHub Actions, for the following reasons:

  • It is much easier and requires less steps, because you are already authenticated with GitHub, so you don't need to share secret keys across services like you do when coordinate Travis CI and GitHub.
  • It is free, with no quotas.
  • Anecdotally, builds are much faster with GitHub Actions than with Travis CI, especially in terms of time spent waiting for a builder.
@slarson
slarson / Hodgkin Huxley.py
Created December 6, 2014 19:53
Hodgkin Huxley Python Implementation
import scipy as sp
import pylab as plt
from scipy.integrate import odeint
from scipy import stats
import scipy.linalg as lin
## Full Hodgkin-Huxley Model (copied from Computational Lab 2)
# Constants
C_m = 1.0 # membrane capacitance, in uF/cm^2