Skip to content

Instantly share code, notes, and snippets.

@konijn
konijn / taskbar.ps1
Created September 25, 2026 14:23
Smaller taskbar icons
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarSmallIcons -Value 1
For people who are hitting their quotas ;)
size:1MB
older_than:10y
category:updates older_than:8y
has:attachment older_than:7y
@konijn
konijn / log
Last active October 5, 2024 07:51
Mint log for records
#!/bin/bash
dt=$(date '+%d/%m/%Y %H:%M:%S');
echo "$dt" $@ >> ~/log.txt
@konijn
konijn / clockontop.ahk
Created September 24, 2024 11:27
Simple clock to show a clock when the task bar is on auto hide, drag it after loading the script
;Display the time, useful for autohiding taskbar and still wanting to see the time
;Inspired by;
;http://autohotkey.com/board/topic/80594-how-to-enable-drag-for-a-gui-without-a-titlebar
#singleinstance force
Gui, +AlwaysOnTop +ToolWindow -SysMenu -Caption
Gui, Color, 000000 ;black
Gui, Font, CCCCCC s10 , Aptos Narrow ;red
Gui, Add, Text, vD y0, %a_hour%:%a_min%:%a_sec%
Gui, Show, NoActivate, Uptime ; screen position here
25 Nov 2023
-----------
Realized I lost track of my last model??
Realized I need to take notes ;)
Downloaded and installed https://github.com/RahulSChand/gpu_poor
Name RTX-2060
bandwidth 336 GB
compute 13 TFlops/s
memory 6 GB
Test-NetConnection -ComputerName hostname -Port 443
console.log('Local loaded');
bookmarks = {
'snow':'https://ldc.service-now.com/',
'snow portal':'https://ldc.service-now.com/sp_ldc'
;
function animateFireBlaze(x1, y1, x2, y2) {
const canvas = document.createElement("canvas");
canvas.width = x2 - x1;
canvas.height = y2 - y1;
document.body.appendChild(canvas);
const ctx = canvas.getContext("2d");
function drawFlame() {
ctx.clearRect(0, 0, canvas.width, canvas.height);
Statement Date<input id="statementDate" type="date"></input>
Statement Start<input id="statementStart" type="number"></input>
<button id="go" >Go!</button>
<textarea id="mt940" cols="120" rows="50">
:20:ACME2203100000001
:28C:6789/1
:60F:C220310USD0,00
:61:2203100310C2000,00NTRF00000000//00000000
0
(\ (\
( -.- )