This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import pandas as pd | |
from pandas import Series, DataFrame | |
import requests | |
def get_fs_html(stock_no): | |
url = 'http://goodinfo.tw/StockInfo/StockFinDetail.asp?RPT_CAT=BS_M_QUAR&STOCK_ID=' + stock_no | |
html = requests.get(url, headers={'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36'}) | |
return html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MNIST_dataset_path = '/tmp/data/MNIST' | |
log_path = 'log' | |
# Copyright 2015 Google Inc. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the 'License'); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Servo.h> | |
// I2C device class (I2Cdev) demonstration Arduino sketch for MPU6050 class | |
// 10/7/2011 by Jeff Rowberg <jeff@rowberg.net> | |
// Updates should (hopefully) always be available at https://github.com/jrowberg/i2cdevlib | |
// | |
// Changelog: | |
// 2013-05-08 - added multiple output formats | |
// - added seamless Fastwire support | |
// 2011-10-07 - initial release |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://www.mobile01.com/topicdetail.php?f=37&t=3973404 | |
#define columnCount 3 | |
#define intervalScanning 20 | |
#define holdForTrigger 50 | |
#define thresholdDoorbell 500 | |
byte pinDoorBells[columnCount] = {23, 24, 25}; | |
byte pinTriggers[columnCount] = {2, 3, 4}; | |
int doorBellValues[columnCount]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Hadoop dockerfile for armv7 | |
# Ref 1: https://github.com/dockerfile/java/tree/master/oracle-java8 | |
# Ref 2: https://docs.docker.com/examples/running_ssh_service/ | |
# Ref 3: https://github.com/sequenceiq/hadoop-docker | |
# | |
# by: Wei Lin | |
# date: 2015/9/4 | |
# to build image: docker build -t hadoop_pseudo-distributed . | |
# to test: docker run -d -P --name=hadoop_pseudo hadoop_pseudo-distributed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Oracle java8_sshd_root-login dockerfile for armv7 | |
# Ref 1: https://github.com/dockerfile/java/tree/master/oracle-java8 | |
# Ref 2: https://docs.docker.com/examples/running_ssh_service/ | |
# | |
# by: Wei Lin | |
# date: 2015/9/4 | |
# Pull base image. | |
FROM armv7/armhf-ubuntu:14.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# orgin: https://hub.docker.com/_/httpd/ | |
# modified by: Wei Lin | |
# date: 2015/9/4 | |
# Pull base image. | |
FROM armv7/armhf-ubuntu:14.04 | |
MAINTAINER Wei Lin | |
ENV TERM linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# orgin: https://hub.docker.com/_/tomcat/ | |
# modified by: Wei Lin | |
# date: 2015/9/4 | |
FROM oracle-java8 | |
MAINTAINER Wei Lin | |
ENV TERM linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Node.js Dockerfile | |
# https://github.com/dockerfile/nodejs | |
# | |
# origin: https://github.com/dockerfile/nodejs | |
# modified by: Wei Lin | |
# date: 2015/9/3 | |
# Pull base image. | |
FROM python |
NewerOlder