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/perl | |
$dirName = shift(@ARGV); | |
$okLimit = shift(@ARGV); | |
$warnLimit = shift(@ARGV); | |
if (!defined($dirName)) { | |
print ("ERROR: usage [dirname] [ok limit] [warn limit]\n"); | |
exit 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
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.UI; | |
public class ImageAnimation : MonoBehaviour { | |
public Sprite[] sprites; | |
public int spritePerFrame = 6; | |
public bool loop = true; | |
public bool destroyOnEnd = 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
package almirage | |
import org.scalatest.selenium._ | |
import org.scalatest._ | |
import selenium._ | |
import org.openqa.selenium._ | |
import htmlunit._ | |
class IntegrationSpec extends FlatSpec with ShouldMatchers with WebBrowser { |
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
NSArray *permissions = | |
[NSArray arrayWithObjects:@"publish_actions", nil]; | |
// SDKからWarning出るけどこれをやる必要がある | |
[FBSession openActiveSessionWithPublishPermissions:permissions | |
defaultAudience:FBSessionDefaultAudienceEveryone | |
allowLoginUI:YES | |
completionHandler:^(FBSession *session, FBSessionState status, NSError *error) { | |
if (error) { | |
// something... | |
} else if (FB_ISSESSIONOPENWITHSTATE(status)) { |
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
diff -u wp-includes/comment-template.php.org wp-includes/comment-template.php | |
@@ -1168,6 +1168,7 @@ | |
$replytoid = isset($_GET['replytocom']) ? (int) $_GET['replytocom'] : 0; | |
$result = "<input type='hidden' name='comment_post_ID' value='$id' id='comment_post_ID' />\n"; | |
$result .= "<input type='hidden' name='comment_parent' id='comment_parent' value='$replytoid' />\n"; | |
+ $result .= "<script type='text/javascript'>document.write('<');document.write('input type=\"hidden\" name=\"comment_token\" value=\"ok\" />');</script>\n"; | |
return apply_filters('comment_id_fields', $result, $id, $replytoid); | |
} | |
diff -u wp-comments-post.php.org wp-comments-post.php |