- install lm-sensors with your package manager
sensors
If it won't show any fan/speed, continue
sensor-detect
// | |
// Demo sketch to read the data from a RadioLand RDL52832 iBeacon | |
// | |
// Displays the data on an M5StickC-Plus without using the M5Stack library | |
// Also works on the Nano33 BLE | |
// Parses (in a brute-force way) the large advertisement packet transmitted | |
// by the iBeacon. | |
// | |
// Written by Larry Bank |
from ctypes import * | |
# implemented from: | |
# http://referencesource.microsoft.com/#mscorlib/system/random.cs,dec894a7e816e665 | |
class Random(object): | |
def __init__(self, seed): | |
self.seed = c_int(seed).value | |
self.MBIG = 2147483647 | |
self.MMIN = -2147483648 | |
self.MZ = 0 | |
self.MSEED = 161803398 |
/* | |
* Simple proxy between USB2DMX adapter cables and UDP senders | |
* | |
* Compile with: | |
* | |
* gcc -o dmx-udp dmx-udp.c $(pkg-config --cflags --libs libftdi1) -Wall | |
* | |
* This program is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU General Public License | |
* as published by the Free Software Foundation; either version 2 |
<xml id="toolbox" style="display: none"> | |
<category name="{catLogic}" colour="210"> | |
<block type="controls_if"></block> | |
<block type="logic_compare"></block> | |
<block type="logic_operation"></block> | |
<block type="logic_negate"></block> | |
<block type="logic_boolean"></block> | |
<block type="logic_null"></block> | |
<block type="logic_ternary"></block> | |
</category> |
#!/bin/bash | |
if [ $# -lt 2 ]; then | |
echo "usage:$0 dev output_dir [iodepth]" | |
echo "example 1: Testing the whole block device. Attention: That will destory the filesystem on the target block device" | |
echo "./run_fio.sh /dev/sdb fio_test" | |
echo "" | |
echo "example 2: Testing a file, but not destory filesystem. Suppose the target device mount on /data" | |
echo "fallocate -l 1G /data/test.dat" | |
echo "./run_fio.sh /data/test.dat fio_test" |
echo -e "\e[1;40m" ; clear ; while :; do echo $LINES $COLUMNS $(( $RANDOM % $COLUMNS)) $(( $RANDOM % 72 )) ;sleep 0.05; done|awk '{ letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%^&*()"; c=$4; letter=substr(letters,c,1);a[$3]=0;for (x in a) {o=a[x];a[x]=a[x]+1; printf "\033[%s;%sH\033[2;32m%s",o,x,letter; printf "\033[%s;%sH\033[1;37m%s\033[0;0H",a[x],x,letter;if (a[x] >= $1) { a[x]=0; } }}' |