View crossthread.c
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
/* | |
* light weight pthread compatible library for Windows | |
* (C) 2009 Okamura Yasunobu | |
*/ | |
#include "crossthread.h" | |
#include <stdio.h> | |
#ifdef _WIN32 |
View nothing-installer.iss
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
[Setup] | |
AppId={{3DD1237A-78BD-4E14-9AC6-2376BE4E3B1B} | |
AppName="Nothing Installer" | |
AppVersion=1.0 | |
Uninstallable=no | |
OutputBaseFilename=nothing-installer | |
DefaultDirName={autopf} | |
DisableDirPage=yes | |
DisableProgramGroupPage=yes |
View pubmed-format.py
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 python3 | |
import argparse | |
import xml.etree.ElementTree as ET | |
def _main(): | |
parser = argparse.ArgumentParser(description='') | |
parser.add_argument('pubmed_xml') | |
options = parser.parse_args() |
View font-download-install.sh
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
#!/bin/bash | |
set -eux -o pipefail | |
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; )"; | |
DOWNLOAD_DIR="${SCRIPT_DIR}/downloads" | |
FILES_DIR="${SCRIPT_DIR}/files" | |
function download() { | |
URL="$1" |
View fill-data.ps1
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
$FillData1 = "" | |
for ($i = 0; $i -lt 1000; $i++) { | |
$FillData1 += "0" | |
} | |
$FillData2 = "" | |
for ($i = 0; $i -lt 1000; $i++) { | |
$FillData2 += $FillData1 |
View install-almalinux.sh
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
#!/bin/bash | |
function install-almalinux-usage() { | |
cat <<EOF 1>&2 | |
$0 [options] name | |
-l INSTALL_ISO AlmaLinux ISO [Example: ${VM_INSTALL_ISO}] | |
-b BOOTPROTO IPv4 boot protocol (dhcp/static) [Example: ${VM_IP_BOOTPROTO}] | |
-i IP_ADDR IPv4 address [Example: ${VM_IP_ADDR}] | |
-m IP_NETMASK IPv4 netmask [Example: ${VM_IP_NETMASK}] |
View refFlat2Bed.py
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')) |
View refFlat2mergedBedFile.py
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 |
View xgmml_networkx.py
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): | |
""" | |
""" |
View hashcat-benchmark.csv
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 |
NewerOlder