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
cat Puppetfile | tr '\n' '|' | sed 's_,|_, _g' | tr '|' '\n' | sed -n | |
's_^\s*mod\s\+'"'"'\(\S*\)'"'"'\s*,\s*'"'"'\(\S*\)'"'"'\s*$_\1\t\2_p' | | |
sed 's_/_-_' | while read modname version | |
do | |
sourceurl="$(curl -s | |
"https://forgeapi.puppet.com/v3/modules/${modname}" | jq -r | |
'.current_release.metadata.source')" | |
tag="$(git ls-remote --tags "${sourceurl}" | cut -f2 | grep | |
"^refs/tags/v\?${version}\$")" | |
[ -n "${tag}" ] && echo -e "\nmod '${modname}',\n :git => |
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
require 'yaml' | |
require 'json' | |
require 'pathname' | |
require 'digest/sha1' | |
require 'optparse' | |
require 'ostruct' | |
options = OpenStruct.new | |
options.from_metadata = false |
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 | |
function join_by { local d=$1; shift; echo -n "$1"; shift; printf "%s" "${@/#/$d}"; } | |
export LC_ALL=C | |
urls=("$@") | |
data="$(mktemp)" | |
exec 5> >(gnuplot) |
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 | |
MYDIR="${HOME}/.worklog" | |
mkdir -p "${MYDIR}" | |
cd "${MYDIR}" | |
LOGNAME="$(date '+%x').log" | |
touch "${LOGNAME}" |
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 | |
log(){ | |
echo $@ 1>&2 | |
} | |
job="encrypt" | |
outfile="/dev/stdout" | |
privatekey="$HOME/.ssh/id_rsa" |
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 | |
nuls='00000000000000000000000000000000' | |
ones='11111111111111111111111111111111' | |
if [ -n "$2" ] | |
then | |
varprefix=${2}_ | |
fi | |
ip=( $( echo $1 | sed 's/[.\/]/ /g') ) |
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 | |
MODEM="$(mmcli -L | grep -o '/org/freedesktop/ModemManager1/Modem/[0-9]*' | head -1)" | |
BEARER="$(mmcli -m $MODEM --list-bearers | grep -o '/org/freedesktop/ModemManager1/Bearer/[0-9]*' | head -1)" | |
mkdir -p /run/systemd/network | |
connect() { | |
MODEM="$(mmcli -L | grep -o '/org/freedesktop/ModemManager1/Modem/[0-9]*' | head -1)" | |
# hardcode all the things !! (this is for mobile vikings) |
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
0929ae376ef32591a5f13870a703efc2901bfab9 rtc: drop owner assignment from platform_drivers | |
308c09f17da4adc53935115dbeb5bce4f067d8f9 lib/scatterlist: make ARCH_HAS_SG_CHAIN an actual Kconfig | |
4cfb36136480c029a29dbf63a623506e6ed7282b arm64: add support for kernel mode NEON ?? | |
09ec54429c6d10f87d1f084de53ae2c1c3a81108 clocksource: Move cycle_last validation to core code | |
1c851fb189152b6572688fda7fc487ade2a4cb8a pinctrl: fix pinconf_ops::pin_config_dbg_parse_modify kerneldoc (Who backports a documentation fix?) | |
03b054e9696c3cbd3d5905ec96da15acd0a2fe8d pinctrl: Pass all configs to driver on pin_config_set() (reverts pin_config_set_bulk from the android tree ?) | |
0a5b6438ee482696360bb013e67b8488f63d3e9e mmc: add support for HS400 mode of eMMC5.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
simon@BB8 ~/packages/linux-pine64 (git)-[remotes/origin/lichee-dev-v3.10.65] % git diff --stat 'HEAD^..HEAD' | |
.gitignore | 22 + | |
Documentation/DMA-API-HOWTO.txt | 37 +- | |
Documentation/DMA-API.txt | 8 + | |
Documentation/android.txt | 121 + | |
Documentation/arm/small_task_packing.txt | 136 ++ | |
Documentation/arm64/booting.txt | 26 +- | |
Documentation/arm64/memory.txt | 44 +- | |
Documentation/arm64/tagged-pointers.txt |
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 | |
set -e | |
set -x | |
exec 100> "$2.tmp" | |
flock -n 100 | |
curl "$1" -o "/dev/fd/100" |
NewerOlder