This file contains 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 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 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 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 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 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 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 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 | |
風呂入れ。ファシ。 |
This file contains 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 Auto jump to origin - getpocket | |
// @namespace Violentmonkey Scripts | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://getpocket.com/read/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none | |
// ==/UserScript== |
This file contains 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
@-moz-document domain("chrome.google.com") { | |
img[src="https://lh3.googleusercontent.com/cf8qK3xF5SiuKQGaVC_J39ztLtZkjZ-YLl-Lja85-gadBMZUJ_JTOy_rMkQi6yrFJpNCordAHg=w128-h128-e365-rj-sc0x00ffffff"] { | |
filter: blur(2px); | |
} | |
} |
NewerOlder