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/sh | |
# chkconfig: 345 13 13 | |
# description: Log Monitor | |
# processname: logmon | |
LOGMON_CONF=/etc/logmon/logmon.conf | |
LOGMON_BIN=/etc/logmon/logmon.pl | |
logmon_opts="-f $LOGMON_CONF" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>windowtidy</string> | |
<key>ProgramArguments</key> | |
<array> |
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
# status | |
set -g status-fg cyan | |
set -g status-bg black | |
set -g status-left-length 30 | |
set -g status-left '#[fg=white,bg=black]#H#[fg=white]:#[fg=white][#S#[fg=white]][#[default]' | |
set -g status-right '#[fg=black,bg=cyan,bold] [%Y-%m-%d(%a) %H:%M]#[default]' | |
# window-status-current | |
setw -g window-status-current-fg black |
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
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
source ~/.rbenv/completions/rbenv.zsh |
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
Bundle "csexton/jekyll.vim" | |
let g:jekyll_path = "~/octopress/source/" | |
let g:jekyll_post_date = "%Y-%m-%d %H:%M" | |
let g:jekyll_post_published = "false" | |
let g:jekyll_prompt_categories = "true" | |
let g:jekyll_comments = "true" | |
map <Leader>jn :JekyllPost<CR> | |
map <Leader>jl :JekyllList<CR> |
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/sh | |
ALLOW_IP=`host hogehoge.com | awk '{print $4}'` | |
PORT_LIST=" | |
22 | |
80 | |
443 | |
3000 | |
4000 |
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
index d3c42e3..cd4c710 100644 | |
--- a/source/_layouts/post.html | |
+++ b/source/_layouts/post.html | |
@@ -15,6 +15,9 @@ single: true | |
{% unless page.sharing == false %} | |
{% include post/sharing.html %} | |
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
--- Makefile 2008-02-05 08:00:00.000000000 +0900 | |
+++ Makefile 2009-08-19 08:59:00.000000000 +0900 | |
@@ -97,7 +97,7 @@ | |
$(MAKE) FLAGS="-DNT_SERVICE $(FLAGS)" LIBS="$(LIBS) $(SVC_LIBS) -ladvapi32 -luser32 -lshell32 -lkernel32" $(TARGET) | |
linux: | |
- $(MAKE) FLAGS="-O -Wall -DCPP='\"/usr/bin/cpp -traditional\"' -DPTHREAD -DUNIX_DAEMON -DPRCTL -DSO_ORIGINAL_DST=80 -DUSE_EPOLL $(FLAGS)" LIBS="-lpthread $(LIBS)" stone | |
+ $(MAKE) FLAGS="-O -Wall -DCPP='\"/usr/bin/cpp -traditional\"' -DPTHREAD -DUNIX_DAEMON -DPRCTL -DSO_ORIGINAL_DST=80 -DUSE_EPOLL -D_GNU_SOURCE $(FLAGS)" LIBS="-lpthread $(LIBS)" stone | |
linux-pop: |
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/sh | |
# | |
# chkconfig: - 55 45 | |
# description: The memcached daemon is a network memory cache service. | |
# processname: memcached | |
# config: /etc/sysconfig/memcached | |
# pidfile: /var/run/memcached/memcached.pid | |
# Standard LSB functions | |
#. /lib/lsb/init-functions |
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
#compdef rudix | |
typeset -A opt_args | |
local context state line | |
_rudix() { | |
_arguments -s -S \ | |
-h"[Show help message]" \ | |
-v"[Print version]" \ | |
-l"[List all installed packages (package-id, version and install date)]" \ |