Skip to content

Instantly share code, notes, and snippets.

View AvgustPol's full-sized avatar
💪
I am challenging you to follow my code quality standards.

Emily (formerly Anton) Vlasiuk AvgustPol

💪
I am challenging you to follow my code quality standards.
View GitHub Profile
@AvgustPol
AvgustPol / remove-all-from-docker.sh
Created November 8, 2018 14:24 — forked from beeman/remove-all-from-docker.sh
Remove all from Docker
# Stop all containers
docker stop `docker ps -qa`
# Remove all containers
docker rm `docker ps -qa`
# Remove all images
docker rmi -f `docker images -qa `
# Remove all volumes
@AvgustPol
AvgustPol / gist:5ab9f1b431a9f9b83ba638cbf8ae671d
Created February 20, 2019 19:10
ContentManagementSystem README
ContentManagementSystem
Pl. System zarządzania treścią, który umożliwia utrzymywanie i rozbudowę serwisu internetowego studenckiego koła naukowego. System przeznaczony będzie dla menedżera treści, który nie posiadając wiedzy technicznej, będzie mógł poprzez panel administracyjny wprowadzać, modyfikować, usuwać dane ze strony internetowej oraz je archiwizować.
Eng. Content management system that will enable the maintenance and develop of the student science website. The system will be designed for a content manager who, without technical knowledge, will be able to enter, modify, delete data from the website and archive it through the administration panel.
<input
type="submit" // 'submit' type is necessary because this request is handling by OnPost handler
value="Delete" // text value for button
class="btn btn-danger form-control" // bootstrap classes
onclick="return confirm('Are you sure you want to delete this?')" // confirm JS code
/>
@AvgustPol
AvgustPol / .c#
Created March 14, 2019 17:14
Set Current DateTime to input using JavaScript
c# model
public DateTime DateTime { get; set; }
[RU:] 1em всегда равен размеру шрифта данного блока
[EN:] 1em is always equal to the font size of this block
-------------------------------------
[RU:]
-------------------------------------
Размер rem берется от тега html
1rem всегда равен значению, прописаному в html теге .
e.g.
html, body { //главное прописать для html
font-size: 16px;
@AvgustPol
AvgustPol / CSS for image.css
Last active May 28, 2019 08:21
Image Saver ASP.NET CORE + JS image preview
responsive image style
<style>
.imageBox {
max-width: 100%;
height: auto;
}
</style>
@AvgustPol
AvgustPol / .html
Last active September 23, 2019 14:29
Battle ships layout template - Made with love for the Friendly Ghost ;)
<!DOCTYPE html>
<html>
<head>
<!--bootstrap 4 via link-->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head>
<body>
<div class="container">
<!-- #region simple template -->
@AvgustPol
AvgustPol / Boo.cs
Last active October 1, 2019 09:02
Learning Null Check Operator
public class Boo
{
}