This file contains hidden or 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.yujikosuga.http; | |
import java.io.IOException; | |
import java.io.UnsupportedEncodingException; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
import java.net.URLEncoder; | |
/** | |
* This HttpUtils class has static utility methods for HTTP manipulation. |
This file contains hidden or 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 keyword = 'KEYWORD'; | |
FB.api('/search?q=' + keyword + '&type=post', { | |
limit : 10 | |
}, function(response) { | |
var content = ''; | |
var data = response.data; | |
for ( var i in data) { | |
var icon = ''; | |
var nameSpan = ''; |
This file contains hidden or 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
$.fn.addUiState = function() { | |
$(this).hover(function() { | |
$(this).addClass("ui-state-hover"); | |
}, function() { | |
$(this).removeClass("ui-state-hover"); | |
}).mousedown(function() { | |
$(this).addClass("ui-state-active"); | |
}).mouseup(function() { | |
$(this).removeClass("ui-state-active"); | |
}); |
This file contains hidden or 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 UNICODE_RANGE_MAP = { | |
BAIDC_LATIN : [ 0x00, 0x7F ], | |
LATIN_1_SUPPLEMENT : [ 0x80, 0xFF ], | |
LATIN_EXTENDED_A : [ 0x100, 0x17F ], | |
LATIN_EXTENDED_B : [ 0x180, 0x24F ], | |
IPA_EXTENIONS : [ 0x250, 0x2AF ], | |
SPACING_MODIFIER_LETTERS : [ 0x2B0, 0x2FF ], | |
COMBINDING_DIACRITICAL_MARKS : [ 0x300, 0x36F ], | |
GREEK_AND_COPTIC : [ 0x370, 0x3FF ], | |
CYRILLIC : [ 0x400, 0x4FF ], |
NewerOlder