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
$ clang3 -v -x c++ /dev/null -fsyntax-only | |
clang version 3.1 (trunk 152121) | |
Target: i386-pc-linux-gnu | |
Thread model: posix | |
"/home/cosmo/llvm/bin/clang" -cc1 -triple i386-pc-linux-gnu -fsyntax-only -disable-free -main-file-name null -mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases -target-cpu pentium4 -momit-leaf-frame-pointer -v -resource-dir /home/cosmo/llvm/bin/../lib/clang/3.1 -fmodule-cache-path /var/tmp/clang-module-cache -I /opt/intel/composerxe-2011.5.220/mkl/include -I /opt/intel/composerxe-2011.5.220/tbb/include -internal-isystem /usr/lib/gcc/i686-linux-gnu/4.6/../../../../include/c++/4.6 -internal-isystem /usr/lib/gcc/i686-linux-gnu/4.6/../../../../include/c++/4.6/i686-linux-gnu -internal-isystem /usr/lib/gcc/i686-linux-gnu/4.6/../../../../include/c++/4.6/backward -internal-isystem /usr/local/include -internal-isystem /home/cosmo/llvm/bin/../lib/clang/3.1/include -internal-externc-isystem /usr/include/i386-linux-gnu -internal-externc-isystem /include -internal-externc- |
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
* IMPORTANT: 3 news items need reading for repository 'gentoo_prefix'. | |
* Use eselect news to read news items. | |
These are the packages that would be merged, in order: | |
Calculating dependencies ...... done! | |
[ebuild U ] dev-libs/gobject-introspection-1.32.1 [1.30.0-r2] USE="-doc -doctool% -test" 0 kB | |
[ebuild U ] x11-libs/gtk+-3.4.3 [3.2.4-r1] USE="X%* introspection (-aqua) -colord (-cups) -debug -doc -examples (-packagekit) -test -vim-syntax (-wayland) -xinerama" 0 kB |
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
(add-hook 'auto-complete-mode-hook | |
(lambda () | |
(define-key ac-completing-map (kbd "C-n") 'ac-next) | |
(define-key ac-completing-map (kbd "C-p") 'ac-previous))) |
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
#include <iostream> | |
#include <fstream> | |
#include <cstring> | |
#include <cstdlib> | |
#include <boost/regex.hpp> | |
//このファイルの情報を元に検索を行う | |
const char filename[] = "filename.txt"; | |
//出力をする関数たち | |
template <typename T> |
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
setopt prompt_subst | |
## プロンプトの設定 | |
autoload colors | |
colors | |
PROMPT="%n@`hostname -s`:%~%%" | |
PROMPT2='>> ' | |
if [ "$TERM" = "xterm" -o "$TERM" = "kterm" ] | |
then | |
hostname=`hostname -s` |
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
--- /home/cosmo/Gentoo/var/lib/layman/haskell/dev-lang/ghc/ghc-7.4.1-r1.ebuild 2012-06-24 21:15:42.299455127 +0900 | |
+++ /home/cosmo/overlay/cosmo-betalab/dev-lang/ghc/ghc-7.4.1-r1.ebuild 2012-06-25 05:46:08.615946259 +0900 | |
@@ -209,13 +209,22 @@ | |
cp "${WORKDIR}/usr/bin/ghc-pkg-${PV}" "$gp_back" || die "unable to backup ghc-pkg wrapper" | |
# Relocate from /usr to ${EPREFIX}/usr | |
- relocate_path "/usr" "${to}/usr" \ | |
+ if [ -d "${WORKDIR}/usr/$(get_libdir)/${P}/package.conf.d/"]; | |
+ then | |
+ relocate_path "/usr" "${to}/usr" \ |
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 -Ku | |
require "open-uri" | |
require "rubygems" | |
require "json" | |
require "time" | |
src = '' | |
group = "1-A" | |
begin | |
open("http://kteiden.chibiegg.net/api/kteiden.json?&group=#{group}"){|file| |
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 -Ku | |
# -*- coding: utf-8 -*- | |
require "open-uri" | |
require "rubygems" | |
require "json" | |
require "time" | |
Plugin.create :teiden_kansai do | |
src = '' | |
group = "4-F" | |
begin |
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 -Ku | |
# -*- coding: utf-8 -*- | |
require "open-uri" | |
require "rubygems" | |
require "json" | |
require "time" | |
def notifymsg(msg) | |
#jsonパーサーを使う | |
json = JSON.parser.new(msg) |
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
--- vmmctl.c.orig 2012-05-03 14:04:37.000000000 +0900 | |
+++ vmmctl.c 2012-08-08 00:31:25.291915647 +0900 | |
@@ -47,6 +47,8 @@ | |
#include <machine/vmm.h> | |
#include <vmmapi.h> | |
+#include <dirent.h> | |
+#include <ctype.h> | |
#include "intel/vmcs.h" |