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 -*- | |
import argparse | |
import csv | |
def _main(): | |
parser = argparse.ArgumentParser(description="Convert RefFlat to BED format") | |
parser.add_argument('refFlat', type=argparse.FileType('r')) | |
parser.add_argument('outputBed', type=argparse.FileType('w')) |
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 -*- | |
import argparse | |
import csv | |
import sqlite3 | |
import sys | |
import commonlib | |
import collections |
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
__author__ = "Yasunobu OKAMURA" | |
__copyright__ = "Copyright (c) 2012 Y.Okamura" | |
__license__ = "GPL v3+" | |
import xml.parsers.expat | |
import networkx as nx | |
class XGMMLParserHelper(object): | |
""" | |
""" |
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
Hash | H/s | |
---|---|---|
MD4 | 8549200000 | |
MD5 | 4626000000 | |
Half MD5 | 3157900000 | |
SHA1 | 2005600000 | |
SHA256 | 841000000 | |
SHA384 | 202000000 | |
SHA512 | 200500000 | |
SHA-3(Keccak) | 187100000 | |
SipHash | 8700100000 |
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
FROM centos:8 AS download-httpd | |
RUN dnf update -y | |
RUN dnf install -y bzip2 | |
ARG HTTPD_VERSION=2.4.48 | |
ARG APR_VERSION=1.7.0 | |
ARG APR_UTIL_VERSION=1.6.1 | |
RUN curl -OL https://ftp.tsukuba.wide.ad.jp/software/apache/httpd/httpd-${HTTPD_VERSION}.tar.bz2 | |
RUN curl -OL https://ftp.kddi-research.jp/infosystems/apache/apr/apr-${APR_VERSION}.tar.bz2 | |
RUN curl -OL https://ftp.kddi-research.jp/infosystems/apache/apr/apr-util-${APR_UTIL_VERSION}.tar.gz | |
RUN tar xjf httpd-${HTTPD_VERSION}.tar.bz2 |
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> | |
#include <errno.h> | |
#include <windows.h> | |
#include <stdlib.h> | |
#include <string.h> | |
void wait_key(); | |
int main() | |
{ |
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 <M5StickCPlus.h> | |
#include <Wire.h> | |
#include <SparkFun_GridEYE_Arduino_Library.h> | |
GridEYE grideye; | |
void setup() { | |
// put your setup code here, to run once: | |
M5.begin(); | |
Wire.begin(0,26); |
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
FROM centos:7 AS jdk-download | |
RUN yum update -y | |
RUN curl -o jdk11u.tar.gz -L https://hg.openjdk.java.net/jdk-updates/jdk11u/archive/0b0d55cb09b2.tar.gz | |
FROM centos:7 | |
RUN yum update -y | |
RUN yum install -y java-11-openjdk-devel autoconf automake bison flex gcc gcc-c++ gcc-gfortran kernel-devel make m4 patch tar bzip2 gzip xz file gmp-devel mpfr-devel wget rsync unzip zip libXtst-devel libXt-devel libXrender-devel cups-devel alsa-lib-devel freetype-devel which ccache mercurial bison flex gperf ksh pkgconfig libpng-devel libjpeg-devel libxml2-devel libxslt-devel systemd-devel glib2-devel gtk2-devel libXtst-devel pango-devel freetype-devel libXxf86vm-devel mesa-libGL-devel mesa-libGLU-devel mesa-libGLw-devel | |
COPY --from=jdk-download /jdk11u.tar.gz . | |
RUN tar xzf /jdk11u.tar.gz | |
WORKDIR /jdk11u-0b0d55cb09b2 |
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> | |
#include <string.h> | |
#include <Carbon/Carbon.h> | |
int main(int nargs, char** argv) { | |
if (nargs != 2) { | |
fprintf(stderr, "%s (on|off)\n", argv[0]); | |
return 1; | |
} | |
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
FROM centos:7 AS download-wine | |
WORKDIR /download | |
RUN curl -OL https://dl.winehq.org/wine/source/5.x/wine-5.4.tar.xz | |
RUN tar xJf wine-5.4.tar.xz | |
FROM centos:7 | |
RUN yum update -y | |
RUN yum install samba-winbind-clients -y | |
RUN yum -y groupinstall base "Development tools" --setopt=group_package_types=mandatory,default,optional | |
RUN yum install -y libjpeg-turbo-devel libtiff-devel freetype-devel glibc-devel.{i686,x86_64} libgcc.{i686,x86_64} \ |