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
| create table `journal` (`ordering` BIGINT NOT NULL AUTO_INCREMENT UNIQUE,`deleted` BOOLEAN DEFAULT false NOT NULL,`persistence_id` VARCHAR(255) NOT NULL,`sequence_number` BIGINT NOT NULL,`message` BLOB NOT NULL,`tags` VARCHAR(255)); | |
| create table `snapshot` (`persistence_id` VARCHAR(255) NOT NULL,`sequence_number` BIGINT NOT NULL,`created` BIGINT NOT NULL,`snapshot` BLOB NOT NULL); | |
| create table `read_side_offsets` (`read_side_id` VARCHAR(255) NOT NULL,`tag` VARCHAR(255) NOT NULL,`sequence_offset` BIGINT,`time_uuid_offset` CHAR(36)); |
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
| # -*- coding: utf-8 -*- | |
| # | |
| # Machine Tracking Analyzer | |
| # Authored by TADOKORO Saneyuki <s1311374@coins.tsukuba.ac.jp> | |
| # | |
| import re | |
| import sys | |
| import csv | |
| import time |
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
| --- /etc/systemd/system/docker.service.docker.service.backup 2016-01-31 09:51:02.569993126 +0000 | |
| +++ /etc/systemd/system/docker.service 2016-01-31 09:52:02.743326100 +0000 | |
| @@ -6,7 +6,7 @@ | |
| [Service] | |
| Type=notify | |
| -ExecStart=/usr/bin/docker daemon -H fd:// --exec-opt native.cgroupdriver=cgroupfs | |
| +ExecStart=/usr/bin/docker daemon -H fd:// -H tcp://0.0.0.0:2375 --exec-opt native.cgroupdriver=cgroupfs | |
| MountFlags=slave | |
| LimitNOFILE=1048576 |
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
| FROM ubuntu:15.10 | |
| MAINTAINER TADOKORO Saneyuki saneyan@gfunction.com | |
| RUN sed -i".bak" -e 's/\/\/archive.ubuntu.com/\/\/ftp.jaist.ac.jp/g' /etc/apt/sources.list | |
| RUN apt-get update \ | |
| && apt-get upgrade -y \ | |
| && apt-get -y install wget libopencv-dev build-essential cmake git libgtk2.0-dev pkg-config python-dev python-numpy libdc1394-22 libdc1394-22-dev libjpeg-dev libpng12-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev libtbb-dev libqt4-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev x264 v4l-utils unzip | |
| WORKDIR /tmp |
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
| diff -ur iscsitarget/kernel/conn.c iscsitarget.patched/kernel/conn.c | |
| --- iscsitarget/kernel/conn.c 2015-05-05 18:11:24.000000000 +0000 | |
| +++ iscsitarget.patched/kernel/conn.c 2015-05-05 18:01:40.000000000 +0000 | |
| @@ -127,7 +127,7 @@ | |
| dprintk(D_GENERIC, "%llu\n", (unsigned long long) session->sid); | |
| - conn->sock = SOCKET_I(conn->file->f_dentry->d_inode); | |
| + conn->sock = SOCKET_I(conn->file->f_path.dentry->d_inode); | |
| conn->sock->sk->sk_user_data = conn; |
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
| #!/bin/sh | |
| # | |
| # LibreSSL Setup Script authored by TADOKORO Saneyuki | |
| # Date: 8th April, 2015 | |
| # | |
| tdir=/tmp/$(whoami)-libressl-install | |
| prefix=/usr/include/libressl | |
| function install() { |
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
| #coding: utf-8 | |
| import re | |
| strs = [ | |
| 'Output TRUE if you find any of ({[< corresponding to >)}]', | |
| 'There is no pair of ({[< in this sentence' | |
| ] | |
| def match_tag(target): |
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
| #!/bin/sh | |
| # | |
| # lnfind : Find symlinks or symlinks of original file. | |
| # | |
| # example: | |
| # # When this command prints: | |
| # ls -l $HOME | grep .vimrc # ... /home/user/.vimrc -> /home/user/.vim/vimrc | |
| # | |
| # # it should find like: | |
| # lnfind $HOME .vimrc # Outputs '/home/user/.vimrc' |
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
| module Array; | |
| import std.stdio; | |
| auto HashExpander(T, alias lambda, I)(I hash) | |
| { | |
| int i = 0; | |
| T[] result = new T[hash.length]; | |
| foreach (key; hash.keys) |
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
| REGEDIT4 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
| "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00 |
NewerOlder