- Online sequence diagram editor - https://www.websequencediagrams.com/
- Online diagram editor - https://app.diagrams.net/
- Online JWT editor - https://jwt.io
- Online GUI designer - https://mockflow.com
- Online REST api tester - https://reqres.in/
- Markdown editor - https://jbt.github.io/markdown-editor/
- Markdown cheatsheet - https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
- Strongly-typed models and serializers generator from JSON - https://app.quicktype.io
--- | |
- name: Check if a string is found through grep | |
hosts: all | |
vars: | |
filename: /tmp/rc.txt | |
dst_folder: /tmp/hosts | |
tasks: | |
- name: delete the centralized file |
--- | |
- name: gather kernel version | |
hosts: all | |
vars: | |
filename: /tmp/kernelv.txt | |
dst_folder: /tmp/hosts | |
tasks: | |
- name: delete the centralized file |
yum updateinfo list cves |
using Microsoft.AspNetCore.Http; | |
internal class GetLoggedUser : IGetLoggedUser | |
{ | |
private readonly IHttpContextAccessor httpContextAccessor; | |
public GetLoggedUser(IHttpContextAccessor httpContextAccessor) | |
{ | |
this.httpContextAccessor = httpContextAccessor ?? throw new ArgumentNullException(nameof(httpContextAccessor)); | |
} |
using System; | |
using System.Diagnostics; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace ConsoleApp1 | |
{ | |
internal class Program | |
{ | |
private static void Main(string[] args) |
In some cases, it is possible that PostgreSQL tables get corrupted. This can happen in case of hardware failures (e.g. hard disk drives with write-back cache enabled, RAID controllers with faulty/worn out battery backup, etc.), as clearly reported in this wiki page. Furthermore, it can happen in case of incorrect setup, as well.
One of the symptoms of such corruptions is the following message:
ERROR: missing chunk number 0 for toast value 123456 in pg_toast_45678
This almost surely indicates that a corrupted chunk is present within a table file. But there is a good way to get rid of it.
We are in a university campus. There are two faculties: math and business administration. 10% of student are enrolled in math (then, 90% of students are enrolled in business administration). Within math faculty, 75% students are shy. Within business administration, 15% students are shy.
I see a student, and he is clearly shy. What's the probability that he is enrolled in math faculty?
using MongoDB.Bson; | |
using MongoDB.Bson.Serialization; | |
using MongoDB.Bson.Serialization.Conventions; | |
using MongoDB.Bson.Serialization.IdGenerators; | |
using MongoDB.Bson.Serialization.Serializers; | |
using MongoDB.Driver; | |
namespace Persistence.MongoDB | |
{ | |
internal class DbContext |
<body> | |
<div class="topnav"> | |
<a class="active" href="#home">Home</a> | |
<a href="#news">News</a> | |
<a href="#contact">Contact</a> | |
<a href="#about">About</a> | |
</div> | |
<div class="content"> | |
<app-root></app-root> |