Skip to content

Instantly share code, notes, and snippets.

View dan0nchik's full-sized avatar
🎧
Always focused

Daniel Khromov dan0nchik

🎧
Always focused
View GitHub Profile
@StephanWagner
StephanWagner / docker-cleanup.sh
Created September 12, 2019 09:02
Prune docker system and remove all containers, images, volumes with one command.
docker system prune
docker container stop $(docker container ls -aq)
docker container rm $(docker container ls -aq)
docker rmi $(docker images -aq)
docker volume prune
@acamino
acamino / HttpClientApproach.cs
Last active May 25, 2024 20:52
4 Ways to Parse a JSON API with C#
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
namespace HttpClientApproach
{
internal class Contributor
{
public string Login { get; set; }