Skip to content

Instantly share code, notes, and snippets.

@raumi75
raumi75 / getthrottled.sh
Created February 14, 2023 15:46
Output vcgencmd get_throttled in human readable form for raspberrypi
#!/bin/bash
# Based on
# https://github.com/mschlenstedt/Loxberry/issues/952#issuecomment-496220904
# extended SOFT_TEMP_LIMIT
#Flag Bits
UNDERVOLTED=0x1
CAPPED=0x2
THROTTLED=0x4
@raumi75
raumi75 / preserve_on_blur.js
Last active November 2, 2019 10:31 — forked from roooodcastro/preserve_on_blur.js
Selectize plugin - Select or preserve onBlur
/**
* Plugin: "preserve_on_blur" (selectize.js)
* Copyright (c) 2016 Eric M. Klingensmith
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at:
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF