Skip to content

Instantly share code, notes, and snippets.

@ccwang002
ccwang002 / apac.svg
Last active January 3, 2016 21:28
PyCon APAC IPython notebook from future import everything
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ccwang002
ccwang002 / log
Last active August 29, 2015 13:56
R 3.0.2 Performance Test on OSX 10.9.2 of Generic RBLAS and OpenBLAS (dev)
## R-benchmark-25 from http://r.research.att.com/benchmarks/R-benchmark-25.R
# brew install r [--with-openblas]
$ Rscript R-benchmark-25.R 2014-03-01 (六) 00:41 CST
Loading required package: Matrix
Loading required package: methods
Loading required package: lattice
Loading required package: SuppDists
警告訊息:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ccwang002
ccwang002 / 0_Instructions.md
Last active November 10, 2016 03:48
Anaconda on Windows 64bit

安裝 Anaconda Win 64bit

我這邊用 Miniconda,選擇 Python 2.7 Windows 64-bit。

安裝 Anaconda 一樣沒有問題,兩個裡面是一樣的, 只是 Anaconda 預設下載了很多常用套件。

開一個 Command Prompt (Win+R -> cmd + [Enter]) 輸入 conda

@ccwang002
ccwang002 / 01_Instructions.md
Last active August 29, 2015 14:14
Using Python Tools for Visual Studio (PTVS)

環境設定

PTVS 的版本可以透過 VS 中 HELP -> About Microsoft Visual Studio 查看。Python 的版本選擇非常多,請參見 PTVS 說明。在這邊是選用 Miniconda3 (Python 3.4) 示範。

@ccwang002
ccwang002 / Transform.ipynb
Created February 11, 2015 16:03
Transform Bird Record
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ccwang002
ccwang002 / baidu_map.py
Created March 8, 2015 12:52
Baidu map API usage
# coding: utf-8
import requests
class BaiduMap:
def __init__(self, key=''):
"""Helper class for Baidu map API
Parameters
----------
@ccwang002
ccwang002 / 0_Background.md
Last active July 31, 2023 02:58
Lab Coding Instructions for Beginners

[TOC]

Lab Guide for Coding Beginners

亮亮(@ccwang002)| Mar, 2015 | CC 3.0 BY license

如果內容有誤,你可以用任何管道發訊息轟炸我,或用底下的 gist comment 留言。

學習方式

每個檔案都會是一個主題,主題底下會列出一些資源。資源的最後會有一個學習目標,方便讓你評估自己學到什麼程度。學習目標會給一個明確的任務,我盡量讓它能跟(宅宅的)日常生活結合。通常只要完成前一、二個目標就行了,這也不是功課所以不一定要給我看。如果你不介意給我看,我會分享我主觀的建議,但大部份的任務是沒有絕對的正確答案。只要能解決問題都是好方法。