Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@reireias
reireias / sample.vue
Created December 10, 2018 00:30
vue sample
<template>
<v-container grid-list-md>
<v-layout
v-for="category in categories"
:key="category.name"
wrap
>
<v-flex xs12>
<v-card>
<v-card-text>{{ category.name }}</v-card-text>
@reireias
reireias / index.vue
Created December 25, 2018 00:47
v-flex move transition
<template>
<v-container grid-list-md>
<!-- simple -->
<div id="flip-list-demo" class="demo">
<transition-group name="flip-list" tag="ul">
<li v-for="item in items" :key="item">
{{ item }}
</li>
</transition-group>
</div>

https://github.com/reireias/dotseeker

grep -r -E -v -h '^\s*#' files | grep --color=none -E "^\s*alias " | sed -e 's/#.*//g' -e 's/^\s*//g' -e 's/\s*$//g' | sort | uniq -c | sort -nr
 90 alias ls='ls --color=auto'
 87 alias grep='grep --color=auto'
 59 alias fgrep='fgrep --color=auto'

59 alias egrep='egrep --color=auto'

https://github.com/reireias/dotseeker

grep -r -E -v -h '^\s*#' files | grep --color=none -E "^\s*alias " | sed -e 's/#.*//g' -e 's/^\s*//g' -e 's/\s*$//g' | sort | uniq -c | sort -k2 | pbcopy
  1 alias      ..='cd ..'
  1 alias     ...='cd ../..'
  1 alias     ci='git commit'

1 alias co='git checkout'

ls系

alias ls='ls --color=auto'
alias ls='ls -G'
alias ll='ls -alF'
alias ll='ls -lh'
alias ll="ls -l"
alias la='ls -A'
alias la='ls -a'
alias l='ls -CF'
@reireias
reireias / hako.c
Last active August 6, 2020 11:25
箱入り娘パズルの最小手を求めるプログラム(C言語)
// 約9年前の学生時代に実装した内容
// これを24時間以内に仕上げたらしい
/**
+----+ +-----------+ +----+
| 父 | | | | 母 |
| | | 箱 入 | | |
| | | り 娘 | | |
| 親 | | | | 親 |
+----+ +-----------+ +----+
@reireias
reireias / build.yml
Created March 21, 2021 06:35
Docker Layer Cache on GitHub Actions
name: build
on:
push:
branches:
- main
env:
ECR_REPOSITORY: reireias2021-rails
DOCKER_BUILDKIT: 1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.