- zeromq: stable 3.2.2
- go: 1.0.3
- gozmq: zmq_3_x
- python: 2.7.3
- pyzmq: 13.0.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 ruby | |
# | |
# splitpatch is a simple script to split a patch up into multiple patch files. | |
# if the --hunks option is provided on the command line, each hunk gets its | |
# own patchfile. | |
# | |
# Copyright (C) 2007, Peter Hutterer <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by |
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
# $UBIFS is ubifs image file | |
# make sure $IMAGE is a ubifs image file | |
blkid $(IMAGE) | |
$(IMAGE): ... TYPE="ubifs" | |
# size of created mtd is 256.0 MiB | |
modprobe nandsim first_id_byte=0x2c second_id_byte=0xda third_id_byte=0x90 fourth_id_byte=0x95 | |
flash_erase /dev/mtd0 0 0 | |
ubiformat /dev/mtd0 -s 2048 -O 2048 | |
modprobe ubi |
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 | |
[[ $UID == 0 ]] || { echo "run as sudo to install"; exit 1; } | |
REPO="https://github.com/BurntSushi/ripgrep/releases/download/" | |
RG_LATEST=$(curl -sSL "https://api.github.com/repos/BurntSushi/ripgrep/releases/latest" | jq --raw-output .tag_name) | |
RELEASE="${RG_LATEST}/ripgrep-${RG_LATEST}-x86_64-unknown-linux-musl.tar.gz" | |
TMPDIR=$(mktemp -d) | |
cd $TMPDIR | |
wget -O - ${REPO}${RELEASE} | tar zxf - --strip-component=1 |