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 dotenv = require('dotenv') | |
dotenv.config({ path: `${__dirname}/../.env` }) | |
const axios = require('axios') | |
const fs = require('fs') | |
;(async function getTranslations() { | |
console.log('==== Getting localizations') | |
const translations = ( | |
await axios.get('https://localizer.todorant.com/localizations?tag=mobile') | |
).data.filter((l) => { |
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 dotenv = require('dotenv') | |
dotenv.config({ path: `${__dirname}/../.env` }) | |
const axios = require('axios') | |
const unflatten = require('flat').unflatten | |
const fs = require('fs') | |
const jsyaml = require('js-yaml') | |
;(async function getTranslations() { | |
console.log('==== Getting localizations') | |
const translations = ( |
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 dotenv = require('dotenv') | |
dotenv.config({ path: `${__dirname}/../.env` }) | |
const axios = require('axios') | |
const unflatten = require('flat').unflatten | |
const fs = require('fs') | |
;(async function getTranslations() { | |
console.log('==== Getting localizations') | |
const translations = ( | |
await axios.get('https://localizer.todorant.com/localizations?tag=web') |
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
// | |
// TodorantUITests.swift | |
// TodorantUITests | |
// | |
// Created by Nikita Kolmogorov on 2020-03-21. | |
// Copyright © 2020 Facebook. All rights reserved. | |
// | |
import XCTest |
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
package com.todorant; | |
import androidx.test.filters.LargeTest; | |
import androidx.test.rule.ActivityTestRule; | |
import org.junit.Rule; | |
import org.junit.ClassRule; | |
import org.junit.Test; | |
import tools.fastlane.screengrab.Screengrab; |
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
<WebView | |
source={{ | |
uri: 'https://todorant.com/mobile-login/telegram', | |
}} | |
/> |
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 { Controller, Get } from 'koa-router-ts' | |
import { Context } from 'koa' | |
@Controller('/') | |
export default class { | |
@Get('/') | |
async facebook(ctx: Context) { | |
ctx.body = "Cool cool cool cool, noice" | |
} | |
} |
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
User: | |
messages: [Message] | |
Message: | |
text: String | |
type: MessageType | |
response?: Response | |
enum MessageType: ['non_interactive', 'multiple_choice', 'date_picker'] |
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
Temp: 24.0 C Humidity: 16.0 % | |
Temp: 24.0 C Humidity: 16.0 % | |
Temp: 24.0 C Humidity: 16.0 % | |
Temp: 24.0 C Humidity: 16.0 % | |
Temp: 24.0 C Humidity: 16.0 % | |
Temp: 24.0 C Humidity: 16.0 % | |
Temp: 24.0 C Humidity: 18.0 % | |
Temp: 24.0 C Humidity: 17.0 % | |
Temp: 24.0 C Humidity: 17.0 % | |
Temp: 24.0 C Humidity: 17.0 % |
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 sys | |
import Adafruit_DHT | |
while True: | |
humidity, temperature = Adafruit_DHT.read_retry(11, 4) | |
print 'Temp: {0:0.1f} C Humidity: {1:0.1f} %'.format( | |
temperature, humidity) |
NewerOlder