๐โโฌ
This file contains hidden or 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
# coding: utf-8 | |
module Nyanrize | |
refine String do | |
def to_s | |
"ใซใใใ๏ผ" | |
end | |
end | |
end |
This file contains hidden or 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
# pane layout | |
bind-key -n M-1 select-layout main-horizontal | |
bind-key -n M-2 select-layout main-vertical | |
bind-key -n M-3 select-layout tiled | |
bind-key -n M-4 select-layout even-horizontal | |
bind-key -n M-5 select-layout even-vertical | |
# pane size | |
bind-key -n M-Up resize-pane -U 5 | |
bind-key -n M-Down resize-pane -D 5 |
This file contains hidden or 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 anything-git-files-or-recentf () | |
(interactive) | |
(if (anything-git-files:git-p) | |
(anything-git-files) | |
(anything-recentf))) | |
(define-key global-map (kbd "C-x C-f") 'anything-git-files-or-recentf) |
This file contains hidden or 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
tell application "iTunes" | |
set strName to name of current track | |
set strArtist to artist of current track | |
set strAlbum to album of current track | |
end tell | |
set the clipboard to "Now Playing: โ" & strArtist & "โ / โ" & strName & "โ from โ" & strAlbum & "โ" | |
tell application "Tweetbot" | |
activate |
This file contains hidden or 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
class Yokkyu < ActiveRecord::Base | |
extend Enumerize | |
enumerize :status, scope: true, default: :awaiting in: { | |
awaiting: 1, | |
approved: 2, | |
rejected: 3, | |
} | |
state_machine :status do |
This file contains hidden or 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
#!/bin/bash | |
set -e | |
# Usage: | |
# rsync_parallel.sh [--parallel=N] [rsync args...] | |
# | |
# Options: | |
# --parallel=N Use N parallel processes for transfer. Defaults to 10. | |
# | |
# Notes: |
This file contains hidden or 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
ใใใใใใใใใใใใใใใใใใใใใใใใใใใใใใใใใใใ======ใ๏ผฟ๏ผฟ๏ผฟ====== | |
ใใใใใใใใใใใใใใใใใใใใใใใใใใใใใ๏ผฟไธไธไธ๏ฟฃ๏ฟฃ๏ฟฃ๏ฟฃ=====๏ฟฃ๏ฟฃ๏ฟฃ | |
ใใใใใใใใใใใ ,, -โ-ใ ใใใใใใใใ๏ผฟ====๏ผฟ====๏ฟฃ๏ฟฃ==๏ฟฃ๏ฟฃใใใใ๏ฟฃ๏ฟฃ๏ฟฃ | |
ใใใใใใใใใใ๏ผใใใใ ใฝใใ๏ผฟโ==ไธโกโก๏ฟฃ== | |
ใใใใ๏ผ๏ฟฃ๏ฟฃ๏ผใใ๏ผiโใฝ๏ฝค|ใ๏ผฟ==๏ฟฃ๏ฟฃ | |
ใใใ/ใใ๏ผใ๏ผ/ใใ ๏ผใ/ใใใใ๏ฟฃ | |
ใใ/ใใใใ ใ๏ฝค.,../ใ,ใผ-๏ฝคใใใใใใใใใใใใ | |
ใ=ๅฝณใใใใใ ๏ผผ๏ผผโ๏ฟฃ๏ผพ ใใใใใใใใใใใ ใ | |
,ใใใใใใใใใใ๏ผผ๏ผผใ๏ผผใ๏ผฟ | |
ใใใใใใใใใ/โ ใฝ ใฝ๏ผฟ>i ๏ฟฃโโ๏ผฟใ๏ผฟ |
This file contains hidden or 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
local command="" | |
local command_time="" | |
precmd() { | |
if [ "$command_time" -ne "0" ] ; then | |
local d=`date +%s` | |
d=`expr $d - $command_time` | |
if [ "$d" -ge "30" ] ; then | |
command="$command " | |
notification "$command" -t "${${(s: :)command}[1]}" | |
fi |
This file contains hidden or 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
function notification() { | |
local title | |
local subtitle | |
local text="" | |
while [ "$1" != "" ]; do | |
case "$1" in | |
-t) | |
shift | |
title="$1" | |
;; |
This file contains hidden or 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
(:name powerline | |
:website "https://github.com/jonathanchu/emacs-powerline" | |
:description "Powerline for Emacs" | |
:type github | |
:pkgname "jonathanchu/emacs-powerline" | |
:features powerline) |