Skip to content

Instantly share code, notes, and snippets.

View ochilab's full-sized avatar

おちラボ ochilab

View GitHub Profile
@baobao
baobao / CreateQRCodeWindow.cs
Last active September 16, 2021 01:00
QR Code Creator EditorWindow
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.IO;
/// <summary>
/// QRコード作成EditorWindow
/// </summary>
public class CreateQRCodeWindow : EditorWindow
@omoshetech-t
omoshetech-t / gist-gadget.xml
Last active September 5, 2016 15:04
Google gadget for embedding Gist.
<?xml version="1.0"?>
<Module>
<ModulePrefs title="Gist">
<Require feature="dynamic-height"/>
</ModulePrefs>
<UserPref name="id" display_name="Gist ID" required="true" default_value="10683373"/>
<UserPref name="font_size" display_name="Font size (px)" required="true" default_value="12"/>
<UserPref name="line_height" display_name="Line height (px)" required="true" default_value="16"/>
<Content type="html">
<![CDATA[
@prog-mitsu
prog-mitsu / importCsv.gs
Last active July 7, 2016 04:16
google apps scriptでspreadsheetにローカルCSVファイルをインポート(SJIS対応&高速版) ref: http://qiita.com/ms32/items/7e180c1c1d00fa8df647
var importCsv = {
/**
* ファイルから読み込んだバイナリをテキストデータにして返す
* @param {Object} fileBlob fileBlobオブジェクト
* @returns {String} stringCode 文字コード sjisなら "Shift_JIS"
*/
fileToTextData: function(fileBlob, stringCode){
"use strict";
var readData = null;
@tksmaru
tksmaru / CollectionUtils.java
Created April 3, 2013 13:59
Listを指定サイズ毎に分割するutility
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class CollectionUtils {
/**
* Listを指定したサイズ毎に分割します。
*
* @param origin 分割元のList
@jnrbsn
jnrbsn / better-gist-styles.css
Created September 14, 2010 01:24
Better styles for embedding GitHub Gists
/* Better styles for embedding GitHub Gists */
.gist{font-size:13px;line-height:18px;margin-bottom:20px;width:100%}
.gist pre{font-family:Menlo,Monaco,'Bitstream Vera Sans Mono','Courier New',monospace !important}
.gist-meta{font-family:Helvetica,Arial,sans-serif;font-size:13px !important}
.gist-meta a{color:#26a !important;text-decoration:none}
.gist-meta a:hover{color:#0e4071 !important}