This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| SOURCE_URL="https://raw.githubusercontent.com/rupa/z/master/z.sh" | |
| OUTPUT_LOC="$HOME/.z.sh" | |
| usage_doc="Usage: $0 [-h] [-u url] [-o file] | |
| -h this help | |
| -u <url> download from <url> | |
| default: $SOURCE_URL | |
| -o <file> download to <file> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Windows Registry Editor Version 5.00 | |
| [-HKEY_CLASSES_ROOT\Folder\shell\cmdhere] | |
| [-HKEY_CLASSES_ROOT\Directory\Background\shell\cmdhere] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # Copyright (c) 2019, Giampaolo Rodola', Michael Clark. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| # https://github.com/giampaolo/psutil/blob/master/LICENSE | |
| """ | |
| In liu of a 'renice' cmdline utility on Windows. | |
| $ winrenice chrome.exe below |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Run: | |
| # sudo apt-get install gnupg-agent | |
| # sudo apt-get install pinentry-curses | |
| # Edit: | |
| # $HOME/.gnupg/gpg-agent.conf: | |
| # pinentry-program /usr/bin/pinentry-curses | |
| # default-cache-ttl 28800000 | |
| # max-cache-ttl 28800000 | |
| # Edit: | |
| # $HOME/.subversion/config: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try | |
| { | |
| var fso = new ActiveXObject("Scripting.FileSystemObject"); | |
| var shell = new ActiveXObject("WScript.Shell"); | |
| var READ = 1, WRITE = 2, APPEND = 8; | |
| var TEXT_DEFAULT = -2, TEXT_UNICODE = -1, TEXT_ANSI = 0; | |
| var argc = WScript.Arguments.Count(); | |
| if (argc < 4) | |
| { |
NewerOlder