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
class ExamplePage extends Page { | |
static content = { | |
userId { $("form").find("input", name: "userId") } | |
userIdErr { $("span#userIdErr").text() } | |
} | |
} |
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
<build> | |
... | |
<plugins> | |
... | |
<plugin> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<version>2.2</version> | |
<executions> | |
<execution> | |
<id>make-assembly</id> |
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
add_action( "pre_get_posts", "set_ajax_media_query" ); | |
function set_ajax_media_query( $wp_query ) { | |
global $current_user; | |
if( $wp_query ->query_vars['post_type'] != "attachment" ) { | |
return; | |
} | |
get_currentuserinfo(); |
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
add_rewrite_rule('カスタム投稿名/([^/]+)(/([^/]+))?/?$','index.php?カスタム投稿名=$matches[1]&xxxpage=$matches[3]','top'); |
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
$views = apply_filters( 'views_' . $this->screen->id, $views ); |
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
ngrep -d lo -W byline port 80 |
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 server = sinon.fakeServer.create(); | |
server.autoRespond = true; | |
server.respondWith( function( xhr, id ) { | |
xhr.respond( 200, null, "..." ); | |
} ); | |
spyOn( someObject, "somemethod" ); | |
hogeClient.request( ... ); | |
expect( someObject.somemethod ).toHaveBeenCalled(); |
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
add_action( "wp_ajax_アクション名", "my_action_callback" ); | |
function my_action_callback () { | |
/** アクションの中身 */ | |
} |
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
"N03_003" LIKE "%区%" |
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
%div.container-fluid | |
%div.row | |
%div.form-group | |
%div.col-sm-10 | |
%select.form-control.stations{"v-model" => "selected", "v-on" => "change: onChange(this)"} | |
%option{"v-repeat" => "stations", "value" => "{{name}}"} {{title}} | |
%div.row.facilities | |
%div.inside-gate | |
%h3 改札内:{{insideCount}} | |
%div.list-group |
OlderNewer