Skip to content

Instantly share code, notes, and snippets.

View mike-petrov's full-sized avatar
🧠
Reactman

Mike Petrov mike-petrov

🧠
Reactman
View GitHub Profile

🛠️ Setting Up and Ensuring Connection with PostgreSQL via TablePlus 🛠️

💡 Introduction: Before diving into data manipulation or database administration, one needs a secure and efficient platform. TablePlus provides a user-friendly interface that simplifies the interaction with PostgreSQL databases. The steps outlined below will walk you through setting up TablePlus, connecting it to a PostgreSQL database, and ensuring everything is in place for a seamless database management experience.


📚 Summary:

Access PostgreSQL: The foundational step to verify the server's operation. Database Creation: Establish a dedicated space for data, ensuring organization.

@Voloshin-Sergei
Voloshin-Sergei / commit.md
Created November 3, 2020 13:10
Шпаргалка по оформлению коммитов

Требования к именам коммитов

  • Названия коммитов должны быть согласно гайдлайну
  • Должен использоваться present tense ("add feature" not "added feature")
  • Должен использоваться imperative mood ("move cursor to..." not "moves cursor to...")

Примеры имен коммитов

init: - используется для начала проекта/таска. Примеры:
  • init: start youtube-task
  • init: start mentor-dashboard task
@spencerwooo
spencerwooo / termiWidget.js
Last active September 22, 2024 21:46
🍋 TermiWidget - Terminal-like Widget for iOS 14, made with Scriptable.
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: orange; icon-glyph: quote-right;
// Change these to your usernames!
const user = "spencer"
const jike = "4DDA0425-FB41-4188-89E4-952CA15E3C5E"
const telegram = "realSpencerWoo"
const github = "spencerwooo"
@chrisryana
chrisryana / readlist.md
Last active November 13, 2024 15:55
Интересно почитать
@paulirish
paulirish / what-forces-layout.md
Last active November 15, 2024 16:45
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.

Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.

Element APIs

Getting box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent