Let's install Debian 9.0 "Stretch" on QEMU MIPS64 under Ubuntu.
sudo apt install qemu-system-mips
wget http://ftp.debian.org/debian/dists/stretch/main/installer-mips64el/current/images/malta/netboot/vmlinux-4.9.0-8-5kc-malta
| /* https://spectreattack.com/spectre.pdf */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| #ifdef _MSC_VER | |
| #include <intrin.h> /* for rdtscp and clflush */ | |
| #pragma optimize("gt",on) | |
| #else | |
| #include <x86intrin.h> /* for rdtscp and clflush */ | |
| #endif |
| FROM golang:1.9 | |
| WORKDIR /go/src/github.com/purplebooth/example | |
| COPY . . | |
| RUN go build -ldflags "-linkmode external -extldflags -static" -a main.go | |
| FROM scratch | |
| COPY --from=0 /go/src/github.com/purplebooth/example/main /main | |
| CMD ["/main"] |
| obj-m += chardev.o | |
| all: | |
| make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules | |
| clean: | |
| make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean |
| /* eslint-disable no-var */ | |
| var path = require('path'); | |
| var autoprefixer = require('autoprefixer'); | |
| const MATCH_ALL_NON_RELATIVE_IMPORTS = /^\w.*$/i; | |
| module.exports = [{ | |
| output: { | |
| filename: '[name].js', | |
| library: 'atrium-react-plugin-beta', |
| #!/usr/bin/env bash | |
| # Time-stamp: <2014-07-31 13:31:43 (ryanc)> | |
| # | |
| # Description: Mirror traffic between two interfaces using Linux's | |
| # traffic control subsystem (tc) | |
| trap cleanup EXIT | |
| CLEANUP=1 | |
| SRC_IFACE=$1 |
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |
| package main | |
| import ( | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "fmt" | |
| ) | |
| func EncryptAESCFB(dst, src, key, iv []byte) error { | |
| aesBlockEncrypter, err := aes.NewCipher([]byte(key)) |
| obj-m += tcp_svr_sample.o | |
| all: | |
| make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules | |
| clean: | |
| make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clea |