- Яндекс
- Программы стажировок
- Разработка (Python, C++, Java, Go, Kotlin, Scala, C, Flutter, фронтенд, DevOps, Android, iOS)
- Анализ данных
- Информационная безопасность
- Тестирование
- Менеджмент в IT
- Программы стажировок
- Бизнес
Discover gists
| # Requires: | |
| # pip install pyobjc-framework-Metal | |
| import numpy as np | |
| import Metal | |
| # Get the default GPU device | |
| device = Metal.MTLCreateSystemDefaultDevice() | |
| # Make a command queue to encode command buffers to | |
| command_queue = device.newCommandQueue() |
| { | |
| "models": [ | |
| { | |
| "name": "models/chat-bison-001", | |
| "version": "001", | |
| "displayName": "PaLM 2 Chat (Legacy)", | |
| "description": "A legacy text-only model optimized for chat conversations", | |
| "inputTokenLimit": 4096, | |
| "outputTokenLimit": 1024, | |
| "supportedGenerationMethods": [ |
As a security professional, it is important to conduct a thorough reconnaissance. With the increasing use of APIs nowadays, it has become paramount to keep access tokens and other API-related secrets secure in order to prevent leaks. However, despite technological advances, human error remains a factor, and many developers still unknowingly hardcode their API secrets into source code and commit them to public repositories. GitHub, being a widely popular platform for public code repositories, may inadvertently host such leaked secrets. To help identify these vulnerabilities, I have created a comprehensive search list using powerful search syntax that enables the search of thousands of leaked keys and secrets in a single search.
(path:*.{File_extension1} OR path:*.{File_extension-N}) AND ({Keyname1} OR {Keyname-N}) AND (({Signature/pattern1} OR {Signature/pattern-N}) AND ({PlatformTag1} OR {PlatformTag-N}))
**1.
Guide created by Andrew Lee. Supports Windows 7, 8, 10, and 11.
Note that this guide does not go into detail, it's just providing the commands to install Windows.
Be cautions when doing this when dualbooting, please backup any existing data or you will lose them all.
First open CMD by pressing the following keys after booting into setup: Shift + F10
| <?php | |
| /** | |
| * code goes inside "includes/hooks" directory | |
| */ | |
| //for customizing nav menu items | |
| use WHMCS\View\Menu\Item as MenuItem; | |
| //for interacting with DB | |
| use Illuminate\Database\Capsule\Manager as Capsule; |
A full-blown guide to building complete software projects using OpenAI's Codex—step by step. From setting up the API to generating, testing, and deploying code using Codex (via Playground, API, or GitHub Copilot).
OpenAI Codex is a large language model by OpenAI, specialized in code generation. It powers:
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
The Logitech Options program isn't available for Linux, but by a nice guy on GitHub (PixlOne) created an open source project that lets you obtain some of that functionality. It's called logiops. It works in conjunction with the Solaar project as well, which I find especially handy since that shows your available battery life in the system tray and lets you pair/unpair devices with the Logitech Unifying Receiver.
Here are some additional pages with info that I used to generate this documentation: