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
| module.exports = function() { | |
| console.log("Hello Mars!") | |
| } |
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
| import React, { Component } from "react"; | |
| import * as THREE from "three"; | |
| import * as FBXLoader from 'three-fbxloader-offical'; | |
| // eslint-disable-next-line | |
| import * as Dat from "dat.gui" | |
| import {TimelineMax, Expo, Power0} from 'gsap/all'; | |
| import img from '../../textures/ship01RebuildGeo_lambert2_Diffuse.jpg'; | |
| import bump from '../../textures/ship01RebuildGeo_lambert2_Glossiness.jpg'; | |
| import fbx from '../../source/Trader.fbx'; |
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
| import React, { Component } from "react"; | |
| import * as THREE from "three"; | |
| import * as FBXLoader from 'three-fbxloader-offical'; | |
| // eslint-disable-next-line | |
| import * as Dat from "dat.gui" | |
| import {TimelineMax, Expo, Power0} from 'gsap/all'; | |
| import img from '../../textures/ship01RebuildGeo_lambert2_Diffuse.jpg'; | |
| import bump from '../../textures/ship01RebuildGeo_lambert2_Glossiness.jpg'; | |
| import fbx from '../../source/Trader.fbx'; |
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
| <?php | |
| namespace Google\Cloud\Dialogflow\V2; | |
| use Google\Protobuf\Internal\GPBType; | |
| use Google\Protobuf\Internal\RepeatedField; | |
| use Google\Protobuf\Internal\GPBUtil; | |
| class EventInput extends \Google\Protobuf\Internal\Message | |
| { |
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
| @dp.message_handler(commands=['start'], state=None) | |
| async def start(message: types.Message, state: FSMContext): | |
| '''Точка входа''' | |
| tg_id = message.chat.id | |
| name = message.from_user.first_name | |
| full_name = message.from_user.full_name | |
| reg = re.compile('[^\w 0-9 \.,]') | |
| f_name = reg.sub('', full_name) |
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
| from google.cloud import bigquery | |
| from selenium import webdriver; | |
| from selenium.webdriver.common.by import By | |
| import asyncio | |
| import os | |
| import pandas as pd | |
| import re | |
| import telegram | |
| TELEGRAM_API_KEY = "API Key" |
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
| const axios = require('axios'); | |
| async function getRefreshToken(clientId, clientSecret, refreshToken) { | |
| const tokenUrl = 'https://oauth2.googleapis.com/token'; | |
| const params = new URLSearchParams(); | |
| params.append('client_id', clientId); | |
| params.append('client_secret', clientSecret); | |
| params.append('refresh_token', refreshToken); | |
| params.append('grant_type', 'refresh_token'); |
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
| [ | |
| { | |
| "title": "API для сотрудников > Пользователи > Моё (Me) > Токены (UserToken)", | |
| "method": "index", | |
| "url": "https://startcraft.apidog.io/index-15749554e0.md", | |
| "description": "Получить список всех персональных токенов текущего авторизованного пользователя." | |
| }, | |
| { | |
| "title": "API для сотрудников > Пользователи > Моё (Me) > Токены (UserToken)", | |
| "method": "show", |
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
| import argparse | |
| import json | |
| import os | |
| import sys | |
| from pathlib import Path | |
| from typing import Optional | |
| if "ORT_PROVIDERS" not in os.environ: | |
| os.environ["ORT_PROVIDERS"] = "CPUExecutionProvider" |
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
| """ | |
| Навешивает на кадры видео keypoints и рёбра скелета из результатов инференса. | |
| Цвет (красный/синий) задаётся через bbox_indices по object_index на опорном кадре. | |
| Входные данные читаются из CSV или JSONL (например [fight_id]_cleaned_keypoints.csv). | |
| """ | |
| import argparse | |
| import csv | |
| import json | |
| import shutil |