Skip to content

Instantly share code, notes, and snippets.

@ucgosupl
ucgosupl / launch.json
Created May 24, 2020 19:07
VS Code Cortex Debug configuration file
{
"version": "0.2.0",
"configurations": [
{
"type": "cortex-debug",
"request": "launch",
"servertype": "openocd",
"cwd": "${your_workspace_path}",
"executable": "${path_to_executable}",
"name": "Name to be displayed in launch tasks",
from random import shuffle
players = ['arcy', 'lysy', 'ree', 'frodo', 'asd', 'helvi', 'gandalf']
countries = ['GER', 'ITA', 'SWE', 'JAP', 'SOV', 'UK', 'USA']
shuffle(players)
shuffle(countries)
result = [(players[i], countries[i]) for i in range(len(players))]
print(result)