Skip to content

Instantly share code, notes, and snippets.

View vertigra's full-sized avatar
😬
I may be slow to respond.

Alexey Nesterov vertigra

😬
I may be slow to respond.
View GitHub Profile
@vertigra
vertigra / gist:0c6d569ba524c80810db3209c9b4edba
Last active September 28, 2023 05:36
INotifyPropertyChanged vs INotifyPropertyChanged
INotifyPropertyChanged - рas already changed
INotifyPropertyChanged - beginning to change
For example
public int Id
{
get => _id;
set
{
@vertigra
vertigra / dependencies.png
Last active June 24, 2017 11:55
Nunit3 + VS2015. Automatic assembly of the project before testing
dependencies.png
@vertigra
vertigra / how_do_link.md
Created June 9, 2017 01:12
Как оформить link в xml документации C#
@vertigra
vertigra / hard_reset.md
Created June 8, 2017 02:09
Git hard reset & forse push

git reset --hard HEAD~3 # reset current branch to 3 commits ago
git push origin master --force

@vertigra
vertigra / gist:cb4d802cfe3548d9c92b9e2d87b25d66
Created May 18, 2017 01:45
Step-by-step Veeam Endpoint Backup database reset procedure
by Dima P. of Veeam Software (minor refinements and screenshots by Paul Braren)
Warning: The side effect of this approach is that all existing settings are going to be erased (backup session logs and job configuration), so I recommend to use this method only if its recommended by support team.
After you complete the procedure described below the backup chain should be started from scratch. The previously created restore points are valid and can be used for recovery, however they won’t be erased automatically by retention logic, thus you have to clean them up manually.
Stop the Veeam Endpoint Backup Service
Press Ctrl+R to bring up the Run dialogue, type services.msc and press enter, this brings up the Services application, now locate the Veeam Endpoint Backup service, right-click, choose Stop, but leave the Services application open, you'll need it again for Steps 3, 4 and 6.
Veeam-Endpoint-Service-Stop_667
@vertigra
vertigra / index.html
Created May 18, 2017 01:11 — forked from khoa-le/index.html
How to embed gist to ghost blog
<script src="https://gist.github.com/alexellis/0bb982253f3619e29f18.js"></script>
@vertigra
vertigra / how_pull_request.md
Last active May 18, 2017 01:14
Как сделать pull себе самому

В левой части куда слить репозиторий/ветка в правой откуда слить изменения репозитарий/ветка

@vertigra
vertigra / gost_cover_size.md
Created April 24, 2017 04:24
About cover image on Ghost

About cover image on Ghost

Link

For optimum performance, we recommend using a cover image size between 1400 and 2500 pixels wide.

@vertigra
vertigra / check_temp_smartmoontools.md
Last active April 3, 2017 15:00
Прооверить температуру hdd с помощью smartmoontols

Прооверить температуру hdd с помощью smartmoontols

# smartctl -d ata -a /dev/sdb | grep 194 && smartctl -d ata -a /dev/sda | grep 194