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
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js" /> | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
alert(); | |
}); | |
</script> |
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
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js" /> | |
Event.observe(window, "load", onload, false); | |
function onload(){ | |
alert("onload"); | |
} |
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
for(Map.Entry<String, String> entry : map.entrySet()) { | |
System.out.println(entry.getKey()); | |
System.out.println(entry.getValue()); | |
} |
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
<input name="text" type="text" placeholder="ex.e2kaneko"> |
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
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js" /> | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
$(".name").change(function(){ | |
$("#formSubmitType").val("changeName"); | |
$("#profileForm").submit(); | |
}); | |
$("#button").click(function(){ | |
$("#formSubmitType").val("buttonClick"); |
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
target.hide("slow", function(){ | |
target.remove(); | |
}); |
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
<?php | |
// ----- Authorization ----- // | |
$consumerKey = TWITTER_CONSUMER_KEY; | |
$consumerSecret = TWITTER_CONSUMER_SECRET; | |
$callbackUrl = "http://example.com/action/TwitterAuthCallback"; | |
$oAuth = new HTTP_OAuth_Consumer($consumerKey, $consumerSecret); | |
$httpRequest = new HTTP_Request2(); | |
$httpRequest->setConfig("ssl_verify_peer", false); |
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
<?php | |
class HTTP_OAuth_Consumer extends HTTP_OAuth | |
{ | |
protected $userId = null; | |
protected $screenName = null; | |
// 略 | |
public function getAccessToken($url, $verifier = '', | |
array $additional = array(), $method = 'POST' |
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
$("html,body").animate( | |
{scrollTop: $("#element_id").offset().top}, | |
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
<Files ~ "\.(dat|log|csv)$"> | |
deny from all | |
</Files> |
OlderNewer