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
;;;; | |
;;;; emacs config | |
;;;; | |
;;; | |
;;; general config | |
;;; | |
;; set load-path | |
(setq load-path |
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
;;;; | |
;;;; emacs config file | |
;;;; | |
;;; | |
;;; common settings | |
;;; | |
;; no startup message |
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
main(){puts(main+9);} |
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
(defstruct node | |
(rireki nil :type list) | |
(state '(3 2 1 2) :type (and list (not null)))) | |
(defun inner-solve (slist) | |
(if | |
(issolved (car slist)) | |
(printrireki (car slist)) | |
(inner-solve (nconc (cdr slist) (nextnodesforall (car slist) '(0 1 2 3)))))) |
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
(defun dead-doggie-p (objol.117.2.32) | |
(eq astore::flag-dead | |
(logand (astore::os-instance-flags (astore::p-so-pptr obj)) | |
astore::iflag-222.7.56.32 / |
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
void hoge(){ | |
} | |
void fuga(void){ | |
} | |
int main(void){ | |
hoge("piyo"); | |
fuga("java"); | |
return 0; |
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
#include <chrono> | |
#include <iostream> | |
// compile with -std=c++11 option | |
int main(){ | |
typedef std::chrono::duration <int,std::ratio<24*60*60> > chomado_year; | |
std::chrono::hours seven_days(24*7); | |
std::cout << "7 days is " << std::chrono::duration_cast<chomado_year>(seven_days).count() << " years for chomado" << std::endl; | |
} |
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
// ========================== KeySnail Init File =========================== // | |
// この領域は, GUI により設定ファイルを生成した際にも引き継がれます | |
// 特殊キー, キーバインド定義, フック, ブラックリスト以外のコードは, この中に書くようにして下さい | |
// ========================================================================= // | |
//{{%PRESERVE% | |
// Put your codes here | |
// Metaplus | |
plugins.options["metaplus.metakeys"] = ["ESC", "C-t"]; |
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
nao@host ~ $ rm symbolic_link/ | |
rm: `symbolic_link/' を削除できません: ディレクトリです | |
nao@host ~ $ unlink symbolic_link/ | |
unlink: `symbolic_link/' を削除 (unlink) できません: ディレクトリではありません |