Skip to content

Instantly share code, notes, and snippets.

View supermicro_fancontrol.sh
#!/bin/sh
# ipmitool raw 0x30 0x70 0x66 0x01 0xY 0xZ
# Y:
# 00 = main (FAN1-FAN6) zone
# 01 = system (FANA-FANB) zone
# Z:
# 00 = off
# 32 = 50%
# 64 = 100%
/usr/local/bin/ipmitool raw 0x30 0x70 0x66 0x01 0x00 0x32
@Savagedlight
Savagedlight / DarkMonokai.qss
Created Jun 12, 2020 — forked from Zren/DarkMonokai.qss
Dark Monokai - Quassel Theme (qss)
View DarkMonokai.qss
/**
** ____ _ ___ ___ _ _
** | _ \ | | | \/ | | | (_)
** | | \ |__ _ _ __| | __ | . . | ___ _ __ ___ | | __ __ _ _
** | | | | _` | '__| |/ / | |\/| |/ _ \| '_ \ / _ \| |/ // _` | |
** | |_/ /(_| | | | < | | | | (_) | | | | (_) | <| (_| | |
** |____/\__,_|_| |_|\_\ \_| |_/\___/|_| |_|\___/|_|\_\\__,_|_|
**
** Quassel Theme
**
View NTNU-COVID19-TEST-SUMMARY
TL;DR: NTNU fixed the covid-19 testing bottleneck, which hopefully means we can ramp up testing
Source: https://www.universitetsavisa.no/koronavirus/2020/03/30/NTNU-forskere-har-laget-ny-testmetode-for-koronaviruset-21485950.ece
English Summary:
Researchers at NTNU (Norwegian University of Science and Technology) have developped a new COVID-19 testing method.
The current bottleneck in testing is in isolating the viruses RNA in the collected samples.
This method use magnetic nano-balls with a coating which attracts RNA to isolate the RNA from samples. This process can be done by hand, but it is apparently also trivial to configure robots which already exist in most diagnostic labs to do that part of the job, much more efficiently.
@Savagedlight
Savagedlight / upgrader_default.log
Last active Aug 17, 2020
Windows 10 upgrade from 1809 to 1905 seems to fail on Ryzen desktop because it can't find a battery.
View upgrader_default.log
2019-05-25 19:55:39.415, Info Calling js function to transform state Installing: javascript:updateControls(180, "InstallProgress:71\n")
2019-05-25 19:55:39.416, Info Calling js function to transform state Installing: javascript:updateControls(180, "InstallProgress:71\n")
2019-05-25 19:55:39.416, Info Calling js function to transform state Installing: javascript:updateControls(180, "InstallProgress:71\nFakeInstallProgress:true\n")
2019-05-25 19:55:41.337, Info AC Power: sleep is already disabled
2019-05-25 19:55:41.337, Info isSleepDisabled: 1
2019-05-25 19:55:41.337, Warning Battery monitor is waitting...
2019-05-25 19:55:43.338, Info AC Power: sleep is already disabled
2019-05-25 19:55:43.338, Info isSleepDisabled: 1
2019-05-25 19:55:43.338, Warning Battery monitor is waitting...
2019-05-25 19:55:45.338, Info AC Power: sleep is already disabled
View updatejails.sh
#!/bin/sh
# "THE BEER-WARE LICENSE" (Revision 42):
# <marieheleneka@gmail.com> wrote this file. As long as you retain this notice you
# can do whatever you want with this stuff. If we meet some day, and you think
# this stuff is worth it, you can buy me a beer in return.
# Marie Helene Kvello-Aune, 13th June 2017.
C_GREEN='\033[0;32m'
C_YELLOW='\033[0;33m'
C_CYAN='\033[0;36m'