Instantly share code, notes, and snippets.

View new_file0
<$mt:StatsSnippet replace=' type="text/javascript"','' $>
View gist:6a1b8518bf1a36adf142
<mt:SetVarBlock name="website_absolute_URL">http://<$mt:BlogHost$>/</mt:SetVarBlock>
<mt:Entries>
<h1><a href="<$mt:EntryPermalink replace="$website_absolute_URL","/"$><$mt:EntryTitle$></a></h1>
<$mt:EntryBody replace="$website_absolute_URL","/"$>
<$mt:EntryMore replace="$website_absolute_URL","/"$>
</mt:Entries>
View gist:c36daeb4625b71f4cddf
#!/usr/bin/perl -w
my $result = `unzip MT-6.0.2.zip`;
print "Content-type: text/html\n\n$result";
View gist:8804545
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap Basic Template</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
View gist:8800396
<mt:Setvarblock name="ogimage"><mt:EntryAssets sort_order="ascend" lastn="1"><$mt:AssetURL$></mt:EntryAssets></mt:Setvarblock>
<meta property="og:image" content="<mt:If name='ogimage'><$mt:Getvar name='ogimage'><mt:Else>イメージのURL</mt:If>">
View Bootstrap 2.3
<a href="#" rel="tooltip" data-placement="bottom" data-original-title="this is tooltip">tooltip</a>
View gist:8664164
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap 101 Template</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
View gist:8664157
.dropdown-backdrop {
position: static;
}
View gist:8573822
<mt:SetVar name="keyword" value="dog">
<ul>
<mt:Folders>
<mt:SetVarBlock name="CurFldName"><mt:FolderLabel></mt:SetVarBlock>
<mt:Unless name="CurFldName" like="$keyword">
<li><$mt:FolderLabel$> (<$mt:FolderCount$>)</a></li>
</mt:Unless>
</mt:Folders>
</ul>
View gist:8573818
<mt:SetVar name="keyword" value="dog">
<ul>
<mt:Folders>
<mt:SetVarBlock name="CurFldName"><mt:FolderLabel></mt:SetVarBlock>
<mt:If name="CurFldName" like="$keyword">
<li><$mt:FolderLabel$>(<$mt:FolderCount$>)</li>
<ul>
<mt:Pages folder="$CurFldName" lastn="5">
<li><a href="<$mt:PagePermalink$>"><$mt:PageTitle$></a></li>
</mt:Pages>