Skip to content

Instantly share code, notes, and snippets.

View TigersWay's full-sized avatar
🔥
Available for Hire!

Ben Michaud TigersWay

🔥
Available for Hire!
View GitHub Profile
@TigersWay
TigersWay / .stglobalignore
Last active October 27, 2020 01:50
Syncthing generic ignore file
//.stglobalignore 2020-10-27
// Generic
*.part
*.crdownload
(?)Thumbs.db
(?)~$*.*
(?)*.tmp
// Windows & Users
@TigersWay
TigersWay / CustomFolders.py
Created December 2, 2016 06:51
[Windows|Python] Try to re-customize folders (via desktop.in) after some Dropbox unsolved issue, or some backup recovery.
import sys, os, configparser
import win32api
FILE_ATTRIBUTE_READONLY = 0x01
FILE_ATTRIBUTE_HIDDEN = 0x02
FILE_ATTRIBUTE_SYSTEM = 0x04
FILE_ATTRIBUTE_NORMAL = 0x80
def customizeFolder(aFolder, depth = 2):