ST3 (Sublime Text 3) にインストールしたパッケージ一覧
- Accessibility
- All Autocomplete
- ApacheConf.tmLanguage
- AutoFileName
- Base64 Fold
- Better CoffeeScript
function author_page_redirect() { | |
if(is_author()) { | |
wp_redirect(home_url()); | |
exit; | |
} | |
} | |
add_action('template_redirect','author_page_redirect'); |
# EditorConfig helps developers define and maintain consistent | |
# coding styles between different editors and IDEs | |
# editorconfig.org | |
root = true | |
[*] | |
# change these settings to your own preference |
// ------------------------- | |
// Bootstrap標準のグリッドを上下中央並びにするクラス | |
// ------------------------- | |
.row-inlineblock { | |
@extend .row; | |
font-size: 0; | |
@for $i from 1 through $grid-columns { | |
.col-xs-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i} { | |
float: none; | |
font-size: $font-size-base; |
.ani-scaling:hover { | |
-webkit-animation: scaling.5 s 1; | |
-moz-animation: scaling.5 s 1; | |
-ms-animation: scaling.5 s 1; | |
animation: scaling.5 s 1; | |
} | |
@keyframes scaling { | |
from, to { | |
-webkit-transform: scale(1, 1); |
@charset "utf-8"; | |
// 開発の為のグリッドカラム表示 | |
body { | |
background: #FFF url("http://griddle.it/320-2-30?horizontal=24") repeat-y center top; | |
} | |
@media (min-width: 768px) { | |
body { | |
background: #FFF url("http://griddle.it/720-6-30?horizontal=24") repeat-y center top; | |
} | |
} |
<?xml version="1.0"?> | |
<configuration> | |
<system.webServer> | |
<staticContent> | |
<mimeMap fileExtension=".mp4" mimeType="video/mp4" /> | |
<mimeMap fileExtension=".m4v" mimeType="video/m4v" /> | |
<mimeMap fileExtension=".ogg" mimeType="video/ogg" /> | |
<mimeMap fileExtension=".ogv" mimeType="video/ogg" /> | |
<mimeMap fileExtension=".webm" mimeType="video/webm" /> | |
<mimeMap fileExtension=".oga" mimeType="audio/ogg" /> |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#PowerShell v3 script | |
Function gitignore { | |
Param( | |
[Parameter(Mandatory=$true)] | |
[string[]]$list | |
) | |
$params = $list -join "," | |
invoke-WebRequest -Uri "http://gitignore.io/api/$params" | select -expandproperty content | out-file -FilePath $(join-path -path $pwd -ChildPath ".gitignore") -Encoding ascii | |
} |