Skip to content

Instantly share code, notes, and snippets.

module myAND(
input a,b,
output c
);
assign c = a & b;
endmodule
@GtTmy
GtTmy / gist:01ec800ee1a3bc2cac9b
Created June 21, 2015 12:06
wordpress my_child_pages
function my_child_pages_t(){
$all_content = "";
$child_posts = get_posts( 'numberposts=-1&order=ASC&orderby=post_title&post_type=page&post_parent=' . get_the_ID() );
if ( $child_posts ) {
foreach ( $child_posts as $child ) {
$c_title = apply_filters( 'the_title', $child->post_title );
$c_content = get_extended( $child->post_content );
$c_content = apply_filters( 'the_content', $c_content['main'] );
$all_content = $all_content . "<div class=\"entry-content\">" . "<h1>" . $c_title . "</h1>" . $c_content . "</div>";
}
@GtTmy
GtTmy / myStylishSettings.txt
Last active November 11, 2015 02:02
Stylish設定ファイル
@font-face{
font-family: "MS Pゴシック";
src: local("メイリオ");
}
@font-face{
font-family: "MS PGothic";
src: local("メイリオ");
}
@font-face{
font-family: "MS UI Gothic";
@GtTmy
GtTmy / myChoco.config
Last active August 29, 2015 14:16
chocolatey設定ファイル
<?xml version="1.0"?>
<packages>
<package id="GoogleChrome" />
<package id="thunderbird" />
<package id="dropbox" />
<package id="python3" />
<package id="sublimetext3" />
<package id="githubforwindows" />
<package id="virtualbox" />
<package id="conemu" />