Skip to content

Instantly share code, notes, and snippets.

View stevenlafl's full-sized avatar
🏠
Working from home

Steven Linn stevenlafl

🏠
Working from home
View GitHub Profile
.\s3fs somebucketname:/ftproot/ X: -o passwd_file=C:\\Users\\Administrator\\.passwd-s3fs -o dbglevel=info -f -o umask=000 -o compat_dir=1 -o complement_stat=1
2024-02-07T01:17:21.788Z [INF] s3fs version 1.93(5371cd1) : s3fs -o passwd_file=C:\\Users\\Administrator\\.passwd-s3fs -o dbglevel=info -f -o umask=000 -o compat_dir=1 -o complement_stat=1 -o max_thread_count=1 somebucketname:/ftproot/ X:
/Program Files/s3fs-fuse/ca-bundle.crt2024-02-07T01:17:21.795Z [CRT] s3fs_logger.cpp:LowSetLogLevel(239): change debug level from [CRT] to [INF]
2024-02-07T01:17:21.798Z [INF] curl.cpp:InitMimeType(447): Loaded mime information from /Program Files/s3fs-fuse/mime.types
2024-02-07T01:17:21.800Z [INF] fdcache_stat.cpp:CheckCacheFileStatTopDir(78): The path to cache top dir is empty, thus not need to check permission.
2024-02-07T01:17:21.824Z [INF] s3fs.cpp:s3fs_init(4287): init v1.93(commit:5371cd1) with OpenSSL, credential-library(built-in)
2024-02-07T01:17:21.824Z [INF] s3fs.cpp:s3fs_check_service(4431): check service
@stevenlafl
stevenlafl / remove-printcss.js
Created May 20, 2022 15:03
Pure Javascript to remove Print styles/CSS from webpage
function unloadStyles() {
console.log('unloading');
var links = document.getElementsByTagName('link');
for (let i in links) {
var link = links[i];
if (link.media == 'print') {
link.remove();
}
}
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 7 2700X Eight-Core Processor
CPU Family: 0x17