Skip to content

Instantly share code, notes, and snippets.

View miminari's full-sized avatar
🏠
Working from home

mimi miminari

🏠
Working from home
View GitHub Profile
@tsuki-lab
tsuki-lab / pagePaths.ts
Last active May 20, 2022 00:18
pathpidaをリスペクト
const root = '/'
const blogs = '/blogs'
const page = '/page'
export const pagesPath = {
$url: () => `${root}`,
blogs: {
$url: () => `${blogs}/`,
tap "akeru-inc/tap"
tap "homebrew/bundle"
tap "hudochenkov/sshpass"
tap "pulumi/tap"
tap "rhysd/hgrep", "https://github.com/rhysd/hgrep"
tap "teamookla/speedtest"
brew "openssl@3"
brew "ansible"
brew "awscli"
brew "cask"
@wokamoto
wokamoto / Brewfile
Last active February 27, 2021 12:19
cask_args appdir: "/Applications"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-versions"
tap "homebrew/cask-fonts"
tap "homebrew/core"
tap "argon/mas"
tap "rcmdnk/file"
@azu
azu / git-2.26.1-README.md
Last active January 22, 2022 21:54
Gitの認証情報を奪い取れるGit 2.26.0以下にある脆弱性について

Git 2.26.0以下にある脆弱性

Git 2.26.0以下*1には、細工したリポジトリをgit cloneしたときに、 そのユーザーのCredential(たとえばGitHub.comをcloneするときに使う認証情報)を奪い取れる脆弱性があります。

📝 取得できる認証情報は credential.helper の設定に依存する

既にPoC(検証するためのコード)もあり、結構簡単なので是非Gitを2.26.1以上にアップデートしましょう。 git submoduleを使うと見た目ではわかりにくい攻撃もできるので、「気をつける」では回避は難しいです。

@westonruter
westonruter / functions.php
Last active September 22, 2020 16:53
Child theme of Noto Simple with full AMP compatibility
<?php
/**
* Noto Simple AMP functions and definitions
*
* @package Noto_Simple_AMP
*/
// Indicate that the theme works well in both Standard and Transitional template modes.
add_theme_support(
'amp',
@nownabe
nownabe / .commit_template
Created July 5, 2016 06:54
Emojiで楽しく綺麗なコミットを手に入れる
# ==== Emojis ====
# 🐛 :bug: バグ修正
# 👍 :+1: 機能改善
# ✨ :sparkles: 部分的な機能追加
# 🎉 :tada: 盛大に祝うべき大きな機能追加
# ♻️ :recycle: リファクタリング
# 🚿 :shower: 不要な機能・使われなくなった機能の削除
# 💚 :green_heart: テストやCIの修正・改善
" Make IE Better Compatible "
<!--[if IE]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
======================================================
IE6 Only
==================
_selector {...}
@addyosmani
addyosmani / package.json
Last active January 18, 2024 21:31
npm run-scripts boilerplate
{
"name": "my-app",
"version": "1.0.0",
"description": "My test app",
"main": "src/js/index.js",
"scripts": {
"jshint:dist": "jshint src/js/*.js",
"jshint": "npm run jshint:dist",
"jscs": "jscs src/*.js",
"browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js",
@bartholomej
bartholomej / css-media-queries-cheat-sheet.css
Last active April 30, 2024 08:23
CSS Media Query Cheat Sheet (with Foundation)
/*------------------------------------------
Responsive Grid Media Queries - 1280, 1024, 768, 480
1280-1024 - desktop (default grid)
1024-768 - tablet landscape
768-480 - tablet
480-less - phone landscape & smaller
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) { }
@media all and (min-width: 768px) and (max-width: 1024px) { }
@ms-studio
ms-studio / wp-gallery-shortcode-override.php
Last active April 17, 2019 14:13
an override of the default WP gallery shortcote