*Paraphrase: This is useful when you want to avoid plagiarism *Reframe: Change the perspective or focus of the rewrite. *Summarize: When you want a quick overview of a lengthy topic. *Expand: For a more comprehensive understanding of a topic. *Explain: Make the meaning of something clearer in the rewrite. *Reinterpret: Provide a possible meaning or understanding. *Simplify: Reduce the complexity of the language.
Tu dois séparer la partie de raisonnement interne en utilisant les balises et la réponse finale qui suit pour l'utilisateur. Dans la section de raisonnement tu DOIS:
- Analyser toutes les DIRECTIVES et instruction qui sont à utiliser conjointement avec la question.
- Décomposez la solution en étapes claires, avec des mots-clés non formatés et en utilisant des balises .
- Ajuster continuellement ton raisonnement en fonction des résultats intermédiaires et des réflexions.
- Si tu as des doutes, tu reviens en arrière et essayes une approche différente avec des nouvelles étapes.
explication: https://pro.x.com/IntuitMachine/status/1880629093491986552/photo/1 Goal
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
// | |
// get list of accounting app build with TS (books,openexchangerates, bigcapital) | |
// https://github.com/topics/accounting?l=typescript | |
// https://www.npmjs.com/package/ratelimiter | |
export interface Transaction { | |
id?: string; | |
type?: 'payment' | 'loan' | 'memo'; | |
direction?: 'input' | 'output'; | |
memberId?: string; | |
memberFullName?: string; |
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
// | |
// ensure that recorded mp3 contains audio | |
// - https://stackoverflow.com/questions/71103807/detect-silence-in-audio-recording | |
async detectSound(content) { | |
const MIN_DECIBELS = -45; | |
const audioCtx:AudioContext = new(window.AudioContext || (<any>window).webkitAudioContext)(); | |
const blobUrl = (content.blob)?URL.createObjectURL(content.blob):content.url; | |
const audio = new Audio(); | |
audio.playbackRate=2; |
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
require('dotenv').config(); | |
const { Configuration, OpenAIApi } = require("openai"); | |
const configuration = new Configuration({ | |
apiKey: process.env.OPENAI_API_KEY, | |
}); | |
const openai = new OpenAIApi(configuration); | |
const response = await openai.createEmbedding({ | |
model: "text-embedding-ada-002", | |
input: "The food was delicious and the waiter...", | |
}); |
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
// | |
// objectif | |
// trouver robin dans le premier million des décimales de PI | |
// --> https://www.pi2e.ch/blog/wp-content/uploads/2017/03/pi_hex_1m.txt | |
// 1. Il faut convertir un texte en base 16, exadécimal (0xff) | |
// La table de caractères en ASCII commence à la position 32 et se termine à la position 127 (0x7f) | |
// https://miro.medium.com/max/1400/1*CE8uSnYm4T-bhEFbUiGYVQ.png | |
function stringToHex(text) { |
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.9; | |
interface ERC20 { | |
function balanceOf(address account) external returns (uint256); | |
function transfer(address recipient, uint256 amount) external returns (bool); | |
} | |
// Adventure Awaits: find all 4 clues, solve the puzzle and claim the reward |
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
pragma solidity ^0.6.0; | |
// SPDX-License-Identifier: MIT | |
contract AuthOracle { | |
} | |
// hash | |
// https://solidity-by-example.org/hashing/ |
NewerOlder