This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /path/to/file | |
find /path/to/file -regextype posix-extended -regex '.*\.(jpg|png)' -print0 | | |
xars tar cv -T - --null | bash -c 'cd ~; tar x' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:latest | |
RUN npm install -g gulp | |
WORKDIR /app | |
CMD gulp watch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(bind-key* "C-M-/" 'helm-dabbrev) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var app = new Vue({ | |
el: '#app', | |
data: { | |
tasks: [ | |
{ text: 'Learn JavaScript', editable: false}, | |
{ text: 'Learn Vue' , editable: false}, | |
{ text: 'Build todo list', editable: false}, | |
], | |
newTaskName: '', | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-key global-map (kbd "C-+") 'text-scale-increase) | |
(define-key global-map (kbd "C--") 'text-scale-decrease) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" like Spacemacs | |
let mapleader = "\<Space>" | |
nnoremap <Leader>b :Buffers<CR> | |
nnoremap <Leader>x :Commands<CR> | |
nnoremap <Leader>f :GFiles<CR> | |
nnoremap <Leader>a :Ag<CR> | |
nnoremap <Leader>k :bd<CR> | |
command! FZFMru call fzf#run({ | |
\ 'source': v:oldfiles, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT "users".* FROM "users" | |
WHERE ("users"."name" ILIKE '%山田%' | |
AND ("users"."email" ILIKE '%gmail.com%' | |
OR "users"."address" ILIKE '%東京都%')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(bind-key* "ESC" evil-mode) | |
(add-hook 'evil-insert-mode-hook | |
(lambda() (evil-mode nil))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun dotspacemacs/user-config () | |
(flycheck-pos-tip-mode nil) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chmod +x ~/bin/pomo |