Quelques commandes git bien pratiques.
Pour revenir à la branche précédente :
git co -
| "Analyze this video comprehensively and provide a detailed markdown report with the following sections: | |
| # Quick Summary | |
| Provide a one-line summary of the video content. | |
| # Object Detections | |
| List all objects you can detect with precise timestamps when they appear and disappear. Include logos, text, equipment, and any visual elements. Exclude peoples and animals. Format: Object Name (appears at MM:SS, disappears at MM:SS). | |
| # Scene Detection | |
| Break down the video into distinct scenes with timestamps and descriptions. Format: MM:SS-MM:SS: Scene description. |
| import os, re | |
| from openai import OpenAI | |
| client = OpenAI( | |
| base_url="https://bedrock-runtime.us-west-2.amazonaws.com/openai/v1", | |
| api_key=os.getenv("AWS_BEARER_TOKEN_BEDROCK") | |
| ) | |
| completion = client.chat.completions.create( | |
| model="openai.gpt-oss-20b-1:0", |
| #!/Users/omsr/Documents/InternalWorkspace/raycast-ask-bedrock/venv/bin/python | |
| # Required parameters: | |
| # @raycast.schemaVersion 1 | |
| # @raycast.title ask claude 3.7 | |
| # @raycast.mode fullOutput | |
| # Optional parameters: | |
| # @raycast.icon 🤖 | |
| # @raycast.argument1 { "type": "text", "placeholder": "what do you want ?" } |
| # usage echo 'soirée entre copines'| python test_strict_json.py' | |
| # install strictjson | |
| import os, sys | |
| os.environ['OPENAI_API_KEY'] = 'fill' | |
| from strictjson import * | |
| input = sys.stdin.read().strip() |
| <?php | |
| namespace M6\Bundle\DistributionBundle\EventDispatcher; | |
| use Symfony\Component\EventDispatcher\Event; | |
| /** | |
| * Evènement surchargeant le kernel.terminate | |
| */ | |
| class KernelTerminateEvent extends Event | |
| { |
| <?php | |
| $projectDir = __DIR__ . '/../..'; | |
| $basedir = $projectDir . '/../'; | |
| require_once $projectDir . '/vendor/atoum/atoum/classes/autoloader.php'; | |
| $projectName = strtoupper(dirname($projectDir)); | |
| /* | |
| * CLI report. | |
| */ |
| # setup vagrant | |
| gem install vagrant | |
| vagrant box add lucid32 http://files.vagrantup.com/lucid32.box | |
| mkdir my_vagrant_test | |
| cd my_vagrant_test | |
| vagrant init lucid32 | |
| vim Vagrantfile | |
| vagrant up | |
| vagrant ssh |
| $articles = $objArticle->getArticle($this->getIdWebSite(), 0, $end, $begin, 0, 0, 0, 0, 0, false, 'id DESC', '', 'y', '', false, '', '', '', '', 'article', '', '', '', '', '', '', '', '', '', '', 0, 0, '', '', '', '', '', '', '1', '', '', '', '', '', '', '', '1'); | |
| /** | |
| * getArticle | |
| * permet de récupérer les articles | |
| * | |
| * @param int $intIdWebSite id du website |