Skip to content

Instantly share code, notes, and snippets.

View mehmetkurt's full-sized avatar
🏛️
B2B & B2C Pro

Mehmet KURT mehmetkurt

🏛️
B2B & B2C Pro
View GitHub Profile
@mehmetkurt
mehmetkurt / AddUmbracoFilesToOutput.md
Last active August 26, 2020 15:06
Umbraco Problem - The target "AddUmbracoFilesToOutput" does not exist in the project.

Umbraco publish-deploy alırken aşağıdaki gibi bir sorun alındığında çözüm.

The target "AddUmbracoFilesToOutput" does not exist in the project.

Visual Studio 2019 Üzerinde belirtilen dosyanın içerisine. * burada sizin profilinize göre değişebilir. Ben Folder publish almıştım o nedenle FolderProfile.pubxml olarak geçiyordu. Project node içerisine aşağıdaki kodu yerleştirdiğinizde sorun gidecektir.

Properties > PublishProfiles > *Profile.pubxml

@mehmetkurt
mehmetkurt / nopcommerce.md
Created March 22, 2020 16:03
NopCommerce Install From GitHub
@mehmetkurt
mehmetkurt / gitaddsshfile.md
Last active February 8, 2020 00:41
Solved : [email protected]: Permission denied (publickey).

Solved : [email protected]: Permission denied (publickey).

I found this after searching alot. It will work perfectly fine for me.

  1. Go to "Git Bash" just like cmd. Right click and "Run as Administrator".
  2. Type ssh-keygen
  3. Press enter.
  4. It will ask you to save the key to the specific directory.
  5. Press enter. It will prompt you to type password or enter without password.
  6. The public key will be created to the specific directory.
@mehmetkurt
mehmetkurt / removeemptylines.md
Last active April 11, 2019 11:52
Remove Empty Lines in VS 2017+

Remove Empty Lines

> ^(?([^\r\n])\s)*\r?$\r?\n

@mehmetkurt
mehmetkurt / ngangular.md
Created March 15, 2019 19:11
Angular Cheat Sheet

Generate a new project in an existing directory

ng new appName --directory ./

@mehmetkurt
mehmetkurt / GitCheatSheet.md
Last active May 19, 2023 11:31
Git Cheat Sheet
@mehmetkurt
mehmetkurt / removesqlgolines.txt
Last active November 26, 2018 12:25
Delete SQL GO Lines Regex
https://stackoverflow.com/a/12453161
^GO\r($\n)
@mehmetkurt
mehmetkurt / gitpushnewlocalbranchtoremote.txt
Created November 1, 2018 09:31
Git push a new local branch to a remote Git repository and track it too?
In Git 1.7.0 and later, you can checkout a new branch:
git checkout -b <branch>
Edit files, add and commit. Then push with the -u (short for --set-upstream) option:
git push -u origin <branch>
@mehmetkurt
mehmetkurt / gitoverridepull.txt
Created October 28, 2018 21:16
Git force pull to overwrite local files
git fetch --all
git reset --hard origin/develop
git pull origin develop
@mehmetkurt
mehmetkurt / vsremoveblanklines.txt
Last active October 28, 2018 21:17
Remove Blank Lines Regex - Visual Studio 20XX
^(?:[\t ]*(?:\r?\n|\r))+