Skip to content

Instantly share code, notes, and snippets.

@Albatrosicks
Albatrosicks / MailruCloudZipDownloader-user.js
Last active June 6, 2023 17:39
Copy download link of the entire folder as a ZIP archive to clipboard.
// ==UserScript==
// @name Mail.ru Cloud Zip Downloader
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Copy download link of the entire folder as a ZIP archive to clipboard. By Ctrl+Shift+S
// @updateURL https://gist.github.com/Albatrosicks/532d31558c7d6f628a7c30cd9d0aaa6e/raw/MailruCloudZipDownloader-user.js
// @match https://cloud.mail.ru/public/*
// @grant GM_xmlhttpRequest
// ==/UserScript==
@Albatrosicks
Albatrosicks / make-default.sh
Last active August 24, 2021 08:57
Make sublime text 3 default text editor in macOS
defaults write com.apple.LaunchServices/com.apple.launchservices.secure \
LSHandlers -array-add \
'{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.sublimetext.3;}'