Skip to content

Instantly share code, notes, and snippets.

View billziss-gh's full-sized avatar
💭
I may be slow to respond.

Bill Zissimopoulos billziss-gh

💭
I may be slow to respond.
View GitHub Profile
@billziss-gh
billziss-gh / cygwin-ls
Created March 19, 2017 03:46
Cygwin ls and hidden files
#!/bin/python
import os, sys
preload = 1
for arg in sys.argv[1:]:
if "--all" == arg or "--almost-all" == arg:
preload = 0
elif arg.startswith("-") and ("a" in arg or "A" in arg):
preload = 0
@billziss-gh
billziss-gh / fspload.c
Last active February 2, 2017 19:28
How to delay load the WinFsp DLL
/*
* Use the following function to delay load the WinFsp DLL
* directly from the WinFsp installation directory.
*
* You will also need to update your project settings:
* - Linker > Input > Delay Loaded DLL's: winfsp-$(PlatformTarget).dll
*
* Written by Bill Zissimopoulos, 2017. Released to the public domain.
*/