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
// ==UserScript== | |
// @name Hide AZusaar! Logo | |
// @namespace http://azusaar.appspot.com/ | |
// @include http://azusaar.appspot.com/* | |
// ==/UserScript== | |
(function(d, func) { | |
var check = function() { | |
if (typeof unsafeWindow.jQuery == 'undefined') return false; | |
func(unsafeWindow.jQuery); return true; | |
} |
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
// ==UserScript== | |
// @name chouseisan | |
// @namespace net.sue445 | |
// @description 調整さんに人数集計を追加します | |
// @include http://chouseisan.com/schedule/List* | |
// ==/UserScript== | |
(function(d, func) { | |
var check = function() { | |
if (typeof unsafeWindow.jQuery == 'undefined') return false; | |
func(unsafeWindow.jQuery); return true; |
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 org.mikeneck.gae.slim3.sample.util; | |
import org.junit.rules.ExternalResource; | |
import org.slim3.tester.AppEngineTester; | |
/** | |
* @author : mike | |
* @since : 12/04/08 | |
*/ | |
public class AppEngineExternalResource extends ExternalResource { |
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 net.sue445.service; | |
import static org.hamcrest.Matchers.*; | |
import static org.junit.Assert.*; | |
import java.util.Map; | |
import net.sue445.model.Slim3Model; | |
import org.junit.Before; |
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.util.HashMap; | |
import java.util.Map; | |
public class MapSample { | |
public static void main(String[] args) { | |
Map<String, Integer> map = new HashMap<String, Integer>(); | |
map.put("a", 1); | |
map.put("b", 2); | |
map.put("c", 3); |
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 net.sue445.jubeatplusplus.enums; | |
import java.util.HashMap; | |
import java.util.Map; | |
import net.sue445.jubeatplusplus.exception.TuneIdNotFoundException; | |
import org.apache.commons.lang.StringUtils; | |
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
require "prime" | |
1.upto 100 do |num| | |
p num.prime? ? "JOJO!" : num | |
end |
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 | |
# -*- encoding: utf-8 -*- | |
=begin | |
空行で区切られた要素に対してgrepする | |
=end | |
if ARGV.length < 2 | |
puts "<usage> ruby multiline_grep.rb [search_file] [search_text1] [search_text2] ..." | |
exit |
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 net.sue445.azusaar.util; | |
import static org.hamcrest.CoreMatchers.*; | |
import static org.junit.Assert.*; | |
import javax.servlet.http.Cookie; | |
import net.sue445.azusaar.util.SessionUtil.SessionKey; | |
import org.junit.Before; |
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
public class DoorkeeperDto{ | |
public DoorkeeperEventDto event = new DoorkeeperEventDto(); | |
} |
OlderNewer