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
| FROM centos:7 | |
| MAINTAINER hokuma | |
| RUN yum install -y http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm | |
| RUN yum install -y http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm | |
| RUN yum makecache | |
| RUN yum install -y mysql-community-server | |
| RUN yum install -y mysql-community-mroonga | |
| RUN mysql_install_db --datadir=/var/lib/mysql --user=mysql |
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 |
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
| 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
| 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
| 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
| $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
| 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
| 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
| <build> | |
| ... | |
| <plugins> | |
| ... | |
| <plugin> | |
| <artifactId>maven-assembly-plugin</artifactId> | |
| <version>2.2</version> | |
| <executions> | |
| <execution> | |
| <id>make-assembly</id> |