Skip to content
  • Home
  • About
  • No Access
  • Privacy Policy
Bits of .NET
Bits of .NET
  • Asp.Net Core
  • C#
  • SQL
  • JavaScript
  • CSS
  • About
  • ErcanOPAK.com
  • No Access
  • Privacy Policy

Bits of .NET

Daily micro-tips for C#, SQL, performance, and scalable backend engineering.

  • Asp.Net Core
  • C#
  • SQL
  • JavaScript
  • CSS
  • About
  • ErcanOPAK.com
  • No Access
  • Privacy Policy

Tag: Time Management

AI

The AI Prompt That Builds a Weekly Practice Schedule for Learning a New Instrument Around Whatever Free Time You Actually Have

- 31.10.26 - ErcanOPAK comment on The AI Prompt That Builds a Weekly Practice Schedule for Learning a New Instrument Around Whatever Free Time You Actually Have

🤖 The AI Prompt That Builds a Weekly Practice Schedule for Learning a New Instrument Around Whatever Free Time You Actually Have Most practice advice for learning an instrument assumes a fixed daily block of time that’s set aside specifically for practicing, which works well for someone with a consistent schedule and falls apart fast […]

Read More
AI

The AI Prompt That Turns a Dense Course Syllabus Into a Week-by-Week Study Schedule With Every Deadline Pulled Out

- 31.10.26 - ErcanOPAK comment on The AI Prompt That Turns a Dense Course Syllabus Into a Week-by-Week Study Schedule With Every Deadline Pulled Out

🤖 The AI Prompt That Turns a Dense Course Syllabus Into a Week-by-Week Study Schedule With Every Deadline Pulled Out A course syllabus usually lists every reading, assignment, exam, and policy in whatever order the instructor happened to write it, with dates scattered across paragraphs of grading policy and attendance rules rather than laid out […]

Read More
.NET Core

.NET 9 TimeProvider: Testable Time Management Made Easy

- 19.08.26 - ErcanOPAK comment on .NET 9 TimeProvider: Testable Time Management Made Easy

Testing code that depends on DateTime.Now or DateTime.UtcNow is a nightmare. .NET 9’s TimeProvider solves this elegantly. The Problem – Untestable Time: // Hard to test public class OrderService { public bool IsOrderExpired(Order order) { // ❌ Always uses current time return order.CreatedDate.AddDays(1) < DateTime.UtcNow; } } // Test failure: // – Test at 23:59: […]

Read More
Windows

Windows 11: Use Focus Sessions to Eliminate Distractions

- 28.05.26 - ErcanOPAK comment on Windows 11: Use Focus Sessions to Eliminate Distractions

🧘 Built-In Pomodoro Timer Notifications, taskbar badges, flashing icons — all distractions. Focus Sessions silence everything, set timers, track productivity. 🔧 Start a Focus Session Method 1: Clock app → Focus Sessions Method 2: Taskbar clock/calendar → Focus Method 3: Settings → System → Focus Shortcut: Win + N → Focus ⚙️ Configure Do Not […]

Read More
Windows

Windows 11: Use Focus Sessions with Spotify Integration

- 19.03.26 - ErcanOPAK comment on Windows 11: Use Focus Sessions with Spotify Integration

⏱️ Built-in Pomodoro Timer Clock app now has focus timer + Spotify playlists. Free productivity app built into Windows. Use: Clock app → Focus Sessions Features: 25-minute timer, break reminders, daily goal tracking, Spotify integration (auto-plays focus playlists). DND Mode: Turns on Do Not Disturb automatically during session. Track Progress: Daily/weekly stats show total focus […]

Read More
Windows

Windows 11: Use Focus Sessions to Block Distractions with Pomodoro Timer

- 13.02.26 - ErcanOPAK comment on Windows 11: Use Focus Sessions to Block Distractions with Pomodoro Timer

Need focused work time? Windows 11 has built-in Pomodoro timer with DND mode. Enable: Clock app → Focus Sessions tab Features: Set work duration (25, 45, or custom minutes) Auto-enables Do Not Disturb Breaks reminders Spotify integration (plays focus music) Daily/weekly progress tracking During Session: Notifications silenced automatically Timer visible in system tray Microsoft To […]

Read More
November 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Oct    

Most Viewed Posts

  • How to make theater mode the default for Youtube (1,055)
  • Get the User Name and Domain Name from an Email Address in SQL (981)
  • How to add default value for Entity Framework migrations for DateTime and Bool (977)
  • Get the First and Last Word from a String or Sentence in SQL (858)
  • How to select distinct rows in a datatable in C# (854)
  • How to enable, disable and check if Service Broker is enabled on a database in SQL Server (653)
  • Add Constraint to SQL Table to ensure email contains @ (609)
  • Average of all values in a column that are not zero in SQL (570)
  • How to use Map Mode for Vertical Scroll Mode in Visual Studio (547)
  • Find numbers with more than two decimal places in SQL (475)

Recent Posts

  • C#: Fix a ConditionalWeakTable Entry Vanishing Too Soon
  • Docker: Fix a Stale COPY Layer After Editing .dockerignore
  • Photoshop: Fix a Pattern Overlay Scaling Wrong on a High-DPI File
  • SQL Server: Fix a Computed Column Index Skipped by Implicit Cast
  • HTML5: Fix a required Input Inside a Hidden Tab Blocking Submit
  • SQL Server: Fix ROW_NUMBER Ties Reordering Between Identical Runs
  • C#: Fix an Enum HasFlag Returning True for the Zero Value
  • WordPress: Fix Featured Images Vanishing After a CDN Migration
  • Photoshop: Fix Content-Aware Fill Smearing a Repeating Pattern
  • Asp.Net Core: Fix Antiforgery Tokens Rejected Behind a Reverse Proxy

Most Viewed Posts

  • How to make theater mode the default for Youtube (1,055)
  • Get the User Name and Domain Name from an Email Address in SQL (981)
  • How to add default value for Entity Framework migrations for DateTime and Bool (977)
  • Get the First and Last Word from a String or Sentence in SQL (858)
  • How to select distinct rows in a datatable in C# (854)

Recent Posts

  • C#: Fix a ConditionalWeakTable Entry Vanishing Too Soon
  • Docker: Fix a Stale COPY Layer After Editing .dockerignore
  • Photoshop: Fix a Pattern Overlay Scaling Wrong on a High-DPI File
  • SQL Server: Fix a Computed Column Index Skipped by Implicit Cast
  • HTML5: Fix a required Input Inside a Hidden Tab Blocking Submit

Social

  • ErcanOPAK.com
  • GoodReads
  • LetterBoxD
  • Linkedin
  • The Blog
  • Twitter
© 2026 Bits of .NET | Built with Xblog Plus free WordPress theme by wpthemespace.com