🦠Toxic Flange (Gurjeet)🔬⚱️🌚

756 Followers
1.2K Following
2.6K Posts

A broken man on a #Halifax pier. Just some wannabe,suppose I could do better. Middled aged Canadian, child of immigrants who can't relate to them. Attempting every day to be a good person to all walks of folks and life. I don't always succeed. Love all things computer related, admirer of engineers professional and amateurs especially. Hoping your motivation rubs off on me.

Backup: @Toxic_Flange

Githubhttps://github.com/gclair

So when is #Epel gonna get hit?

#Linux #Aur #Arch #fedora #redhat

heh the AUR thread activity report for the last 30 days :D

#archlinux #aur

she’s got her moments .. #catsofmastodon
Getting silly with C, part &((int*)-8)[3]: http://lcamtuf.coredump.cx/blog/c4/?1
Getting silly with C, part &((int*)-8)[3]

Read on to uplevel your coding SKILLS.md.

@Toxic_Flange
Nice. We're almost exclusively Windows so Python requires approval for us, but PowerShell is available by default, so my equivalent is:

$wsh = New-Object -ComObject WScript.Shell

while ($true) {
Clear
$wsh.SendKeys('{NUMLOCK}')
Start-Sleep -Milliseconds 100
$wsh.SendKeys('{NUMLOCK}')
Start-Sleep -Seconds 300
}

Toggle numlock, wait 5 mins, repeat until dead.

I have it as a .PS1 that launches when I open a specific terminal profile tab so it runs in the background.

@timbwatkins

my MS - Teams "idle prevention" script.

And then in #macos "Settings -> Privacy & Security -> Accessibility -> iTerm" toggle that to "on" for the keyboard controller to work.

import time
from pynput.keyboard import Key, Controller


def main():
keyboard = Controller()

while True:
# Use special keys
keyboard.press(Key.ctrl_l)
keyboard.release(Key.ctrl_l)
time.sleep(250)


if __name__ == "__main__":
main()

And then have an alias to
nohup uv run --preview-features target-workspace-discovery ~/scripts/inm/ main.py &

#python #microsoft #teams #microsoftteams

Hahaha! New job, heavy into the #microslop way of things (yeah i am looking for something new after day 2). They like that whole Teams thing for stats it seems, so i haveit on permanent-idle or something like that. New mgr says "oh you've done something so there no stats, please fix?"

Sure man. Ancient ThinkGeek "Phantom Keystroker" to the rescue :)

https://gifteee.com/products/phantom-keystroker-prank-v2-time-delay-dial-caps-lock-keyboard-and-mouse-switches

Phantom Keystroker Prank V2 - Time Delay Dial, Caps Lock, Keyboard, and Mouse Switches

#Spidernoir is out. I like it, quite good.
We took away psychological safety and then told everyone to be more productive

How the modern economy destroyed the one thing that actually makes people do good work — and then had the audacity to expect more.

Medium