0
0
20
| 1 | None |
| 1 | None |
| 1 | title: | |
| 2 | {{- if and .run.workflow_id (eq .action "success") }} |
| 3 | ✅ Workflow {{ .run.workflow_id }} success in {{ .run.repository.name }} |
| 4 | |
| 5 | {{- else if and .run.workflow_id (eq .action "failure") }} |
| 6 | ❌ Workflow {{ .run.workflow_id }} failed in {{ .run.repository.name }} |
| 7 | |
| 8 | {{- else if and .run.workflow_id (eq .action "recover") }} |
| 9 | ℹ️ Workflow {{ .run.workflow_id }} recovered in {{ .run.repository.name }} |
| 10 |
| 1 | # Sum of all video durations in folder '6' |
| 2 | find 6 -name "*.mp4" -printf "\"%p\" " | xargs exiftool -n -q -p '${Duration;our $sum;$_=ConvertDuration($sum+=$_)}' | tail -n 1 |
| 1 | DRILL_RELAY_PERIPHERAL = "redstone_relay_5" |
| 2 | CONTROLS_RELAY_PERIPHERAL = "redstone_relay_6" |
| 3 | ENDSTOP_RELAY_PERIPHERAL = "redstone_relay_8" |
| 4 | DRILL_RPM = 32 |
| 5 | MOVE_RPM = 120 |
| 6 | -- The dimensions of the quarry site { x/width, z/length } |
| 7 | LENGTH = { 6, 6 } |
| 8 | |
| 9 | local phDrill = peripheral.wrap(DRILL_RELAY_PERIPHERAL) |
| 10 | local phCtrl = peripheral.wrap(CONTROLS_RELAY_PERIPHERAL) |
| 1 | /* ==UserStyle== |
| 2 | @name discord.com - déc. 2023 |
| 3 | @namespace github.com/openstyles/stylus |
| 4 | @version 1.0.0 |
| 5 | @description A new userstyle |
| 6 | @author Me |
| 7 | ==/UserStyle== */ |
| 8 | |
| 9 | /* Chat view blocks */ |
| 10 | /* Nitro tab */ |
| 1 | #!/bin/bash |
| 2 | #category: setup arguments |
| 3 | main_setup() { |
| 4 | if [ $# -eq 0 ]; then |
| 5 | echo "Please specify a .blend file" |
| 6 | exit |
| 7 | fi |
| 8 | #category: modify arguments |
| 9 | blend_file=$1 |
| 10 | shift |
| 1 | #!/bin/bash |
| 2 | JAR=$(find -type f -name 'paper-*.jar' -printf %f\\n | sort | head -1) |
| 3 | echo Found jar: ${JAR} |
| 4 | while true; do |
| 5 | java -server -Xms1G -Xmx1G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=35 -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -Dusing.aikars.flags=mcflags.emc.gs -jar ${JAR} |
| 6 | echo ""; |
| 7 | for i in {5..1}; do |
| 8 | echo "Server has stopped. Auto-restarting in $i seconds. Ctrl+C to cancel." && sleep 1; |
| 9 | done |
| 10 | sleep 1; |
| 1 | #!/bin/bash |
| 2 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" |
| 3 | if [[ "$#" -lt 1 ]]; then #if less than 1 |
| 4 | echo "Usage: ./download.sh <youtube url> [name of file] " |
| 5 | exit 2 |
| 6 | fi |
| 7 | if [[ "$#" -ne 2 ]]; then |
| 8 | echo Downloading $1 |
| 9 | OUTPUT="$DIR/%(id)s.%(ext)s" |
| 10 | else |
| 1 | // ==UserScript== |
| 2 | // @name Export Blocked Steam Players |
| 3 | // @version 1.0 |
| 4 | // @description Adds a button to export all blocked players |
| 5 | // @author Jackz |
| 6 | // @match http*://steamcommunity.com/id/*/friends/blocked |
| 7 | // @grant GM_setClipboard |
| 8 | // @grant GM_getValue |
| 9 | // @grant GM_setValue |
| 10 | // @grant GM_listValues |
| 1 | // ==UserScript== |
| 2 | // @name Export Steam Workshop Subscriptions |
| 3 | // @version 1.0 |
| 4 | // @description Adds a button to subscribed items page to easily export ALL workshop subscriptions to a simple JSON file. |
| 5 | // @author Jackz |
| 6 | // @match http*://steamcommunity.com/id/*/myworkshopfiles* |
| 7 | // @grant GM_setClipboard |
| 8 | // @grant GM_getValue |
| 9 | // @grant GM_setValue |
| 10 | // @grant GM_listValues |