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
module.exports = function() { | |
console.log("Hello Mars!") | |
} |
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
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 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 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 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 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 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'); |