.jpg を除外
^.*(?<!jpg)$
/* | |
* https://dev.to/gajus/my-favorite-css-hack-32g3 | |
*/ | |
* { background-color: rgba(255,0,0,.2); } | |
* * { background-color: rgba(0,255,0,.2); } | |
* * * { background-color: rgba(0,0,255,.2); } | |
* * * * { background-color: rgba(255,0,255,.2); } | |
* * * * * { background-color: rgba(0,255,255,.2); } | |
* * * * * * { background-color: rgba(255,255,0,.2); } |
.jpg を除外
^.*(?<!jpg)$
"use strict"; | |
// Load plugins | |
const autoprefixer = require("autoprefixer"); | |
const browsersync = require("browser-sync").create(); | |
const cp = require("child_process"); | |
const cssnano = require("cssnano"); | |
const del = require("del"); | |
const eslint = require("gulp-eslint"); | |
const gulp = require("gulp"); |
img { | |
width: auto; | |
max-width: 100%; | |
border: 1px solid #ccc; | |
} | |
hr { | |
border: 0; | |
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); | |
height: 1px; |
#!/bin/bash | |
## 画像を幅合わせで一括リサイズします | |
## アンシャープマスクを追加しました | |
mogrify -resize 412x -unsharp 2x1.4+0.5+0 +repage *.jpg |
#!/bin/bash | |
## ファイル名のみを拡張子ごとに並び替え、一覧でテキストに書き出し(濁点がおかしくなるのでnkfでフィルターしている) | |
ls -x1 | nkf -wLu --ic=UTF8-MAC > file-name.txt |
#!/bin/bash | |
## master ブランチをプッシュして、マージ済みブランチ(ローカル・リモート)を削除する | |
## マージ済みブランチは引数で指定する。 | |
## `~/git-push-master.sh topic_issue99` とか `~/git-push-master.sh issue/99` | |
# error で中断 | |
set -e | |
# 引数1つめを変数に代入 | |
BRANCH=$1 |
#!/bin/bash | |
# URL エンコードされたファイル名をデコードしてリネームするスクリプト | |
find . -type f -exec bash -c "mv {} \`echo {} | nkf -w --url-input \`" \; |
"plugins | |
set surround | |
" 検索結果をハイライト | |
set hlsearch | |
" 検索時に大文字小文字をを区別しない | |
set ignorecase | |
"検索で大文字があるときは区別 |