Skip to content

Instantly share code, notes, and snippets.

View ryuichimatsumoto-single's full-sized avatar

Ryuichi Matsumoto ryuichimatsumoto-single

View GitHub Profile
@hilapon
hilapon / CheckedComboBox.vb
Last active October 4, 2018 05:51
CheckedComboBox のサンプル
Option Explicit On
Option Strict On
#Region "名前空間"
Imports System.Collections
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Text
Imports System.Windows.Forms
import cv2
import numpy as np
def unique(a):
""" remove duplicate columns and rows
from http://stackoverflow.com/questions/8560440 """
order = np.lexsort(a.T)
a = a[order]
diff = np.diff(a, axis=0)
ui = np.ones(len(a), 'bool')
@holydevil
holydevil / yql-finance-quotes.php
Created August 20, 2011 14:55
YQL for Finance quotes
<h2>Using YQL to Finance quotes</h2>
<?php
$BASE_URL = "https://query.yahooapis.com/v1/public/yql";
// Form YQL query and build URI to YQL Web service
$yql_query = "select * from yahoo.finance.quotes where symbol in ('YHOO', 'APPL')";
$yql_query_url = $BASE_URL . "?q=" . urlencode($yql_query) . "&env=store://datatables.org/alltableswithkeys&format=json";