Skip to content

Instantly share code, notes, and snippets.

View ecdundar's full-sized avatar

ecdundar

View GitHub Profile
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
namespace MyProject.Controllers
{
@ecdundar
ecdundar / copymysql.sh
Last active January 9, 2024 18:09
Copy MySQL Database One Server (Remote) To Another (Local) Server
#!/bin/bash
# copymysql.sh
# GENERATED WITH USING ARTUR BODERA'S SCRIPT
# Source script at: https://gist.github.com/2215200
MYSQLDUMP="/usr/bin/mysqldump"
MYSQL="/usr/bin/mysql"
@ecdundar
ecdundar / sites.cleanup
Last active August 29, 2015 14:27 — forked from yurifedoseev/sites.cleanup
Delete all sites from IIS express configuration
appcmd.exe list site /xml | appcmd delete site /in