Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Make your iPhone speak the time
TL;DR Using your Apple device, you can tell the time without looking: iPhone: create a Shortcut and bind it to the Action button Apple Watch: bind the Shortcut to an AssistiveTouch gesture, or use the native Speak Time/Taptic Time feature Why In the morni…
-
How to migrate an AWS EC2 instance from IPv4 to IPv6
With AWS’s decision to charge for public IPv4 addresses starting February 1, 2024, many users are looking for ways to avoid the new cost.
-
Why is my JVM’s max heap size less than -Xmx?
TL;DR Because Max heap size = -Xmx - max possible Survivor Space size (with Parallel Garbage Collector, one of the two Survivor Spaces always needs to be empty, so objects can be copied into it during GC).
-
Solving probability problem with code
The Problem Last weekend, as I was casually browsing the CS:GO subreddit for any news related to the game, I found myself in a staring contest with a math problem: Question: A player is holding a Desert Eagle and facing an enemy.
-
Effectively read logs using vanilla vim
TL;DR Glance over the gifs below for tips.
-
5 lines I put in a blank .vimrc
TL;DR To make a default Vim installation more useful, type the following 5 lines into its .vimrc file: set hls set ic set is set nu set noswf Or if you prefer, copy and paste the spelled out and annotated version: set hlsearch " highlight all search r…