Skip to content

Instantly share code, notes, and snippets.

@user-hq
user-hq / ipfs-portage.sh
Last active December 29, 2024 15:18
ipfs-portage.sh
#!/bin/bash
IPFS_KEY="portage-distfiles"
IPFS_DIR="/${IPFS_KEY}"
DIR=~/${IPFS_KEY}/
echo "files: find new"
found=$(ipfs files ls ${IPFS_DIR})
files=$(find ${DIR} -maxdepth 1 -type f -not \( -path '*/[@.]*' -o -iname '*.__download__*' -o -iname '*fail*' \) $(printf " -not -name %s " ${found}))
<!-- Action map for the Sony Corp. DualShock 4 [CUH-ZCT2x] Preset - Triggers Accelerate and Brake -->
<ActionMap name="CUH-ZCT2x" device_type_id="{09CC054C-0000-0000-0000-504944564944}" priority="0">
<!-- In Game Actions -->
<Action id="Accelerate">
<Axis id="di_y_axis_rotation" type="uniDirPos" deadzone="0.0" saturation="1.0" />
</Action>
<Action id="Brake">
<Axis id="di_x_axis_rotation" type="uniDirPos" deadzone="0.0" saturation="1.0" />
</Action>