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
# -*- encoding:utf-8 -*- | |
require 'natto' | |
require 'open-uri' | |
@natto = Natto::MeCab.new | |
def conv(jp_text) | |
words = [] | |
jp_text.split("\n").map do |text| |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace Test | |
{ | |
class Program | |
{ | |
public static LinkedList<T> mergeList<T>(LinkedList<T> lList, LinkedList<T> rList, Comparison<T> cmp) | |
{ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
あ | sasamijp | 2014-03-24 23:08:33 +0900 | 448099043776794625 | |
---|---|---|---|---|
おしり | sasamijp | 2014-03-25 08:58:06 +0900 | 448247409835913216 | |
おしりターボ | firstspring1845 | 2014-03-25 08:58:31 +0900 | 448247511027695616 | |
極左 | NTTrf | 2014-03-25 09:35:42 +0900 | 448256867165159424 | |
アナル | sasamijp | 2014-03-25 10:04:17 +0900 | 448264063898746881 | |
菊地真はホモ | 1kaguya | 2014-03-25 10:04:44 +0900 | 448264173814702080 | |
ちんちん | sasamijp | 2014-03-25 10:11:35 +0900 | 448265900936798209 | |
あ | sasamijp | 2014-03-25 10:40:12 +0900 | 448273101990555649 | |
アナル | sasamijp | 2014-03-25 16:28:21 +0900 | 448360718526447616 | |
ちんちん | sasamijp | 2014-03-25 17:07:55 +0900 | 448370672822013952 |
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
package la0c | |
import ( | |
"strings" | |
"testing" | |
) | |
func TestCalcMatchCount(t *testing.T) { | |
noMatch := "レ,ド,ッ,ビ,ビ,ッ,レ,・,レ,ビ,ビ,ー,ド,ン" | |
if CalcMatchCount(strings.Split(noMatch, ",")) != 0 { |
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
package la0c | |
import ( | |
"math/rand" | |
"strconv" | |
"strings" | |
) | |
const ( | |
ANSWER = "ビ,ビ,ッ,ド,レ,ッ,ド,・,オ,ペ,レ,ー,ショ,ン" |
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
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.util.Scanner; | |
public class Main { | |
public static void main(String[] args) throws FileNotFoundException { | |
Scanner scanner = new Scanner(new FileInputStream("src/sample.txt")).useDelimiter(Pattern.compile("^")); | |
StringBuilder builder = new StringBuilder(); | |
while (scanner.hasNext()) { | |
builder.append(scanner.next()); |
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
var fs = require('fs'); | |
var inImageData = false; | |
var o = Math.random() * 255 | 0, | |
r = Math.random() * 255 | 0; | |
var orig = fs.readFileSync('./original.jpg'), | |
glit = new Buffer(orig.length); |
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
(defn fizzbuzz [x] | |
(cond | |
(= (rem x 15) 0) "FizzBuzz" | |
(= (rem x 3) 0) "Fizz" | |
(= (rem x 5) 0) "Buzz" | |
:else (str x) | |
) | |
) | |
(doseq [p (map fizzbuzz (range 1 100))] (println p)) |
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
# -*- coding: utf-8 -*- | |
Plugin.create :ebi_beam do | |
command(:ebi_beam, | |
name: 'エビビーム', | |
condition: lambda{ |opt| true}, | |
visible: false, | |
role: :window) do |opt| | |
Service.primary.post(:message => 'エビビームビビビビビビビwwwwwwwwww') | |
end | |
end |
NewerOlder