Skip to content

Instantly share code, notes, and snippets.

View umq's full-sized avatar
😪
Zzz

Hirohisa Yamaguchi umq

😪
Zzz
  • Osaka, Japan
  • 15:14 (UTC +09:00)
View GitHub Profile
@umq
umq / .ebextensions:00etc_postgrest.config
Created May 19, 2017 11:04
PostgREST Sample configuration for AWS Elastic Beanstalk (Single Container Docker)
files:
"/var/lib/postgrest/postgrest.conf" :
mode: "000644"
owner: root
group: root
content: |
db-uri = "postgres://app_user:password@postgres:5432/app_db"
db-schema = "public"
db-anon-role = "app_user"
jwt-secret = "changeme"
@umq
umq / catalina.out.1
Last active February 27, 2017 01:12
GitBucket 4.10 startup catalina.out
Feb 27, 2017 9:16:48 AM org.apache.catalina.startup.HostConfig deployWARs
SEVERE: Error waiting for multi-thread deployment of WAR files to complete
java.lang.InterruptedException
at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:404)
at java.util.concurrent.FutureTask.get(FutureTask.java:191)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:818)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1658)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:328)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
@umq
umq / test_tool_test-suite.log
Created June 18, 2013 13:15
test log of milter-manager-1.8.7 FreeBSD/amd64 9.1-RELAESE-p3, ruby-1.9.3.429, rrdtool-1.4.7, ruby-glib2 1.1.5 &c...
====================================================
milter-manager 1.8.7: test/tool/test-suite.log
====================================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
@umq
umq / build.log
Created June 12, 2013 03:44
opendkim build log of develop branch 52a43a98cafa16c294aebc99d6e642c59346ee2a
$ git branch
* develop
master
$ git rev-parse HEAD
52a43a98cafa16c294aebc99d6e642c59346ee2a
$ git diff
diff --git a/opendkim/opendkim-db.c b/opendkim/opendkim-db.c
index 5fac364..a6a275a 100644
--- a/opendkim/opendkim-db.c
+++ b/opendkim/opendkim-db.c
@umq
umq / devel_luaposix.shar
Last active December 16, 2015 02:49
FreeBSD ports patch to make lang/lua52 honor Mk/bsd.lua.mk
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# devel/luaposix
# devel/luaposix/files
# devel/luaposix/files/patch-lposix.c
@umq
umq / gist:5319707
Created April 5, 2013 14:30
nbd build log under FreeBSD
===> Fetching all distfiles required by nbd-server-3.2,1 for building
===> Extracting for nbd-server-3.2,1
=> SHA256 Checksum OK for nbd-3.2.tar.bz2.
===> Patching for nbd-server-3.2,1
===> nbd-server-3.2,1 depends on executable: pkgconf - found
===> nbd-server-3.2,1 depends on shared library: glib-2.0 - found
===> nbd-server-3.2,1 depends on shared library: pcre - found
===> Configuring for nbd-server-3.2,1
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
@umq
umq / XX.m
Created September 27, 2012 14:00 — forked from azurestone/XX.m
空の要素を切り詰める処理
#import <Foundation/Foundation.h>
// gcc -framework Foundation XX.m -o XX.exe
int main(int argc, const char *argv[]){
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
// STEP1 普通にjoinする(空の要素がない場合)
NSArray *array_part_a = [NSArray arrayWithObjects:@"1", @"2", @"3", @"4", @"5", @"6", nil];
NSString *string_a = [array_part_a componentsJoinedByString:@" / "];
@umq
umq / net_nspg.shar
Created August 27, 2012 10:10
FreeBSD port skeleton for nspg < http://nspg.sourceforge.net
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# net/nspg
# net/nspg/Makefile
# net/nspg/pkg-descr
@umq
umq / lang_JSX-0.0.1.shar
Created May 31, 2012 07:16
FreeBSD port skeleton for JSX < https://jsx.github.com/
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# lang/JSX
# lang/JSX/Makefile
# lang/JSX/distinfo
@umq
umq / urcu_perthreadlock.log
Created May 28, 2012 23:17
urcu <http://lttng.org/urcu> test_perthreadlock fails on FreeBSD 10-CURRENT
/sbin/sysctl hw.model
hw.model: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz
/usr/bin/uname -a
FreeBSD decade 10.0-CURRENT FreeBSD 10.0-CURRENT #4: Fri May 4 21:36:51 JST 2012 root@decade:/usr/obj/usr/src/sys/GENERIC amd64
cd /usr/ports/sysutils/userspace-rcu/work/userspace-rcu-0.7.2; make check
Making check in .
Making check in doc
Making check in tests
./test_uatomic
Atomic ops test OK