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
cmake_minimum_required(VERSION 3.15) | |
project(db C) | |
add_library(libdb43 SHARED | |
btree/bt_compare.c | |
btree/bt_conv.c | |
btree/bt_curadj.c | |
btree/bt_cursor.c | |
btree/bt_delete.c |
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
function Start-TrackingTime { | |
$result = "" | |
try { | |
$table = @{} | |
while ($true) { | |
$last_selection = $selection | |
$selection = Read-Host -Prompt @" | |
1: AAA`t2: BBB`t3:CCC | |
4: DDD`t5: EEE`t6:FFF | |
7: GGG`t8: HHH`t9:III |
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
use strict; | |
use warnings; | |
my $r; | |
my @s; | |
$r = 1; | |
LOOP: | |
goto EXIT if ($r > 100); | |
push @s, $r; |
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
(ns bdb.core | |
(:require [clojure.java.io :as io]) | |
(:import (com.sleepycat.db DatabaseException | |
DatabaseConfig | |
DatabaseType | |
DatabaseEntry | |
Database | |
OperationStatus) | |
(java.io FileNotFoundException | |
IOException)) |
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 | |
echo "content-type: text/html" | |
echo "" | |
echo "<html>" | |
echo "<head>" | |
echo "<title>テスト</title>" | |
echo "</head>" | |
echo "<body>" | |
uname -a |
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 <iostream> | |
#include <functional> | |
#include <sstream> | |
namespace my { | |
std::string argstring(int argc, char *argv[]) { | |
std::ostringstream oss; | |
for (int i=1; i<argc; ++i) | |
oss << argv[i] << ' '; | |
return std::move(oss.str()); |
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
;; 対応する括弧の強調表示 | |
(show-paren-mode t) | |
;; Emacs24標準のパッケージマネージャ | |
;; 必要なパッケージをインストール | |
(require 'package) | |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.milkbox.net/packages/") t) | |
(package-initialize) | |
(when (not package-archive-contents) |
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 <stdio.h> | |
int main(void) { | |
printf("hello, world\n"); | |
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
(custom-set-variables | |
'(custom-enabled-themes (quote (tsdh-dark))) | |
'(inhibit-startup-screen t) | |
'(initial-scratch-message nil)) | |
(custom-set-faces) | |
(set-frame-font "VL Gothic-10") | |
(setq skk-kutouten-type 'en) | |
(setq-default tab-width 4 | |
indent-tabs-mode nil) | |
(setq browse-url-browser-function 'browse-url-firefox) |
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
(custom-set-variables | |
'(inhibit-startup-screen t) | |
'(initial-scratch-message nil)) | |
(custom-set-faces) | |
(show-paren-mode t) | |
(load (expand-file-name "~/.quicklisp/slime-helper.el")) | |
(setq inferior-lisp-program "ccl") | |
(setq slime-net-coding-system 'utf-8-unix) |
NewerOlder