Posts tagged “TIL”

TIL that the word “procrastinate” comes from the Latin procratinat- which means “deferred till the morning”.

December 16, 2021

TIL that the word procrastinate” comes from the Latin procratinat- which means deferred till the morning”.

The prefix pro means forward and crastinus means belonging to tomorrow” which comes from the word cras which means tomorrow”.

An image of the etymology diagram for the word 'procrastinate' from google dot com.
This screenshot is taken from google.com, which gets its information from Oxford Languages.



TIL that the word “robot” comes from the Czech word robota which means “forced labor”.

December 15, 2021

TIL that the word robot” comes from the Czech word robota which means forced labor”.

An image of the etymology diagram for the word 'decide' from google dot com.
This screenshot is taken from google.com, which gets its information from Oxford Languages.



TIL you can detect whether the targetEnvironment is iPadOS in SwiftUI with the following code:

December 15, 2021

TIL you can detect whether the targetEnvironment is iPadOS in SwiftUI with the following code:


extension UIDevice {
static var isIPad: Bool {
UIDevice.current.userInterfaceIdiom == .pad
}
static var isIPhone: Bool {
UIDevice.current.userInterfaceIdiom == .phone
}
}

Here’s the Stack Overflow comment I got this code from.




TIL that the word “decide” originally meant “cut off” in Latin.

December 15, 2021

TIL that the word decide” originally meant cut off” in Latin. So when you decide on something you cut off” all other possible choices.

An image of the etymology diagram for the word 'decide' from google dot com.
This screenshot is taken from google.com, which gets its information from Oxford Languages.



TIL you can find a file recursively in Linux with the following command:

December 15, 2021

TIL you can find a file recursively in Linux with the following command:


find . -name "*foo"

Here’s the Stack Overflow comment I got this from.




TIL you can have syntax highlighting with code blocks in JIRA.

December 6, 2021

TIL you can have syntax highlighting with code blocks in JIRA.

Here’s an example inspired from the docs:

{code:java}
// Some comments here
public String getFoo()
{
    return foo;
}
{code}



TIL you can switch back to the previous branch by running git switch -.

November 29, 2021

TIL you can switch back to the previous branch by running git switch -.




TIL you can navigate to the previous directory with cd -.

November 29, 2021

TIL you can navigate to the previous directory with cd -.




TIL that there’s a free, open source, private, iOS fitness app called OutRun (App Store).

November 16, 2021

TIL that there’s a free, open source, private, iOS fitness app called OutRun (App Store).




TIL you can get music recognition (Shazam) in your Control Center.

November 16, 2021

TIL you can get music recognition (Shazam) in your Control Center.




TIL you can get Vim keybindings in XCode 13.

November 13, 2021

TIL you can get Vim keybindings in XCode 13.

Menu Bar -> Editor -> Vim Mode




TIL you can create an iOS shortcut to turn Bluetooth off completely.

November 5, 2021

TIL you can create an iOS shortcut to turn Bluetooth off completely.

Or you can download mine.




TIL you can create an iOS shortcut to turn Wifi completely off.

November 5, 2021

TIL you can create an iOS shortcut to turn Wifi completely off.

Or you can download mine.




TIL there’s dark mode on Webex.

November 1, 2021

TIL there’s dark mode on Webex.

You can only turn this on during a meeting.




TIL you can sort lines of text in Vi.

October 29, 2021

TIL you can sort lines of text in Vi.

  1. Select lines with Visual mode linewise
  2. :sort<CR>




TIL you can quickly go to another character in the terminal when you do ⌥+click.

October 29, 2021

TIL you can quickly go to another character in the terminal when you do +click.