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
root@56b234adc7b8:~# cat test.cpp | |
# include <Siv3D.hpp> | |
void Main() | |
{ | |
const Font font(30); | |
while (System::Update()) | |
{ | |
Circle(Cursor::Pos(), 100).draw(); |
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
Release# cmake -DCMAKE_BUILD_TYPE=Release .. | |
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") | |
-- The CXX compiler identification is GNU 7.2.0 | |
-- Check for working CXX compiler: /usr/bin/g++-7 | |
-- Check for working CXX compiler: /usr/bin/g++-7 -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- The C compiler identification is GNU 7.2.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
$ sudo ./check-config.sh | |
warning: /proc/config.gz does not exist, searching other paths for kernel config ... | |
info: reading kernel config from /boot/config-4.10.0-37-generic ... | |
Generally Necessary: | |
- cgroup hierarchy: properly mounted [/sys/fs/cgroup] | |
- apparmor: enabled and tools installed | |
- CONFIG_NAMESPACES: enabled | |
- CONFIG_NET_NS: enabled | |
- CONFIG_PID_NS: enabled |
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
// This script roughly checks if a markdown file contains unescaped angle brackets. | |
// Usage: go run check-escape.go <file1> [<file2> ...] | |
package main | |
import ( | |
"bufio" | |
"fmt" | |
"log" | |
"os" | |
"regexp" |
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() { | |
var date = new Date(); | |
var year = date.getFullYear(); | |
var month = date.getMonth() + 1; | |
var url = 'https://github.com/nekketsuuu/*********/wiki/日記%3A%3A' + year.toString() + '年' + month.toString() + '月' + '/_edit'; | |
var editor = window.open(url, '_self'); | |
})(); |
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
$ sudo ./run-test.sh crystal-0.23.1 | |
fe2e6459b8055032f88e8bd4da048f3f71cb769be20f062d0a3b2b87920abc19 | |
wait: kennel port... | |
opened | |
crystal-0.23.1: {u'status': u'11', u'program_error': u"\x1b[33mUsing compiled compiler at `.build/crystal'\x1b[0m\nGC Warning: Failed to expand heap by 8388608 bytes\nGC Warning: Failed to expand heap by 8388608 bytes\nGC Warning: Failed to expand heap by 8388608 bytes\nGC Warning: Failed to expand heap by 8388608 bytes\nGC Warning: Failed to expand heap by 8388608 bytes\nGC Warning: Failed to expand heap by 8388608 bytes\nGC Warning: Failed to expand heap by 8388608 bytes\nGC Warning: Failed to expand heap by 8388608 bytes\nGC Warning: Failed to expand heap by 8388608 bytes\nGC Warning: Failed to expand heap by 8388608 bytes\nGC Warning: Failed to expand heap by 8388608 bytes\nGC Warning: Failed to expand heap by 8388608 bytes\nGC Warning: Failed to expand heap by 8388608 bytes\nGC Warning: Failed to expand heap by 8388608 bytes\nGC Warning: Failed to expand heap by 8388608 bytes\n |
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
$ sudo ./docker-run.sh kennel | |
root@nek:/var/work/kennel# ./install.sh | |
+++ pwd | |
++ CURRENT_DIR=/var/work/kennel | |
++++ dirname ./install.sh | |
+++ cd . | |
+++ pwd | |
++ BASE_DIR=/var/work/kennel | |
+ PREFIX=/opt/wandbox/kennel | |
+ cd /root/ |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Docomoの雑談対話APIを使ってチャットできるスクリプト (Python 3) | |
# https://ja.stackoverflow.com/q/37648/19110 | |
import sys | |
import urllib.request | |
import json | |
import os |
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
root@fdd452650efa:~/smlsharp-3.3.0# PATH=/usr/lib/llvm-3.7/bin:$PATH ./configure --without-massivethreads | |
checking build system type... x86_64-pc-linux-gnu | |
checking host system type... x86_64-pc-linux-gnu | |
checking target system type... x86_64-pc-linux-gnu | |
checking for gcc... gcc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o |
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
GHC=stack --resolver ghc-8.0.1 --install-ghc ghc --package random --package network -- -XFlexibleContexts | |
TARGETS=reversi-serv | |
TARGETC=reversi | |
SRCS=Play.hs Command.hs | |
all: $(TARGETS) $(TARGETC) | |
$(TARGETS): Server.hs $(SRCS) | |
$(GHC) -O --make -o $(TARGETS) Server.hs |