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
# nexus6.coffee | |
# | |
# Description: | |
# Nexus6 release checker for Hubot. | |
# | |
# Commands: | |
# hubot nexus6 - Nexus6の出荷状態を確認します. | |
# hubot nexus6 [white|blue] - 色を指定してNexus6の出荷状態を確認します. | |
cron = require('cron').CronJob |
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
<data android:pathPattern=".*\\.pdf" /> | |
<data android:pathPattern=".*\\..*\\.pdf" /> | |
<data android:pathPattern=".*\\..*\\..*\\.pdf" /> | |
<data android:pathPattern=".*\\..*\\..*\\..*\\.pdf" /> |
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
".*[^\x01-\x7E]+.*" |
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
// ndkbuild.gradle | |
def useJar = true // libをJar化するかどうか | |
def jniDir = 'src/main/jni' | |
android { | |
sourceSets { | |
main { | |
jni.srcDirs = [] | |
jniLibs.srcDirs = useJar ? [] : [new File(buildDir, 'libs')] |
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
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../paper-calculator/paper-calculator.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
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
.gradle | |
/local.properties | |
/.idea/workspace.xml | |
/.idea/libraries | |
.DS_Store | |
/build |
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
# responder.coffee | |
# | |
# Description: | |
# Load responce pattern from json file. | |
# | |
# Commands: | |
# hubot responder reload - JSONファイルからResponceパターンを再読み込みします. | |
# hubot responder list - Responceパターンの一覧を表示します. | |
fs = require 'fs' |
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
# linestamp.coffee | |
# | |
# Description: | |
# Search & post LINE stamps for Hubot. | |
# | |
# Commands: | |
# hubot stamp | |
client = require 'cheerio-httpcli' |
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
/// <reference path="../ts/typings/jquery/jquery.d.ts" /> | |
/// <reference path="../ts/typings/bootstrap/bootstrap.d.ts" /> | |
declare module SlackStamps { | |
interface StampProvider { | |
provideThumbnailURL(): string; | |
provideImageURLs(): string[]; | |
} | |
interface StampsMenuManager { | |
generateMenu(): void; | |
addStamp(provider: StampProvider): void; |
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
// PathSimplifier.swift | |
import UIKit | |
private let TOLERANCE: CGFloat = 1e-6 | |
private let EPSILON: CGFloat = 1e-12 | |
extension CGPoint { | |
func add(p: CGPoint) -> CGPoint { | |
return CGPointMake(x+p.x, y+p.y) |
OlderNewer