-
Lua
Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I've bought the new Mac Mini M2! And I don't have the mac magic keyobard. Nor a monitor specific for the Mac! I wouldn't wanna spend 100 bucks to get the quirks for the mac stuff. I wanna reuse my old keyboards put aside. The problem is... they're all PC Keyboards! Yes, I know, Option Key can be used as the Alt key modifier, and the Cmd Key can be used as the Windows (forget the publicity!) key. Problem is... Not everything works well. In my specific case, since I am portuguese, the brackets keys ({}) doesn't appear in the portuguese mac Keyboard, you have to use the combination Shift+Cmd+7 to input { and Shift+Cmd+0 to input }. In a PC Keyboard, is RightAlt+7 and RightAlt+0. Strangely, plugging in a PC keyoard in the mac, RightAlt+8 and RightAlt+9 outputs square parentesis ([ and ]) works but to input brackets does not. If I were in Windows, I would use AutoHotkey to achieve this. But in the mac, there is a similar alternative, Hammerspoon ! which uses Lua as the language. This language is starightforward to learn, and after much trials and attempts, I've managed to achieve to Use Ctrl+C and Ctrl+V to work on the mac, using the following code:
I've bought the new Mac Mini M2! And I don't have the mac magic keyobard. Nor a monitor specific for the Mac! I wouldn't wanna spend 100 bucks to get the quirks for the mac stuff. I wanna reuse my old keyboards put aside. The problem is... they're all PC Keyboards! Yes, I know, Option Key can be used as the Alt key modifier, and the Cmd Key can be used as the Windows (forget the publicity!) key. Problem is... Not everything works well. In my specific case, since I am portuguese, the brackets keys ({}) doesn't appear in the portuguese mac Keyboard, you have to use the combination Shift+Cmd+7 to input { and Shift+Cmd+0 to input }. In a PC Keyboard, is RightAlt+7 and RightAlt+0. Strangely, plugging in a PC keyoard in the mac, RightAlt+8 and RightAlt+9 outputs square parentesis ([ and ]) works but to input brackets does not. If I were in Windows, I would use AutoHotkey to achieve this. But in the mac, there is a similar alternative, Hammerspoon ! which uses Lua as the language. This language is starightforward to learn, and after much trials and attempts, I've managed to achieve to Use Ctrl+C and Ctrl+V to work on the mac, using the following code: