Skip to content

Instantly share code, notes, and snippets.

$ErrorActionPreference = "Continue"
$stamp = Get-Date -Format "yyyyMMdd-HHmmss"
$hostname = $env:COMPUTERNAME
$out = "$env:USERPROFILE\Desktop\MS-A2-Windows-License-Dump-$hostname-$stamp"
New-Item -ItemType Directory -Force -Path $out | Out-Null
Start-Transcript -Path "$out\transcript.txt"
Write-Host "Dumping Windows/license/SMBIOS info to: $out"
@ErikBjare
ErikBjare / gptme-with-voice.sh
Created January 29, 2025 13:21
Raycast script for running gptme with TTS/voice
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title gptme with voice
# @raycast.mode silent
# // @raycast.mode inline
# // @raycast.mode fullOutput
# Optional parameters:
@ErikBjare
ErikBjare / analyze_wakatime.py
Last active April 26, 2024 13:43
Reads a Wakatime export, and prints the hours spent on ActivityWatch projects, by project and by date.
"""
Reads a Wakatime export, and prints the hours spent on ActivityWatch projects, by project and by date.
Original author: @brayo-pip
Modifications by: @ErikBjare
"""
import csv
import json
import sys
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreihcacemz7ibakypcwhooqghsehkf4on7cvfzrjkgdwwtyxowa4eke ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
Verifying my Blockstack ID is secured with the address 1MUWQSMtg2BeKvsMN6pZMRgptzwhiuXruA https://explorer.blockstack.org/address/1MUWQSMtg2BeKvsMN6pZMRgptzwhiuXruA

Keybase proof

I hereby claim:

  • I am ErikBjare on github.
  • I am erb (https://keybase.io/erb) on keybase.
  • I have a public key whose fingerprint is AE64 E141 3876 3D20 1E7A E732 7A8F 433A 86E4 C130

To claim this, I am signing this object:

@ErikBjare
ErikBjare / _.md
Last active May 17, 2017 07:58
knowtree-graph

[ Launch: asd ] c3c98b497afa902c075a4c23da029385 by ErikBjare

import time
import ctypes
from ctypes import Structure, POINTER, WINFUNCTYPE, windll
from ctypes.wintypes import BOOL, UINT, DWORD
class LastInputInfo(Structure):
_fields_ = [
("cbSize", UINT),
("dwTime", DWORD)
Verifying that +erikbjare is my openname (Bitcoin username). https://onename.io/erikbjare
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.