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 nvidia/cuda:10.0-cudnn7-devel-ubuntu18.04 as cuda | |
ENV DEBIAN_FRONTEND=noninteractive | |
ENV NVIDIA_DRIVER_CAPABILITIES utility,compute | |
ENV NVIDIA_VISIBLE_DEVICES all | |
RUN sed -i'~' -E "s@http://(..\.)?(archive|security)\.ubuntu\.com/ubuntu@http://jp.archive.ubuntu.com/ubuntu@g" /etc/apt/sources.list \ | |
&& apt-get update \ | |
&& apt-get install --yes --no-install-recommends \ | |
build-essential \ |
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
Windows Registry Editor Version 5.00 | |
[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 |
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 os | |
import sys | |
import glob | |
from PIL import Image | |
classes = { | |
'Car' : 0, | |
'Van' : 1, | |
'Truck' :2, |
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 glob, os, sys | |
# Current directory | |
data_dir = sys.argv[1] | |
print(data_dir) | |
# Percentage of images to be used for the test set | |
percentage_test = 10 |
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 ubuntu:bionic | |
ENV DEBIAN_FRONTEND=noninteractive | |
ENV DEBCONF_NOWARNINGS=yes | |
RUN apt-get update \ | |
&& apt-get install -y software-properties-common \ | |
&& add-apt-repository multiverse \ | |
&& dpkg --add-architecture i386 \ | |
&& apt-get update \ |
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
package main | |
import ( | |
"crypto/tls" | |
"flag" | |
"log" | |
"net/http" | |
"time" | |
) |
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 | |
from mutagen.mp4 import MP4, MP4Cover | |
from io import BytesIO | |
from PIL import Image | |
import pathlib | |
import math | |
files = list(pathlib.Path(".").glob("**/*.m4a")) | |
for f in files: | |
print(f) |
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 perl | |
$latex = "uplatex -synctex=1 -interaction=nonstopmode -shell-escape -halt-on-error"; | |
$latex_silent = "uplatex -synctex=1 -interaction=batchmode -shell-escape -halt-on-error"; | |
$lualatex = "lualatex -synctex=1 -interaction=nonstopmode -shell-escape -halt-on-error"; | |
$xelatex = "xelatex -synctex=1 -interaction=nonstopmode -shell-escape -halt-on-error"; | |
$bibtex = "upbibtex"; | |
$biber = "biber --bblencoding=utf8 -u -U --output_safechars"; | |
$dvipdf = "dvipdfmx %O -o %D %S"; | |
$makeindex = "upmendex %O -o %D %S"; | |
$max_repeat = 5; |
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
AgileBits.1Password | |
7zip.7zip | |
GnuPG.Gpg4win | |
Nextcloud.NextcloudDesktop | |
WireGuard.WireGuard | |
OpenVPNTechnologies.OpenVPNConnect | |
Adobe.Acrobat.Reader.64-bit | |
Microsoft.Office | |
Microsoft.VC++2015-2022Redist-x86 |
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
# syntax = docker/dockerfile:1.3-labs | |
ARG UBUNTU_VERSION=20.04 | |
ARG CUDA_SDK_VERSION=11.3.0 | |
FROM nvidia/cuda:${CUDA_SDK_VERSION}-devel-ubuntu${UBUNTU_VERSION} | |
SHELL ["/bin/sh", "-e", "-c"] | |
ENV DEBIAN_FRONTEND=noninteractive | |
ENV NVIDIA_VISIBLE_DEVICES all |