Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/vmplayer
.encoding = "Shift_JIS"
# Filename: Windws_Server_2008.vmx
# Generated 2009-07-30;07:23:01 by EasyVMX!
# http://www.easyvmx.com
# This is a Workstation 5 or 5.5 config file
# It can be used with Player
config.version = "8"
# -*- coding: utf-8 -*-
#
#config.plugins.alias.aliases = {:e => 'exit', :q => 'exit'}
#
module Termtter::Client
register_alias(:e, 'exit')
register_alias(:q, 'exit')
end
# -*- coding: utf-8 -*-
gem 'rubytter', '>= 0.6.5'
require 'rubytter'
module Termtter
class ActiveRubytter
def initialize(data)
self.attributes = data
end
Index: src/sysdep.c
===================================================================
--- src/sysdep.c (revision 4248)
+++ src/sysdep.c (working copy)
@@ -201,6 +201,10 @@
#include <utime.h>
#endif
+
+#if _MSC_VER >= 1400
class Main {
static class JCheckboxWithLabel extends JCheckbox {
public JLabel label;
public JCheckboxWithLabel(String label) {
super();
label = new JLabel(label);
}
}
static public void main(String[] args) {
Index: ext/readline/readline.c
===================================================================
--- ext/readline/readline.c (revision 23097)
+++ ext/readline/readline.c (working copy)
@@ -929,7 +929,24 @@
#endif /* HAVE_RL_FILENAME_QUOTE_CHARACTERS */
}
+/*
+ * call-seq:
Index: ext/readline/readline.c
===================================================================
--- ext/readline/readline.c (revision 22951)
+++ ext/readline/readline.c (working copy)
@@ -124,6 +124,14 @@
}
static VALUE
+readline_s_refresh_line(self)
+{
class HogeController < ActionController::Base
def show
error_code = 505
respond_to do |format|
format.xml { render "error", :status => error_code }
format.html { render "error", :status => 500 }
end
end
end
typedef char *rl_compentry_func_t PARAMS((const char *, int));
READLINE_DLL_IMPEXP rl_compentry_func_t *rl_completion_entry_function;
READLINE_DLL_IMPEXP char**
rl_completion_matches (text, entry_function)
const char *text;
rl_compentry_func_t *entry_function;
{
....snip...
@koichiro
koichiro / codelist.css
Created December 21, 2008 07:45
Source code embedded plugin for tDiary
/* codelist.css
* Source code embedded plugin for tDiary
* Original Copyright (C) 2005 bashi <http://www.cc.ariake-nct.ac.jp/~bashi/d/?date=20051010#p01>
* Modified Copyright (C) 2007,2008 Koichiro Ohba <[email protected]>
* License under GPL2.
*/
span.classdef, span.moduledef {
color: #44aa44;
font-weight: bold;