To install Official .NET driver for MongoDB, run the following command in the Package Manager Console.
PM> Install-Package mongocsharpdriver -Version 1.10.0
check for the latest version here
To install Official .NET driver for MongoDB, run the following command in the Package Manager Console.
PM> Install-Package mongocsharpdriver -Version 1.10.0
check for the latest version here
Some .png
images used in pygame may get the warning read as "libpng warning: iCCP: known incorrect sRGB profile". To solve this I have searched and found the solution by using ImageMagick. After installing, single file can be fixed by calling convert <in_img> -strip <out_img>
, but to make it fixes every wanted images in path we'll need to modify just a little bit.
Create .bat
file contains the following code and place this .bat
in the folder that want to be fixed and run to finish it out.
@echo off
ping -n 2 127.0.0.1 > nul
echo this batch will convert ".png" using -strip option from ImageMagick.
# Built application files | |
/*/build/ | |
# Crashlytics configuations | |
com_crashlytics_export_strings.xml | |
# Local configuration file (sdk path, etc) | |
local.properties | |
# Gradle generated files |
git commit --amend
The command amend
changes the latest commit by replacing with the new one. Suppose you have changes in working directory, by running git commit --amend
the new changes will be committed as replacement of the old latest commit. If there is no new changes, this command will let you change commit comment of the latest commit and save as new commit replacing old latest commit.
# undo commit
git reset --soft HEAD~1
# undo add