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! RTrim() | |
let s:cursor = getpos(".") | |
if &filetype == "markdown" | |
%s/\s\+\(\s\{2}\)$/\1/e | |
match Underlined /\s\{2}/ | |
else | |
%s/\s\+$//e | |
endif | |
call setpos(".", s:cursor) | |
endfunction |
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
aaaaa |
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
"十字キー無効化 | |
inoremap <Right> <Nop> | |
inoremap <Left> <ESC> | |
inoremap <Up> <Nop> | |
inoremap <Down> <Nop> | |
nnoremap <Right> <Nop> | |
nnoremap <Left> <Nop> | |
nnoremap <Up> <Nop> | |
nnoremap <Down> <Nop> |
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
require "nokogiri" | |
require "open-uri" | |
require "date" | |
class Nakanojyo | |
def initialize | |
@base = "http://www.town.nakanojo.gunma.jp/~info/" | |
@url = @base + "shinchaku.html" | |
@data = Array.new | |
self.get |
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
<table border="0" width="98%"> | |
<tbody> | |
<tr> | |
<td> | |
<a href="no160-s.pdf" target="_blank"> | |
<b>第160号</b> | |
<font size="-1">平成24年8月10日発行(PDF:2.4MB)</font> | |
</a> | |
</td> | |
</tr> |
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
@import url(http://fonts.googleapis.com/css?family=Karla); | |
html { | |
background:url("#{$img}/stucco.png"); | |
body { | |
width:900px; | |
margin:0 auto; | |
color:$color; | |
} | |
a { |
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
test |
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 Duration | |
def initialize(since, untill) | |
@since = since | |
@untill = untill | |
end | |
#setter, getter | |
#attr_accessor :since, :untill | |
def since; return @since end | |
# def since(value = value); @since = value 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
var MarkdownViewModel = function () { | |
"use strict"; | |
this.textData = ko.observable('edit markdown'); | |
this.displayHtml = ko.computed(function () { | |
return markdown.toHTML(this.textData()); | |
}, this); | |
}; |
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
./configure \ | |
--prefix=/usr \ | |
--mandir=/usr/share/man \ | |
--infodir=/usr/share/info \ | |
--sysconfdir=/private/etc \ | |
--with-apxs2=/usr/sbin/apxs \ | |
--enable-cli \ | |
--with-config-file-path=/etc \ | |
--with-libxml-dir=/usr \ | |
--with-openssl=/usr \ |