Skip to content

Instantly share code, notes, and snippets.

Yasunobu Okamura informationsea

Block or report user

Report or block informationsea

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@informationsea
informationsea / Dockerfile
Last active Nov 11, 2019
Build LLVM for Cent OS 7
View Dockerfile
FROM centos:7 AS download-llvm
ENV LLVM_VERSION 9.0.0
RUN mkdir -p /download
WORKDIR /download
RUN curl -OL https://releases.llvm.org/${LLVM_VERSION}/llvm-${LLVM_VERSION}.src.tar.xz &&\
curl -OL https://releases.llvm.org/${LLVM_VERSION}/cfe-${LLVM_VERSION}.src.tar.xz &&\
curl -OL https://releases.llvm.org/${LLVM_VERSION}/compiler-rt-${LLVM_VERSION}.src.tar.xz &&\
curl -OL https://releases.llvm.org/${LLVM_VERSION}/libcxx-${LLVM_VERSION}.src.tar.xz &&\
curl -OL https://releases.llvm.org/${LLVM_VERSION}/libcxxabi-${LLVM_VERSION}.src.tar.xz &&\
curl -OL https://releases.llvm.org/${LLVM_VERSION}/libunwind-${LLVM_VERSION}.src.tar.xz &&\
@informationsea
informationsea / Dockerfile
Created Jan 7, 2019
Grid Engine build on CentOS7
View Dockerfile
FROM centos:7
RUN yum update -y
RUN yum install -y tcsh gcc gcc-c++ make autoconf automake libtool openssl-devel memkind-devel libdb-devel ncurses-devel pam-devel libXmu-devel libXpm-devel motif-devel hwloc-devel ant ant-nodeps javacc junit java-1.7.0-openjdk-devel
RUN mkdir -p build
WORKDIR /build
RUN curl -OL https://github.com/son-of-gridengine/sge/archive/819.tar.gz && tar xzf 819.tar.gz
WORKDIR /build/sge-819/source
RUN sh scripts/bootstrap.sh
RUN ./aimk -no-herd -pam
RUN ./aimk -man
@informationsea
informationsea / Emacs.kms
Created Dec 15, 2018
Emacs like key bind for Qt Creator on Windows/Linux (Emacs Plugin is required)
View Emacs.kms
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE KeyboardMappingScheme>
<!-- Written by Qt Creator 4.8.0, 2018-12-15T21:05:52. -->
<mapping>
<shortcut id="Perforce.DiffCurrent"/>
<shortcut id="ModelEditor.Action.Explorer.OpenDiagram"/>
<shortcut id="Macros.ExecuteLastMacro">
<key value="Alt+R"/>
</shortcut>
<shortcut id="Macros.EndMacro">
@informationsea
informationsea / instruction.md
Created Dec 12, 2018
VritualBox Guest Addition 5.2.22 Patch for Cent OS 7.6
View instruction.md
@informationsea
informationsea / Dockerfile
Created Nov 6, 2018
Dockerfile to build fuse-zip
View Dockerfile
FROM centos:7
RUN yum update -y
RUN yum install -y epel-release
RUN yum install -y gcc gcc-c++ make cmake3 cmake fuse-devel openssl-devel zlib-devel bzip2-devel chrpath patchelf
RUN mkdir -p /build
WORKDIR /build
RUN curl -OL https://libzip.org/download/libzip-1.5.1.tar.gz
RUN tar xzf libzip-1.5.1.tar.gz
WORKDIR /build/libzip-1.5.1
ENV PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig LD_LIBRARY_PATH=/usr/local/lib64:/usr/lib64
View simple-repeat.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import argparse
import cyvcf2
import pyfaidx
import sys
def _main():
parser = argparse.ArgumentParser(description="Simple Repeat Variant Detector")
@informationsea
informationsea / transproxy-helper.py
Last active May 14, 2018
use go-transproxy with FreeBSD, macOS
View transproxy-helper.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import argparse
import ipaddress
import itertools
import subprocess
import tempfile
import os
import signal
@informationsea
informationsea / add_path.sh
Created Apr 23, 2018
configure environment variables
View add_path.sh
function add_path() {
if [ ! -d $1 ];then
return
fi
NEWPREFIX=$1
case ":$PATH:" in
*":$NEWPREFIX/bin:"*) return;;
@informationsea
informationsea / insert-pitapa.py
Created Jun 5, 2017
Insert PiTaPa CSV to GnuCash
View insert-pitapa.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import argparse
import csv
import sqlite3
import sys
import datetime
import pytz
import collections
@informationsea
informationsea / hashcat-benchmark.csv
Created Jan 12, 2017
Hashcat Benchmark on AWS p2.xlarge instance
View hashcat-benchmark.csv
Hash H/s
MD4 8549200000
MD5 4626000000
Half MD5 3157900000
SHA1 2005600000
SHA256 841000000
SHA384 202000000
SHA512 200500000
SHA-3(Keccak) 187100000
SipHash 8700100000
You can’t perform that action at this time.