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
| (function () { | |
| let handle; | |
| let start = function () { | |
| function get () | |
| liberator.modules.util.readFromClipboard().replace(/\n/g, ' ').trim(); | |
| if (handle) | |
| return; |
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
| ; For https://bitbucket.org/anekos/iron-maiden-cl | |
| ; Hyprland {{{ | |
| (defvar *hyprland-mutex* (sb-thread:make-mutex :name "hyprland-mutex")) | |
| (defvar *hyprland-active-window-class* nil) | |
| (defun extract-hyprland-active-window (line) | |
| (let ((prefix "activewindow>>")) | |
| (when (and (stringp line) |
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
| evernote_doAction( document.popupNode, 'CLIP_ACTION_FULL_PAGE' ); | |
| evernote_doAction( document.popupNode, 'CLIP_ACTION_IMAGE' ); | |
| evernote_doAction( document.popupNode, 'CLIP_ACTION_SELECTION' ); | |
| evernote_doAction( document.popupNode, 'CLIP_ACTION_URL' ); | |
| evernote_doAction( document.popupNode, 'NEW_NOTE_ACTION' ); |
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 | |
| # Usage: add-random [[NUMBER [FILTER]] | |
| sels="${1:-10}" | |
| filter="${2:-}" | |
| mpc listall | grep "$filter" | shuf | head "-n" "$sels" | while read selected | |
| do | |
| echo "$selected" |
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/ruby | |
| #[=c= ruby -rubygems % ] | |
| class HTMLBuilder | |
| def initialize (tag_name = 'html', indent = 0, &block) | |
| @indent = indent | |
| @tag_name = tag_name | |
| @attrs = {} | |
| @contents = [] | |
| self.instance_eval(&block) |
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
| SELECT | |
| host, | |
| MAX(usage_user), | |
| time_bucket('10min', time) AS bucket | |
| FROM | |
| telegraf.cpu | |
| WHERE | |
| ( | |
| to_timestamp($__unixEpochFrom()) - | |
| (NOW() - NOW() AT TIME ZONE 'UTC') |
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
| for n in $(seq 1 8) | |
| do | |
| curl "https://www.google.com/logos/fnbx/animal_paws/audio/cat_sound_${n}.mp3" > "/tmp/xmosh/cat_sound_${n}.mp3" | |
| done | |
| for n in $(seq 1 9) | |
| do | |
| curl "https://www.google.com/logos/fnbx/animal_paws/cat_paw_${n}.png" > "/tmp/xmosh/cat_paw_${n}.png" | |
| done |
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 -euC | |
| # set -o pipefail | |
| # exec 5>> /tmp/xmosh/shell-script-debug.out | |
| # BASH_XTRACEFD="5" | |
| # PS4='$LINENO: ' | |
| # set -x |
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
| // http://www.iconshock.com/flat-icons/general-icons/audio-volume-none-icon | |
| // https://www.svgrepo.com/svg/47144/air-conditioner | |
| // https://www.flaticon.com/packs/characters-and-numbers | |
| // https://github.com/Lange/node-elgato-stream-deck | |
| // https://github.com/joshmarinacci/node-pureimage | |
| const FS = require('fs'); | |
| const HTTP = require('http'); | |
| const PImage = require('pureimage'); | |
| const Path = require('path'); |
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
| 2022-04-08 | |
| 早くかくしな。 おおさめ下さい。 | |
| ごめんね。Sebastian, だっことそ。 | |
| &い)石けん。毎日良い臭い。におい。 | |
| 石好き。 | |
| リんご。Quartz ボこん。石好を | |
| Franc | |
| Franc | |
| 九五六-Chang | |
| 風呂入れ。ファシ。 |
NewerOlder