To install Scoop (official docs), execute in Powershell:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
irm get.scoop.sh -outfile 'install-scoop.ps1'
get-help .\install-scoop.ps1
.\install-scoop.ps1
To install Scoop (official docs), execute in Powershell:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
irm get.scoop.sh -outfile 'install-scoop.ps1'
get-help .\install-scoop.ps1
.\install-scoop.ps1
| -- Function: Center and focus the main window of an application | |
| function centerAndFocusMainWindow(app) | |
| local mainWindow = app:mainWindow() | |
| if mainWindow then | |
| mainWindow:centerOnScreen(nil, true, 0) | |
| mainWindow:focus() | |
| end | |
| end | |
| -- Function: Watch for a specific application launch and execute a callback when launched |
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++. It is used in Chrome and in Node.js, among others. It implements ECMAScript and WebAssembly, and runs on Windows 7 or later, macOS 10.12+, and Linux systems that use x64, IA-32, ARM, or MIPS processors. V8 can run standalone, or can be embedded into any C++ application.
SpiderMonkey is Mozilla’s JavaScript and WebAssembly Engine, used in Firefox, Servo and various other projects. It is written in C++, Rust and JavaScript. You can embed it into C++ and Rust projects, and it can be run as a stand-alone shell. It can also be [compiled](https://bytecodealliance.org/articles/making-javascript-run-fast-on
| #!/bin/sh | |
| # Wakka: A package manager wrapper. | |
| # Provides a consistent interface across multiple package managers. | |
| # Currently supports: apt (Debian/Ubuntu), yum (Red Hat/CentOS), | |
| # dnf (Fedora), apk (Alpine), and brew (macOS). | |
| WAKKA_VERSION="1.0.0" | |
| print_help() { |
| #!/usr/bin/env ruby | |
| # Read from stdin rather than file. | |
| file_data = $stdin.read | |
| # Upper case title | |
| re = /^#* .+/ | |
| file_data.gsub!(re) { |match| "*#{match.upcase}*"} | |
| # Mutate todos |
| # Use new Synology CLI tool -> `synopkgctl` | |
| #usage: synopkgctl <command> [...] | |
| #command: | |
| # enable <package> | |
| # disable <package> | |
| # setup <package> | |
| # start <package> | |
| # stop <package> | |
| # teardown <package> |
| Office 2013 Home and Student Russian https://officeredir.microsoft.com/r/rlidO15C2RMediaDownload?p1=db&p2=ru-RU&p3=HomeStudentRetail | |
| Office 2013 Home and Business https://officeredir.microsoft.com/r/rlidO15C2RMediaDownload?p1=db&p2=ru-RU&p3=HomeBusinessRetail | |
| Office 2013 Professional https://officeredir.microsoft.com/r/rlidO15C2RMediaDownload?p1=db&p2=ru-RU&p3=ProfessionalRetail | |
| Office 2013 Professional Plus https://officeredir.microsoft.com/r/rlidO15C2RMediaDownload?p1=db&p2=ru-RU&p3=ProPlusRetail | |
| Word 2013 https://officeredir.microsoft.com/r/rlidO15C2RMediaDownload?p1=db&p2=ru-RU&p3=WordRetail | |
| Excel 2013 https://officeredir.microsoft.com/r/rlidO15C2RMediaDownload?p1=db&p2=ru-RU&p3=ExcelRetail | |
| PowerPoint 2013 https://officeredir.microsoft.com/r/rlidO15C2RMediaDownload?p1=db&p2=ru-RU&p3=PowerPointRetail | |
| Outlook 2013 https://officeredir.microsoft.com/r/rlidO15C2RMediaDownload?p1=db&p2=ru-RU&p3=OutlookRetail | |
| Publisher 2013 https://officeredir.microsoft.com/r/rlidO15C2RMediaDownload?p1=db&p2=ru-RU&p3=PublisherRe |
| let auth0Domain = "https://yourdomain.com" | |
| let userIdMappingFile = "/userDataMapping.json" | |
| let doesUserExistInAuth0DataBase = async (email, password) => { | |
| let config = { | |
| method: "post", | |
| url: auth0Domain + "/oauth/token", | |
| headers: { |
| #!/usr/bin/env ruby | |
| filename = "/Users/hyuan/Development/bin/tmp/tmp_slack_md.txt" | |
| file = File.open(filename) | |
| file_data = file.read | |
| # Upper case title | |
| re = /^#* .+/ | |
| file_data.gsub!(re) { |match| "*#{match.upcase}*"} |
| javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
| default: Turndown | |
| }, { | |
| default: Readability | |
| }]) => { | |
| /* Optional vault name */ | |
| const vault = ""; | |
| /* Optional folder name such as "Clippings/" */ |