Below is a list of common React interview questions.
See Chinese version here.
| // ==UserScript== | |
| // @name Absolute Enable Right Click & Copy | |
| // @namespace Absolute Right Click | |
| // @description Force Enable Right Click & Copy & Highlight | |
| // @shortcutKeys [Ctrl + `] Activate Absolute Right Click Mode To Force Remove Any Type Of Protection | |
| // @author Absolute | |
| // @version 1.8.9 | |
| // @include *://* | |
| // @icon https://i.imgur.com/AC7SyUr.png | |
| // @compatible Chrome Google Chrome + Tampermonkey |
| // Auto-pair quotes | |
| { "keys": ["\""], "command": "insert_snippet", "args": {"contents": "\"$0\""}, "context": | |
| [ | |
| { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, | |
| { "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|>|$)", "match_all": true }, | |
| { "key": "preceding_text", "operator": "not_regex_contains", "operand": "[\"a-zA-Z0-9_]$", "match_all": true }, | |
| { "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.double - punctuation.definition.string.end", "match_all": true } | |
| ] | |
| }, | |
| { "keys": ["\""], "command": "insert_snippet", "args": {"contents": "\"${0:$SELECTION}\""}, "context": |
| ; ---------------------------------------------------- ; | |
| ; Alt-Tab on Wheels (with Mouse RClick + Wheel) ; | |
| ; ---------------------------------------------------- ; | |
| ; Switch between running programs with the flick of a | |
| ; finger: press down the Right Mouse Button and turn | |
| ; the mouse wheel. | |
| ; | |
| ; Install https://www.autohotkey.com/ (Windows only) to run. | |
| ; To auto-start, copy the script or a shortcut to your | |
| ; Start Menu\Programs\Startup directory |
| ; ---------------------------------------------------- ; | |
| ; TabsOnWheels ; | |
| ; ---------------------------------------------------- ; | |
| ; Switch browser (or other program's) tabs with your mouse wheel when hovering over the tab bar (and optionally address bar). | |
| ; Press Middle/Wheel Mouse Click to switch tabs from anywhere in the program. | |
| ; If the target window is inactive when starting to scroll, it will be activated. | |
| ; | |
| ; Install https://www.autohotkey.com/ (Windows only) to run. | |
| ; To auto-start, copy the script or a shortcut to your | |
| ; Start Menu\Programs\Startup directory |
| # finds all *.js files that have either `</` or `/>` tags in them and renames them to *.jsx | |
| find ./src -type f -name '*.js' -not -name '*.jsx' -not -name '*.ejs' -exec bash -c 'grep -l -E "</|/>" "$0"' {} \; -exec bash -c 'mv "$0" "${0%.js}.jsx"' {} \; |
Below is a list of common React interview questions.
See Chinese version here.
| ; Press Ctrl+Shift+Space to set any currently active window to be always on top. | |
| ; Press Ctrl+Shift+Space again set the window to no longer be always on top. | |
| ; Source: https://www.howtogeek.com/196958/the-3-best-ways-to-make-a-window-always-on-top-on-windows | |
| ^+SPACE:: | |
| WinGetTitle, activeWindow, A | |
| if IsWindowAlwaysOnTop(activeWindow) { | |
| notificationMessage := "The window """ . activeWindow . """ is now always on top." | |
| notificationIcon := 16 + 1 ; No notification sound (16) + Info icon (1) | |
| } |
Dockerized Plex with Transmission and Radarr and Sonarr for more easily movies and TV series download.
Windows Enhancement Productivity AutoHotkey v2
Enhance Open... or Save As... dialogs with a quick way to navigate to currently opened folders.
This is an AutoHotkey v2 script that gives common file selection dialogs an extra feature: middle-clicking invokes a menu of currently opened folders. Say you want to save or upload something to/from a folder you've got open in Windows Explorer. The dialog box pops up with the last folder (from another project) or My Documents, and now you have to manually navigate to the folder you want, or copy-paste its path from the open Explorer window. I wanted to get to the active locations quicker. Recent Items wasn't exactly helping, so I made this by forking [FavoriteFolders.
| // KrigBilateral by Shiandow | |
| // | |
| // This library is free software; you can redistribute it and/or | |
| // modify it under the terms of the GNU Lesser General Public | |
| // License as published by the Free Software Foundation; either | |
| // version 3.0 of the License, or (at your option) any later version. | |
| // | |
| // This library is distributed in the hope that it will be useful, | |
| // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |