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 bash | |
| LOG="/tmp/deny.log" | |
| DENY_REPOS_FILE="/home/git/custom_hooks/cyrillic_deny_repos.txt" | |
| PROJECT="${GL_PROJECT_PATH:-unknown}" | |
| echo "=== $(date '+%F %T') push attempt ===" >> "$LOG" | |
| echo "user=${GL_USERNAME:-unknown} project=$PROJECT" >> "$LOG" | |
| deny_policy=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
| #!/usr/bin/env bash | |
| LOG="/tmp/deny.log" | |
| echo "=== $(date '+%F %T') push attempt ===" >> "$LOG" | |
| echo "user=${GL_USERNAME:-unknown} project=${GL_PROJECT_PATH:-unknown}" >> "$LOG" | |
| while read oldrev newrev refname | |
| do | |
| echo "ref: $refname oldrev=$oldrev newrev=$newrev" >> "$LOG" |
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 bash | |
| set -eu | |
| OUT="/tmp/info.txt" | |
| DATE=$(date '+%F %T') | |
| while read oldrev newrev refname | |
| do | |
| echo "=== $DATE ===" >> $OUT | |
| echo "ref: $refname" >> $OUT |
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
| // ==UserScript== | |
| // @name Twitch Clip JSON Collector (Final, URL-based streamer) | |
| // @namespace http://your.namespace/ | |
| // @version 1.9 | |
| // @description Collect Twitch clips with streamer extracted from URL, clean metadata, numeric views and age in seconds. Ctrl+Shift+L to download JSON file + log to console. | |
| // @author You | |
| // @match *://*/* | |
| // @grant none | |
| // ==/UserScript== |
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
| (use-modules | |
| ((srfi srfi-1)) ;; for iota | |
| (ice-9 pretty-print) | |
| (json)) | |
| ;; Custom function to map with index | |
| (define (map-indexed proc lst) | |
| (define (iter idx lst) | |
| (cond ((null? lst) '()) ;; end of list | |
| (else (cons (proc idx (car lst)) (iter (+ idx 1) (cdr lst)))))) |
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
| name: host-broker | |
| root: ./ | |
| pre_window: | | |
| export PAGER=cat | |
| ns=user-bob | |
| vm_name=ubuntu-dev | |
| hostname=$(hostname -s) | |
| nats_from_stream=KN_USER_BOB__HOST_UBUNTU_DEV_FROM | |
| nats_to_stream=KN_USER_BOB__HOST_UBUNTU_DEV_TO |
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
| <map version="freeplane 1.12.1"> | |
| <!--To view this file, download free mind mapping software Freeplane from https://www.freeplane.org --> | |
| <node TEXT="terminal" LOCALIZED_STYLE_REF="AutomaticLayout.level.root" FOLDED="false" ID="ID_1090958577" CREATED="1409300609620" MODIFIED="1740423579896"> | |
| <hook NAME="accessories/plugins/AutomaticLayout.properties" VALUE="ALL"/> | |
| <font BOLD="true"/> | |
| <hook NAME="MapStyle" background="#f9f9f8ff" zoom="1.5"> | |
| <properties show_icon_for_attributes="true" edgeColorConfiguration="#808080ff,#ff0000ff,#0000ffff,#00ff00ff,#ff00ffff,#00ffffff,#7c0000ff,#00007cff,#007c00ff,#7c007cff,#007c7cff,#7c7c00ff" show_tags="UNDER_NODES" show_note_icons="true" associatedTemplateLocation="template:/terminal.mm" fit_to_viewport="false" show_icons="BESIDE_NODES"/> | |
| <tags category_separator="::"/> | |
| <map_styles> |
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
| <map version="freeplane 1.12.1"> | |
| <!--To view this file, download free mind mapping software Freeplane from https://www.freeplane.org --> | |
| <node TEXT="terminal" LOCALIZED_STYLE_REF="AutomaticLayout.level.root" FOLDED="false" ID="ID_1090958577" CREATED="1409300609620" MODIFIED="1740422239954"> | |
| <hook NAME="accessories/plugins/AutomaticLayout.properties" VALUE="ALL"/> | |
| <font BOLD="true"/> | |
| <hook NAME="MapStyle" background="#f9f9f8ff" zoom="1.5"> | |
| <properties show_icon_for_attributes="true" edgeColorConfiguration="#808080ff,#ff0000ff,#0000ffff,#00ff00ff,#ff00ffff,#00ffffff,#7c0000ff,#00007cff,#007c00ff,#7c007cff,#007c7cff,#7c7c00ff" show_tags="UNDER_NODES" show_note_icons="true" associatedTemplateLocation="template:/terminal.mm" fit_to_viewport="false" show_icons="BESIDE_NODES"/> | |
| <tags category_separator="::"/> | |
| <map_styles> |
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
| { | |
| "house": { | |
| "detail": "The house is located on Suze Robertssonstraat 7", | |
| "link": "https://www.google.com/maps/place/Suze+Robertsonstraat+7", | |
| "color": "red: 255, green: 120, blue: 120, alpha: 255", | |
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
| {"menus": [{"shortcut": "Control+Space", "shortcutID": "kando_dynamic", "centered": true, "iconTheme": "material-symbols-rounded", "root": {"type": "submenu", "name": "Kubernetes", "icon": "deployed_code", "iconTheme": "material-symbols-rounded", "children": [{"type": "command", "data": {"command": "", "delayed": false}, "name": "eventing-controller-b974797d9-tts7k", "icon": "terminal", "iconTheme": "material-symbols-rounded"}, {"type": "command", "data": {"command": "", "delayed": false}, "name": "eventing-webhook-545c79cd88-qtf95", "icon": "terminal", "iconTheme": "material-symbols-rounded"}, {"type": "command", "data": {"command": "", "delayed": false}, "name": "imc-controller-686559bb47-5db9l", "icon": "terminal", "iconTheme": "material-symbols-rounded"}, {"type": "command", "data": {"command": "", "delayed": false}, "name": "imc-dispatcher-564778f4f-rcqgp", "icon": "terminal", "iconTheme": "material-symbols-rounded"}, {"type": "command", "data": {"command": "", "delayed": false}, "name": "jetstream-ch-co |
NewerOlder