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 fupfin; | |
public abstract class Tuples { | |
private Tuples() {} | |
public static <T1, T2> Tuple2<T1, T2> tuple2(T1 v1, T2 v2) { | |
return new Tuple2<T1, T2>(v1, v2); | |
} |
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
// http://jquery-howto.blogspot.kr/2009/10/javascript-jquery-password-generator.html | |
$.extend({ | |
password: function (length, special) { | |
var iteration = 0; | |
var password = ""; | |
var randomNumber; | |
if(special == undefined){ | |
var special = false; | |
} | |
while(iteration < 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
안녕하세요 | |
아마 여러가지 이유로 IRC 쓰시는 분들이 많으신거 같은데 이상하게 | |
스크립트 관련 글들이 없어서 제가 아는거 정리해서 올려봅니다. | |
다챗하고 최대한 비슷하게 만들어 봤구요, 주사위는 배경을 넣어서 눈에 | |
잘 들어오게 해봤습니다. |
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 | |
// http://benalman.com/projects/jquery-postmessage-plugin/ | |
// http://softwareas.com/cross-domain-communication-with-iframes | |
// Related My post | |
// http://wp.me/p12fxZ-dS | |
// Wrapper page | |
var iframeSrc = "http://embedded-website.com/foobar/page.html#" + encodeURIComponent(document.location.href), | |
$iframe = $("<iframe>").attr("src", iframeSrc).appendTo("#container"); |
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 com.styleshare.android.feature.feed.hot | |
import com.google.gson.GsonBuilder | |
import com.styleshare.android.network.BaseContentDeserializer | |
import com.styleshare.android.network.deserializer.ComponentDeserializer | |
import com.styleshare.android.network.model.component.Component | |
import com.styleshare.android.network.model.feed.hot.featured.FeaturedContentList | |
import com.styleshare.android.network.model.feed.hot.featured.FeaturedLiveContent | |
import com.styleshare.android.rest.model.feed.content.BaseContent | |
import org.junit.Assert.assertNotNull |