Skip to content

Instantly share code, notes, and snippets.

View emrecpp's full-sized avatar

Emre Demircan emrecpp

  • Turkey
  • 21:29 (UTC +03:00)
View GitHub Profile
@thedom85
thedom85 / CSharp_Net_NetworkConnection_sharedFolder_crednzial_Main.cs
Last active September 2, 2023 13:48
CSharp_Net_NetworkConnection_sharedFolder_crednzial_Main
class Program
{
public static void Main(string[] args)
{
var domainName = "mydomainName";
var userName = "myUser";
var password = "MyPassword";
var sharedFolder = @"\\MyFolder\";
@aromig
aromig / robocopy_exclude_existing_files.cmd
Created September 28, 2016 14:47
Robocopy - Exclude Existing Files
robocopy c:\Sourcepath c:\Destpath /E /XC /XN /XO
:: /E makes Robocopy recursively copy subdirectories, including empty ones.
:: /XC excludes existing files with the same timestamp, but different file sizes. Robocopy normally overwrites those.
:: /XN excludes existing files newer than the copy in the source directory. Robocopy normally overwrites those.
:: /XO excludes existing files older than the copy in the source directory. Robocopy normally overwrites those.
:: With the Changed, Older, and Newer classes excluded, Robocopy will exclude files existing in the destination directory.
@alimp5
alimp5 / qcheckcombobox.py
Created May 2, 2019 06:57 — forked from ales-erjavec/qcheckcombobox.py
A QComboBox designed multiple item selection
"""
Check Combo Box
---------------
A QComboBox subclass designed for multiple item selection.
The combo box popup allows the user to check/uncheck multiple items at
once.
"""