Skip to content

Instantly share code, notes, and snippets.

View akabekobeko's full-sized avatar
🍀
Working from home

akabeko akabekobeko

🍀
Working from home
View GitHub Profile
@akabekobeko
akabekobeko / .zshrc
Created October 14, 2019 06:08
My .zshrc
export LANG=ja_JP.UTF-8
# Styles
autoload colors
colors
PROMPT="%{$fg[magenta]%}[%m:%n]%(!.#.$) %{$reset_color%}"
PROMPT2="%{$fg[magenta]%}%_> %{$reset_color%}"
SPROMPT="%{$fg[red]%}correct: %R -> %r [nyae]? %{$reset_color%}"
RPROMPT="%{$fg[cyan]%}[%~]%{$reset_color%}"
zstyle ':completion:*' menu select
@akabekobeko
akabekobeko / rle-icns.js
Created November 20, 2017 12:12
RLE for ICNS.
/**
* @file rle-icns.js
* @author akabeko
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@akabekobeko
akabekobeko / faces.md
Last active March 24, 2017 03:38
One liner faces.
(^ᆺ^)
(`ᆺ`)
(TᆺT)
@akabekobeko
akabekobeko / pp-electron-release-v1.4.14.ja.md
Last active January 18, 2017 08:54
Private prints, Release notes of Electron v1.4.14

Electron release 日本語訳、私家版。ツッコミ PR 大歓迎。

Bug Fixes

  • Fixed a crash when closing a window from within a will-navigate event listener. #8254
    • will-navigate のイベント リスナーから window を閉じたときクラッシュする問題を修正
  • Offscreen windows are now always created as frameless so the viewport size is as expected. #8250
  • 今後、非表示ウィンドウは常にフレームなしで作成され、期待値どおりのサイズとなるようにした
@akabekobeko
akabekobeko / iptables
Created December 15, 2015 14:35
iptables sample
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
# Drop
-A INPUT -s XXX.XXX.XXX.XXX -j DROP
-A INPUT -s XXX.XXX.0.0/255.255.0.0 -j DROP
@akabekobeko
akabekobeko / .eslintrc
Last active February 28, 2017 08:30
ESLint rules
{
"extends": "standard",
"env": {
"mocha": true
},
"rules": {
"no-multi-spaces": 0,
"yoda": 0
}
}
@akabekobeko
akabekobeko / apm.txt
Last active January 26, 2017 00:19
Atom packages
Stylus@3.1.0
Sublime-Style-Column-Selection@1.7.2
atom-ternjs@0.17.0
atom-typescript@10.1.13
atom-wrap-in-tag@0.6.0
auto-encoding@0.6.2
autocomplete-paths@1.0.5
color-picker@2.2.4
docblockr@0.9.1
emmet@2.4.3