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
# -*- mode:ruby; coding:utf-8 -*- | |
module Atig | |
module IFilter | |
module Media | |
def self.call(status) | |
media_urls = [] | |
if status.extended_entities && status.extended_entities.media | |
status.extended_entities.media.each do |media| | |
media_urls << media.media_url |
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
#!/bin/sh | |
mplayer -fs $(cinemastar-client latest | peco) |
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
bot: 楽天市場 - 【楽天市場】注文内容ご確認(自動配信メール) http://gmail.com/xxxx | |
bot: Qiita[キータ] - 「オブジェクト指向プログラミング」と「関数型プログラミング」のたった一つのシンプルな違い http://gmail.com/xxxx |
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
naoto: ラーメン探して来て | |
bot: ラーメン - Wikipedia - http://ja.wikipedia.org/wiki/%E3%83%A9%E3%83%BC%E3%83%A1%E3%83%B3 | |
bot: ラーメンデータベース - レビューとクチコミで探す。全国ラーメンデータベース - http://ramendb.supleks.jp/ | |
bot: 新横浜ラーメン博物館 - http://www.raumen.co.jp/ |
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
Class Monster { | |
private static final String EMERGENCY_LIFE_LIMIT = 20; | |
private String name = ""; | |
private Integer life = 0; | |
public Monster(String name){ | |
this.name = name; | |
this.life = 100; |
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
dub_miPhone has joined ([email protected]) | |
00:19 dub_miPhone おういえー^o^ | |
00:19 naoto いえーい | |
00:19 naoto だぶさん酔てるの | |
00:20 dub_miPhone かなり | |
00:20 naoto 薬のんじゃだめだよー | |
00:20 dub_miPhone たなれのおやねわちやんが | |
00:20 naoto 解読班 | |
00:20 dub_miPhone どうねんでいでもりあかりまくみ | |
00:21 naoto どうねんれいでもりあがりまくり |
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
// Java1.4 で書くと... | |
public class User { | |
private String name; | |
public void setName(String name){ | |
this.name = name; | |
} |
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
class Sample{ | |
public sort(Integer[] numbers){ | |
Arrays.sort(numbers, (x, y) -> y - x); | |
} | |
} |
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
#!/usr/bin/env ruby | |
keyword = %i(hoge fuga foo bar) | |
p keyword | |
#=> [:hoge, :fuga, :foo, :bar] |
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
#!/usr/bin/env ruby | |
class Hoge | |
def fuga | |
puts "HOGE#FUGA" | |
end | |
end | |
module Fuga | |
def fuga |
NewerOlder