Skip to content

Instantly share code, notes, and snippets.

arton arton

Block or report user

Report or block arton

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
@karino2
karino2 / HelloCustomView.java
Created Feb 25, 2017
Androidを支える技術Iのサンプルに作ったカスタムビュー
View HelloCustomView.java
public class HelloCustomView extends View {
String first;
String second;
public HelloCustomView(Context context, AttributeSet attrs) {
super(context, attrs);
TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.HelloCustomView, 0, 0);
View gist:817825
#coding: utf-8
# 238.36137 secs => 28.875 secs
require 'win32ole'
xl = WIN32OLE.new('Excel.Application')
xl.visible = true
book = xl.workbooks.add
start = Time.now
sheet = book.worksheets(1)
1.upto(10000) do |row|
cells = sheet.Range(sheet.Cells(row, 1), sheet.Cells(row, 26))
You can’t perform that action at this time.