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 Dockerfile
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 |
View ffmpeg-converter.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
#include <stdio.h> | |
#include <errno.h> | |
#include <windows.h> | |
#include <stdlib.h> | |
#include <string.h> | |
void wait_key(); | |
int main() | |
{ |
View grideye.uno
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); |
View pem-to-jwk-encode.rs
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
use clap::{crate_authors, crate_version, App, Arg}; | |
use simple_asn1::ASN1Block; | |
use std::fs; | |
use std::io::prelude::*; | |
use std::str; | |
fn main() { | |
let matches = App::new("view-ans1") | |
.version(crate_version!()) | |
.author(crate_authors!()) |
View Dockerfile
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 |
NewerOlder