Skip to content

Instantly share code, notes, and snippets.

@asan-emirsaleh
asan-emirsaleh / valgrind_vv_anydesk.txt
Created February 7, 2025 22:45
valgrind debug on anydesk run with extensive data flags activated
$ valgrind -v --leak-check=full --show-leak-kinds=all --track-origins=yes --vgdb=full anydesk | tee >>~/valgrind_anydesk.txt
==6733== Memcheck, a memory error detector
==6733== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==6733== Using Valgrind-3.24.0-fcdaa47426-20241101 and LibVEX; rerun with -h for copyright info
==6733== Command: anydesk
==6733==
--6733-- Valgrind options:
--6733-- -v
--6733-- --leak-check=full
--6733-- --show-leak-kinds=all
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 7, 2025 22:44
Rimworld output log published using HugsLib
Log uploaded on Saturday, February 8, 2025, 1:43:03 AM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Fishery - Modding Library(bs.fishery): 0PrepatcherAPI(1.2.0), 1Fishery(0.6.1), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Core(Ludeon.RimWorld): (no assemblies)
Better Log - Fix your errors(bs.betterlog): 0PrepatcherAPI(1.2.0), 1Fishery(av:0.6.1,fv:0.5.1.2), BetterLog(1.1.0), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Performance Fish(bs.performance): PerformanceFish(0.6.2)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
@benstigsen
benstigsen / discord-install.sh
Created February 7, 2025 22:44
Linux Discord installation script.
#!/bin/sh
if [ "$(id -u)" -ne 0 ]; then
echo 'run this script as root/sudo!'
exit
fi
rm discord.tar.gz || true
wget -O discord.tar.gz 'https://discord.com/api/download?platform=linux&format=tar.gz'
tar -xvzf discord.tar.gz
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{

Jobs-To-Be-Done Concepts

Jobs-to-be-Done

As a general concept, Jobs-to-be-Done is best defined as a perspective — a lens through which you can see and think about markets, customers, needs, competitors, and customer segments in a way that makes innovation far more predictable and profitable.

Jobs-to-be-Done Theory

The notion that people buy products and services to get a job done and that new products and services win in the marketplace if they help customers get a job done better and/or more cheaply. It is synonymous with
Jobs Theory.

import UIKit
public final class SpatialContainerView: UIVisualEffectView {
private lazy var borderLayer: CAShapeLayer = {
let layer = CAShapeLayer()
layer.strokeColor = UIColor.white.withAlphaComponent(0.2).cgColor
layer.fillColor = UIColor.clear.cgColor
layer.lineWidth = borderWidth
return layer
}()
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 7, 2025 22:42
Rimworld output log published using HugsLib
Log uploaded on Saturday, February 8, 2025, 1:41:09 AM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Fishery - Modding Library(bs.fishery): 0PrepatcherAPI(1.2.0), 1Fishery(0.6.1), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Core(Ludeon.RimWorld): (no assemblies)
Better Log - Fix your errors(bs.betterlog): 0PrepatcherAPI(1.2.0), 1Fishery(av:0.6.1,fv:0.5.1.2), BetterLog(1.1.0), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Performance Fish(bs.performance): PerformanceFish(0.6.2)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
@gstroudharris
gstroudharris / tab_target.gd
Last active February 7, 2025 22:58
Tab-targeting loop in Godot
#Set tab targetting values - we work with distance squared to find distances
var tab_target_range: float = 30
var tab_target_squared = tab_target_range * tab_target_range
var smallest_tab_target_distance: float = 0
var new_tab_target_distance: float = 0
func _input(event: InputEvent) -> void:
#handle tab_button press
# if pause_menu.popup_open = null then fire tab_targetting function in player_targetting
@DolphinOfficial
DolphinOfficial / PostShutdownFullLog.txt
Created February 7, 2025 22:42
Text file created by Roblox
-- AH POST-SERVER LOGS --
-- ServerID: cbb1b181-ff8a-493e-acb0-837d8936065b
-- Server started: February 07, 2025 10:15 PM UTC | Server uptime: 1577 seconds
------------------ LOADB LOGS ------------------
{
}

Keybase proof

I hereby claim:

  • I am thunthunder on github.
  • I am n16h7w47ch (https://keybase.io/n16h7w47ch) on keybase.
  • I have a public key ASDwWsty1graxzfKT3-KsiD5EVJZkHVxJoP_vcrhFv--PAo

To claim this, I am signing this object: