Skip to content

Instantly share code, notes, and snippets.

View Alzemiro's full-sized avatar
🏠
Working from home

A. Iago Thomaz Alzemiro

🏠
Working from home
  • Montenegro - RS, Brazil
  • 03:03 (UTC -03:00)
  • LinkedIn in/alzemirot
View GitHub Profile
import React, { useState, useEffect } from 'react';
export function App(props) {
const [time, setTime] = useState(25000);
const [start, setStart] = useState(false);
useEffect(() => {
const timer = setInterval(() => {
if (start && time > 0) {
setTime(time - 1);
@Alzemiro
Alzemiro / system.yaml
Created September 26, 2020 22:50
Riot Games
---
app:
app_name: LeagueClient
local_settings_file: Config/LeagueClientSettings.yaml
log_dir: LeagueClient Logs
project: leagueclient
respawn:
command: LeagueClient.exe
display_name: League of Legends
splash: lol