#TIL On the Safari start page on iOS thereโs an edit tab at the bottom where you can disable sections like suggestions.
Tagged with #til
-
-
#til Also on the subject of Firefox, there are some amazing #Firefox tab management add-ons out there:
- Winger -- excellent for those favouring a one window per project workflow.
- native Tab Groups!
- Favicon Switcher -- excellent for distinguishing multiple project on the same domain.
- Keep pinned tabs alive -- always have access to the pinned tabs. Great with Sticky pinned tabs and Toggle pin tab.
- Select after closing current -- excellent keyboard support on this one.
-
Remembered about this hidden
browser.compactmode.show
Firefoxabout:config
setting, enabled it inCustomize toolbar...
and added a few tweaks to myuserChrome.css
file. Considering the browser is open all day for me, it's worth optimising the environment a little for open tabs. #til #firefox/* make it easier to find active tab */ .tab-background { &:is([selected], [multiselected]) { border-top: 1px solid #444 !important; } } /* thinner pins, even in compact toolbar mode */ .tab-content { padding: 0 4px !important; } /* remove space between tabs */ .tabbrowser-tab { padding: 0 !important; }
-
Sitemaps can be in XML sitemap, RSS, or Atom formats. -- Best practices for XML sitemaps and RSS/Atom feeds
-
#til In #Godot when you attach a node with a scale as a child of one that doesn't support scale (
Node
vsNode2D
for example), there is a flicker as the card is rescaled. Convert the node to a scale supporting type to fix this. -
#til In Godot, if a scene is instantiated at design time and a child is added to it, does the child belongs to the scene whose tree is currently open, or the scene it's attached to?
When duplicating a node (including a scene) at runtime it is the node tree where the node sits that is duplicated, so it includes the child. But if the scene is marked as a
InstancePlaceholder
, andcreate_instance()
is called at runtime, it creates a instance of the scene, and any attached children have to be duplicated and attached to the instance with code. #Godot -
#til In Godot, when you have a project containing a node
MyNode
that is a scene itself, andMyNode
contains two child nodes within the scene and one is added as a child ofMyNode
in the project, the number ofget_children()
that a script belonging to the root node of theMyNode
scene returns is 3. #godot -
#TIL Deleted files can be restored in JetBrains products' Local History feature, such as PHPStorm.
-
Macos' patch command is outdated and doesn't work with some modern patches. Homebrew has a gpatch (GNU's patch) which is up to date and the composer PHP utility takes advantage of this automatically if it's installed. #til
-
Use an expression to select an array value in PHP. It's handy for quick output logic. Update: it's a bit too clever, perhaps, versus using the tenary operator.
$classes .= [ ' sort-default', ' sort-custom' ][ has_custom_sort( $post ) ];
-
When you want to create an exception to a
add_header
directive in nginx that is declared in an include, just declare it before it, as successive declarations of the same header are ignored. #til -
You can search GitHub wikis by using the search bar and then filtering by wiki. That's almost as nice as keeping your notes in a Lamb instance ;-) #TIL