Topics - Tuxman [ switch to compact view ]

Pages: prev1 [2] 3 4 5 6 7 ... 24next
6
DC Member Programs and Projects / Pin Window on Top
« on: February 05, 2023, 03:30 PM »
My first AutoHotKey v2 script.

Usage:
Press Ctrl+Space, the current window will be placed on top (and remain there).

Source:
#SingleInstance Force
^SPACE::WinSetAlwaysontop(, "A")

7
General Software Discussion / Twitter harakiri‘d. All was gone.
« on: January 20, 2023, 09:26 PM »
Ugh.

https://www.macrumors.com/2023/01/20/twitter-bans-third-party-apps/

I mean, I gave Elon Musk the benefit of the doubt when he bought Twitter and everyone started screaming.

Time to start screaming myself.

I wish it would only be a software and not an important part of who I have become.

8
Found Deals and Discounts / WordPerfect Office 2021: 60% off
« on: November 27, 2022, 07:01 PM »

9
Coding Snacks / Celsius <-> Fahrenheit in PowerShell
« on: November 22, 2022, 05:15 PM »
I had a request to myself: I want to convert Fahrenheit <-> Celsius on Windows without having to install a whole bunch of GNU utilities (which would have been the easiest way, I presume). So I wrote a converter for Powershell which I use anyway. :)

Code: PowerShell [Select]
  1. function FtoC([double]$fahrenheit) {
  2.         $celsius = ($fahrenheit - 32) * (5/9)
  3.         "{0} °F = {1} °C" -f $fahrenheit,[math]::Round($celsius,3)
  4. }
  5.  
  6. function CtoF([double]$celsius) {
  7.         $fahrenheit = ($celsius * (9/5)) + 32
  8.         "{0} °C = {1} °F" -f $celsius,[math]::Round($fahrenheit,3)
  9. }

Usage:

> FtoC(32)
32 °F = 0 °C
> CtoF(0)
0 °C = 32 °F

10
Good news, everyone:

Today, we’ve filed a class-action law­suit in US fed­eral court in San Fran­cisco, CA on behalf of a pro­posed class of pos­si­bly mil­lions of GitHub users. (...) By train­ing their AI sys­tems on pub­lic GitHub repos­i­to­ries (though based on their pub­lic state­ments, pos­si­bly much more) we con­tend that the defen­dants have vio­lated the legal rights of a vast num­ber of cre­ators who posted code or other work under cer­tain open-source licenses on GitHub.

Yeah!

Pages: prev1 [2] 3 4 5 6 7 ... 24next
Go to full version