Skip to content

Instantly share code, notes, and snippets.

View come25136's full-sized avatar
🍚

yu come25136

🍚
View GitHub Profile
@come25136
come25136 / ProcessWatch.java
Last active August 1, 2016 01:51
Java Process exit Detection code.
/**
* @author come25136
*/
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
class watch {
@come25136
come25136 / ctyping.js
Last active February 15, 2017 03:51
タイピング風に文字を表示させるjQueryプラグイン
(function ($) {
$.fn.ctyping = function (value, min, max) {
return this.each(function () {
var $this = $(this);
var values = value.split("");
var count = 0;
function add() {
$this.append(values[count]);
count++;
.BlockGrid-item{position:relative;float:left;margin:0;padding:0;overflow:hidden;min-height:50px;border-radius:10px;-moz-box-sizing:border-box;box-sizing:border-box;border:5px solid transparent}.BlockGrid-item img{display:block;width:100%;height:100%}.BlockGrid-item--size1{width:50%}.BlockGrid-item--size4{width:100%}.BlockGrid-itemTitle{-moz-box-sizing:border-box;box-sizing:border-box;font-size:14px;text-transform:uppercase;font-weight:bold;position:absolute;bottom:0;padding:10px 8px;background:#000;background:rgba(0,0,0,0.8);width:100%;color:#fff}.ImportFriendsCallout p{color:#657786;font-weight:bold;font-size:27px;line-height:32px;margin:15px 0 30px 0}.ImportFriendsCallout-title{text-transform:uppercase;font-weight:bold;font-size:18px;line-height:24px}.ImportFriendsCallout-photo{width:420px;margin-top:16px}.ImportFriendsCallout-smallImageContainer{width:132px;height:132px;float:left}.ImportFriendsCallout-smallFriendImage{display:block;width:100%;border-radius:4px}.ImportFriendsCallout-smallFriendImage+.Impor
.tooltip{position:absolute;z-index:5001;display:block;visibility:visible;padding:10px;font-size:12px;opacity:0;-ms-filter:"alpha(opacity=0)";transform:translateZ(0px)}.tooltip.in{transition:opacity .1s ease;opacity:.95;-ms-filter:"alpha(opacity=95)"}.tooltip.top{margin-top:-2px}.tooltip.right{margin-left:2px}.tooltip.bottom-right{margin-left:-7px}.tooltip.bottom{margin-top:2px}.tooltip.left{margin-left:-2px}.tooltip.top .tooltip-arrow{bottom:5px;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #14171a}.tooltip.left .tooltip-arrow{top:50%;right:5px;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #14171a}.tooltip.bottom .tooltip-arrow{top:5px;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #14171a}.tooltip.bottom-right .tooltip-arrow{top:5px;left:20px;margin-left:-5px;border-left:5px solid transparent;border-right:5px
/*! normalize.css v3.0.0 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0
/*! normalize.css v3.0.0 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0
@come25136
come25136 / 250号線.json
Last active June 6, 2018 05:42
路線図データ (KML) http://www3.unobus.co.jp/opendata/ CC BY 4.0 をGeoJSONに変換
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
const twit = require("twit"),
twitter = new twit({
consumer_key: "",
consumer_secret: "",
access_token: "",
access_token_secret: ""
}),
stream = twitter.stream("user");
function block(user) {
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files (x86)\\Nodist\\v-x64\\8.11.1\\node.exe',
1 verbose cli 'C:\\Program Files (x86)\\Nodist\\npmv\\4.0.5\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'cordova-plugin-whitelist@"^1.3.3"',
1 verbose cli '--production',
1 verbose cli '--no-save' ]
2 info using npm@4.0.5
3 info using node@v8.11.1
4 silly loadCurrentTree Starting
N:\project\apps\busmap>npm i
npm WARN prefer global node-gyp@3.6.2 should be installed with -g
> node-sass@4.7.2 install N:\project\apps\busmap\node_modules\node-sass
> node scripts/install.js
Cached binary found at C:\Users\toki\AppData\Roaming\npm-cache\node-sass\4.7.2\win32-x64-57_binding.node
> uglifyjs-webpack-plugin@0.4.6 postinstall N:\project\apps\busmap\node_modules\uglifyjs-webpack-plugin
> node lib/post_install.js