Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@andrewzigerelli
andrewzigerelli / .config
Created December 2, 2018 23:36
working kernel config for gem5
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.19.0 Kernel Configuration
#
#
# Compiler: x86_64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2018.05-00002-gbc60382b8f) 6.4.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=60400
/home/andrew/Research/linux-kernel-module-cheat/out/qemu/default/x86_64-softmmu/qemu-system-x86_64 \
-device rtl8139,netdev=net0 \
-gdb tcp::55455 \
-kernel /home/andrew/Research/linux-kernel-module-cheat/out/linux/default/x86_64/arch/x86/boot/bzImage \
-m 256M \
-monitor telnet::55457,server,nowait \
-netdev user,hostfwd=tcp::55455-:55455,hostfwd=tcp::55456-:22,id=net0 \
-no-reboot \
-smp 1 \
-virtfs local,path=/home/andrew/Research/linux-kernel-module-cheat/data/9p,mount_tag=host_data,security_model=mapped,id=host_data \
#!/bin/bash
#SBATCH --job-name=gem5-frequency_collection
#SBATCH --qos=short
#SBATCH --mem=38g
#SBATCH --error=gem5-frequency_collection_%A_%a.err
#SBATCH --cluster=smp
#SBATCH --mail-user=anz37@pitt.edu
#SBATCH --mail-type=ALL
#SBATCH --time=2-00:00:00
#SBATCH --output=gem5-frequency_collection_%A_%a.out
@andrewzigerelli
andrewzigerelli / Dockerfile
Created May 5, 2021 17:21
leetcode-cli Dockerfile
FROM debian:stable-slim
# change to login shell so we can source
SHELL ["/bin/bash", "-l", "-c", "-o", "pipefail"]
# needed for npm
WORKDIR /root/
# install needed packages
RUN apt-get update && \