-
名前
- Ro Zouhin
-
Twitter
This file contains 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 | |
detected_javahome() | |
{ | |
_PID=$1 | |
JAVA_PATH=$(readlink -f `ps -o cmd= ${_PID} | awk '{print $1}'`) || { | |
echo "JAVA_HOME 特定出来ませんでした。" | |
exit 1 | |
} | |
echo "`dirname "${JAVA_PATH}"`" | sed -e "s|/jre/bin|/bin|g" |
This file contains 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'?> | |
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" | |
xmlns:f="http://java.sun.com/jsf/core" | |
xmlns:h="http://java.sun.com/jsf/html" | |
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"> | |
<jsp:directive.page contentType="text/html;charset=UTF-8"/> | |
<!--★beforePhaseリスナーの登録 --> | |
<f:view beforePhase="#{pageFlowScope.DataViewBean.beforePhaseMethod}"> | |
<af:document id="d1"> |
This file contains 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
[akira@jizai ~]$ export OS_SERVICE_TOKEN=ADMIN | |
[akira@jizai ~]$ export OS_SERVICE_ENDPOINT=http://localhost:35357/v2.0/ | |
[akira@jizai ~]$ keystone tenant-list | |
+----------------------------------+---------+---------+ | |
| id | name | enabled | | |
+----------------------------------+---------+---------+ | |
| 328e6770523a4e83b672b845d5e42eec | demo | True | | |
| b6ae2e8930ad41dea1adccaf02950a9f | service | True | | |
+----------------------------------+---------+---------+ | |
[akira@jizai ~]$ keystone user-list |
This file contains 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
glance --debug --os-username=admin --os-password=secrete --os-tenant-name=demo --os-auth-url=http://127.0.0.1:35357/v2.0 image-list | |
curl -i -X GET -H 'X-Auth-Token: 677140c248354151a7c8d056fff8b290' -H 'Content-Type: application/json' -H 'User-Agent: python-glanceclient' http://localhost:9292/v1/images/detail?sort_key=name&sort_dir=asc&limit=20 | |
HTTP/1.1 401 Unauthorized | |
date: Sun, 21 Apr 2013 13:40:42 GMT | |
content-length: 253 | |
content-type: text/plain; charset=UTF-8 | |
401 Unauthorized |
This file contains 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
;;; minimial-cedet-config.el --- Working configuration for CEDET from bzr | |
;; Copyright (C) Alex Ott | |
;; | |
;; Author: Alex Ott <[email protected]> | |
;; Keywords: cedet, C++, Java | |
;; Requirements: CEDET from bzr (http://cedet.sourceforge.net/bzr-repo.shtml) | |
;; Do checkout of fresh CEDET, and use this config (don't forget to change path below) |
This file contains 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
<channels version="Sat, 04 Aug 2012 14:50:04.2084 GMT" info_time="Thu, 05 Apr 2007 09:19:03 GMT"> | |
<group id="1" type="1" en="Sports Test Group" cn="体育频道测试组" description="Description:Sport Channels 体育频道 (Note: Please don't broadcast infringing content) All the channels are from the Internet. SopCast is only a P2P technology provider. Please contact the channel owner for infringing issues. Schedule:24*7 Type:Free to watch, need authorization to broadcast "> | |
Sports Test Group [体育频道测试组] | |
<channel id="18134" type="0" btype="0" language="en"> | |
<name en="Nederlandse oefenwedstijden -eredivisielive" cn="">Nederlandse oefenwedstijden -eredivisielive</name> | |
<status>2</status> | |
<region en="United Kingdom" cn="英国">UK</region> | |
<class en="Sports" cn="体育类">2</class> | |
<user_count>6</user_count> | |
<sn>4440</sn> |
This file contains 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
;; font | |
(create-fontset-from-ascii-font "Ricty-11:weight=normal:slant=normal" nil "ricty") | |
(set-fontset-font "fontset-ricty" | |
'unicode | |
(font-spec :family "Ricty" :size 11) | |
nil | |
'append) | |
(add-to-list 'default-frame-alist '(font . "fontset-ricty")) |
This file contains 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
;;; anything-gist.el --- anything-sources and some utilities for gist. | |
;; Filename: auto-complete-acr.el | |
;; Description: Anything extension for gist | |
;; Author: myuhe <yuhei.maeda_at_gmail.com> | |
;; Maintainer: myuhe, tlync<takuya.fujimura_at_gmail.com> | |
;; Copyright (C) 2009, 2010, myuhe , all rights reserved. | |
;; Created: 2009-04-13 | |
;; Version: 0.7 | |
;; Keywords: convenience, anything, git, gist |
This file contains 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
;; | |
;; win:resume-windows --> windows 状态保存跟复原 | |
;;______________________________________________________________________ | |
;;; 安装 | |
;; http://www.emacswiki.org/emacs/WindowsMode | |
;; http://www.gentei.org/~yuuji/software/ | |
;; (install-elisp "http://www.gentei.org/~yuuji/software/windows.el") | |
;; (install-elisp "http://www.gentei.org/~yuuji/software/revive.el") |
NewerOlder