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
{"results":[{"columns":["p","ID(n)"],"data":[{"graph":{"nodes":[{"id":"16917","labels":["ConceptEntry","Game"],"properties":{"uid":"game-borderlands_2","wikidata":"Q893422","name":"Borderlands 2"}}],"relationships":[]},"row":[[{"uid":"game-borderlands_2","wikidata":"Q893422","name":"Borderlands 2"}],16917]},{"graph":{"nodes":[{"id":"16917","labels":["ConceptEntry","Game"],"properties":{"uid":"game-borderlands_2","wikidata":"Q893422","name":"Borderlands 2"}},{"id":"12113","labels":["ConceptEntry","Company"],"properties":{"uid":"company-2k_games","wikidata":"Q94937","name":"2K Games"}}],"relationships":[{"id":"168","type":"PUBLISHES","startNode":"12113","endNode":"16917","properties":{"weight":2.0}}]},"row":[[{"uid":"game-borderlands_2","wikidata":"Q893422","name":"Borderlands 2"},{"weight":2.0},{"uid":"company-2k_games","wikidata":"Q94937","name":"2K Games"}],16917]},{"graph":{"nodes":[{"id":"12259","labels":["ConceptEntry","Company"],"properties":{"uid":"company-aspyr","wikidata":"Q738135","name":"Aspyr"}},{" |
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
library(RJSONIO) | |
library(ggplot2) | |
# read data | |
frequency_json = fromJSON("repos_star_count.json") | |
frequency_df = as.data.frame(do.call("rbind", frequency_json)) | |
colnames(frequency_df)[1] <- "stars" | |
colnames(frequency_df)[2] <- "projects" | |
# generate raw data from dataframe |
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
# libraries | |
from selenium import webdriver | |
# information to fill | |
YOUR_USERNAME = "itchio_username" | |
YOUR_PASSWORD = "itchio_password" | |
YOUR_DOWNLOAD_LINK = "https://itch.io/bundle/download/itchio_unique_code" | |
# init browser | |
driver = webdriver.Chrome() |
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
set input="C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\_appdata_\savedgames\renato_quicksave.sav" | |
set output="C:\Program Files (x86)\Steam\steamapps\common\STALKER Clear Sky\_appdata_\savedgames" | |
set freq=10 | |
set max=50 | |
wt -p "PS7" powershell.exe -NoExit -Command "python D:/codigo/automacao/backup-saves.py --input '%input%' --output '%output%' --freq %freq% --max %max%" |
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
# ------------------------------------------------------------------------------ | |
# Connect | |
# ------------------------------------------------------------------------------ | |
# $PlayniteRunspace = Get-Runspace -Name 'PSInteractive' | |
# $PlayniteApi = $PlayniteRunspace.SessionStateProxy.GetVariable('PlayniteApi') | |
# D:\codigos\automacoes\jogos\launchbox-to-playnite.ps1 | |
# ------------------------------------------------------------------------------ | |
# Constants | |
# ------------------------------------------------------------------------------ |
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
$PLATFORMS = @{ | |
"3DO Interactive Multiplayer" = "The 3DO Company - 3DO" | |
"Arcade" = "MAME" | |
"Atari 2600" = "Atari - 2600" | |
"Atari 5200" = "Atari - 5200" | |
"Atari 7800" = "Atari - 7800" | |
"Atari Lynx" = "Atari - Lynx" | |
"Atari Jaguar" = "Atari - Jaguar" |