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
| #! /usr/bin/env ruby | |
| # -*- coding: utf-8 -*- | |
| require 'logger' | |
| =begin | |
| WHATIS | |
| * ping monitoring once every 30 secs |
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
| project :test => :shoulda, :renderer => :haml, :stylesheet => :sass, :script => :jquery, :orm => :activerecord | |
| #default routes | |
| APP_INIT = <<-APP | |
| get "/" do | |
| "Hello World!" | |
| end | |
| get :about, :map => '/about_us' do | |
| render :haml, "%p This is a sample blog created to demonstrate the power of Padrino!" |
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
| // ==UserScript== | |
| // @name hatena diarylist otsune mode | |
| // @namespace http://rails2u.com/ | |
| // @description 観測範囲が狭い人向け | |
| // @include http://d.hatena.ne.jp/diarylist | |
| // ==/UserScript== | |
| (function() { | |
| const CONTAINER_XPATH = '//div/ul[@class="list-plain"]'; | |
| const LIST_XPATH = '//div/ul[@class="list-plain"]/li'; |
NewerOlder