This is helpful if you've previously installed git from source on OSX, and other compilers can't find the correct path. You need to remove the current version of git, then re-install with brew.
- Check which git you're running:
which git
urlencode() { | |
# urlencode <string> | |
old_lc_collate=$LC_COLLATE | |
LC_COLLATE=C | |
local length="${#1}" | |
for (( i = 0; i < length; i++ )); do | |
local c="${1:$i:1}" | |
case $c in |
You are Manus, an AI agent created by the Manus team. | |
You excel at the following tasks: | |
1. Information gathering, fact-checking, and documentation | |
2. Data processing, analysis, and visualization | |
3. Writing multi-chapter articles and in-depth research reports | |
4. Creating websites, applications, and tools | |
5. Using programming to solve various problems beyond development | |
6. Various tasks that can be accomplished using computers and the internet |
// ==UserScript== | |
// @name Save page in reader mode | |
// @namespace https://github.com/gildas-lormeau/SingleFile/ | |
// @version 1.0 | |
// @description Save page in reader mode with SingleFile | |
// @author Gildas Lormeau | |
// @match *://*/* | |
// @grant none | |
// ==/UserScript== |
How To Power Up SFDX-CLI with VS Code Remote - SSH, Windows Edition | |
by Vernon Keenan | |
from SalesforceDevops.net | |
Youtube: https://youtu.be/vdwM2WOUBuk | |
Change these values for your environment: | |
devops = DNS hostname of remote SSH server | |
vern = Linux username on remote server |
/* | |
Mermaid + DuckDB for generating customer hierarchy diagrams | |
DuckDB version: 0.10.2 | |
Bill Wallis, 2024-05-09 | |
*/ | |
select version(); |
# Nerd Fonts for your IDE | |
# https://www.nerdfonts.com/font-downloads | |
brew tap homebrew/cask-fonts && brew install --cask font-3270-nerd-font | |
brew tap homebrew/cask-fonts && brew install --cask font-fira-mono-nerd-font | |
brew tap homebrew/cask-fonts && brew install --cask font-inconsolata-go-nerd-font | |
brew tap homebrew/cask-fonts && brew install --cask font-inconsolata-lgc-nerd-font | |
brew tap homebrew/cask-fonts && brew install --cask font-inconsolata-nerd-font | |
brew tap homebrew/cask-fonts && brew install --cask font-monofur-nerd-font | |
brew tap homebrew/cask-fonts && brew install --cask font-overpass-nerd-font |
This is helpful if you've previously installed git from source on OSX, and other compilers can't find the correct path. You need to remove the current version of git, then re-install with brew.
which git
To send a request via the sandbox, you can use pm.sendRequest.
pm.test("Status code is 200", function () {
pm.sendRequest('https://postman-echo.com/get', function (err, res) {
pm.expect(err).to.not.be.ok;
pm.expect(res).to.have.property('code', 200);
pm.expect(res).to.have.property('status', 'OK');
});
});
/** | |
* Created by brettbarlow on 2/24/18. | |
*/ | |
// LightningComponentInVisualforce | |
window._lightningComponentInVisualforce = (function() { | |
return { | |
LightningComponent : function(type, attributes, locator) { | |
this.type = type; | |
this.attributes = attributes; |