This file contains hidden or 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/sh | |
| set -e | |
| usage() { | |
| local p=$(basename $0) | |
| cat <<EOF >&2 | |
| $p - Run QEMU/KVM | |
| Usage: $p <rootfs-or-image> <qemu-options...> -- <boot-options...> | |
| Example: | |
| # $p /n/sid64 |
This file contains hidden or 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/sh | |
| set -e | |
| usage() { | |
| local p=$(basename $0) | |
| cat <<EOF >&2 | |
| $p - Simple wrapper to run QEMU/KVM in various configurations | |
| Usage: $p <rootfs-or-image> <qemu-options...> -- <boot-options...> | |
| Example: | |
| # $p /n/sid64 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| /*BINFMTC: -Wall | |
| */ | |
| #include <stdio.h> | |
| #include <fcntl.h> | |
| #include <unistd.h> | |
| #include <strings.h> | |
| #include <sys/ioctl.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> |
This file contains hidden or 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
| /*BINFMTC: -Wall | |
| */ | |
| #include <stdio.h> | |
| #include <fcntl.h> | |
| #include <unistd.h> | |
| #include <stdlib.h> | |
| #include <sys/ioctl.h> | |
| #include <sys/types.h> |
This file contains hidden or 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
| // | |
| // blink test for PIC18K14K50 | |
| // | |
| #define _XTAL_FREQ 16000000 /* depends on FOSC and OSCCON */ | |
| #include <xc.h> | |
| // configure clock | |
| #pragma config CPUDIV=NOCLKDIV, USBDIV=OFF | |
| #pragma config FOSC=IRC, PLLEN=OFF |
This file contains hidden or 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 sys | |
| import os | |
| from argparse import ArgumentParser | |
| from google.cloud import translate | |
| def format_usage(): | |
| p = os.path.basename(sys.argv[0]) |
This file contains hidden or 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 | |
| usage() { | |
| local p=$(basename $0) | |
| cat <<EOF >&2 | |
| $p - List changed file that may be in other version tree | |
| Usage: $p <tag> | |
| Example: | |
| // current state is based on v2.6.32 | |
| $ git log -1 --oneline |
This file contains hidden or 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 | |
| usage() { | |
| local p=$(basename $0) | |
| cat <<EOF >&2 | |
| $p - List extra files that appeared between versions | |
| Usage: $p <since-ver> <other-ver> | |
| Example: | |
| // current state is based on v2.6.32 | |
| $ git log -1 --oneline |
This file contains hidden or 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/sh | |
| usage() { | |
| local p=$(basename $0) | |
| cat <<EOF >&2 | |
| $p - List extra files that already exists in given version | |
| Usage: $p <version-spec> <files...> | |
| Example: | |
| // Current is v2.6.32 + patch - reverts | |
| $ git log -2 --oneline |