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 / .editorconfig
Created May 22, 2023 09:37
Perfect Editor Config For Senior Dotnet Developer (Mehmet KURT)
###############################
# Core EditorConfig Options #
###############################
root = true
# All files
[*]
indent_style = space
@mehmetkurt
mehmetkurt / MAkif-Research.md
Last active February 23, 2023 16:31
MAkif-research

Araştır

Git

Temel Linux Terminal Komutları

Bash

Windows Terminal

Sql Local Db

@mehmetkurt
mehmetkurt / nopCommerceonLinux.md
Last active February 3, 2023 15:44
Install and configure nopCommerce on Linux

Register Microsoft key and feed

wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
@mehmetkurt
mehmetkurt / iis.md
Last active November 14, 2021 20:20

this configuration section cannot be used at this path. this happens when the section is locked at a parent level. locking is either by default (overridemodedefault="deny"), or set explicitly by a location tag with overridemode="deny" or the legacy allowoverride="false".

Goto : C:\Windows\System32\inetsrv\config
Open : applicationHost.config
Find :  <section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" />
Replace :  <section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Allow" />
@mehmetkurt
mehmetkurt / elasticsearchproblemsolve.md
Last active December 24, 2021 20:41 — forked from hkulekci/solve.md
Elasticsearch "blocked by: [FORBIDDEN/12/index read-only / allow delete (api)" error

If u are getting below error while indexing:

{
  "error": {
    "root_cause": [
      {
        "type": "cluster_block_exception",
        "reason": "blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"
 }
@mehmetkurt
mehmetkurt / UbuntuServiceCheetSheet.md
Last active October 19, 2021 15:41
Ubuntu Service Cheet Sheet

Ubuntu Service Cheets

Ubuntu Service Auto Start When Reboot

sudo update-rc.d service_name defaults

If you get an error message like below;

System start/stop links for /etc/init.d/service_name already exist.

Do It;

@mehmetkurt
mehmetkurt / elasticsearchandkibanainstalldebian.md
Last active December 9, 2022 07:13
How to install Elasticsearch & Kibana on Debian

Elasticsearch & Kibana Install On Debian

First Requirement Install For Elastic and Kibana

sudo apt install openjdk-8-jre

Install Elasticsearch with Debian Package

Import the Elasticsearch PGP Key

@mehmetkurt
mehmetkurt / js-delegate.js
Created September 23, 2021 00:54 — forked from evenicoulddoit/js-delegate.js
Basic JavaScript Delegation
(function(document, EventTarget) {
var elementProto = window.Element.prototype,
matchesFn = elementProto.matches;
/* Check various vendor-prefixed versions of Element.matches */
if(!matchesFn) {
['webkit', 'ms', 'moz'].some(function(prefix) {
var prefixedFn = prefix + 'MatchesSelector';
if(elementProto.hasOwnProperty(prefixedFn)) {
matchesFn = elementProto[prefixedFn];
@mehmetkurt
mehmetkurt / vuesorunlari.md
Last active October 8, 2020 13:40
vue.js Problemleri

Vue.js AppData\Roaming\npm\vue.ps1 cannot be loaded.

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass