Skip to content

Instantly share code, notes, and snippets.

require 'spec_helper'
describe 'apache-22', :os => :solaris do
it { should be_installed }
end
describe 'apache22', :os => :solaris do
it { should be_enabled }
it { should be_running }
end
@ftnk
ftnk / solaris_kernel_memory_usage
Created December 9, 2012 13:33
munin plugin for Solaris kernel memory usage
#!/bin/sh
#
# munin plugin for Solaris kernel memory usage
#
#%# family=auto
#%# capabilities=autoconf
GREP=/bin/grep
EGREP=/bin/egrep
#!/usr/bin/ruby
# -*- coding: utf-8 -*-
$KCODE = "UTF8"
require 'rubygems'
require "mechanize"
require "rexml/document"
require "time"
// ==UserScript==
// @name Query Cutter
// @namespace http://www.ftnk.jp/userscripts
// @description Cut '?ref=rss', and so on
// @include http://*
// ==/UserScript==
(function (){
var newUrl = location.href;
// delete rss for Cnet Japan, barks, etc