This file contains hidden or 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 json | |
def load_json(file_path): | |
with open(file_path, 'r', encoding='utf-8') as file: | |
return json.load(file) | |
def collect_keys(data, parent_key=''): | |
keys = [] | |
for k, v in data.items(): | |
full_key = f"{parent_key}.{k}" if parent_key else k |
This file contains hidden or 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
[ | |
{ | |
type: "button" | |
icon: "pencil-alt" | |
iconset: "fa" | |
callback: "flex-tool-bar:edit-config-file" | |
tooltip: "Edit Tool Bar" | |
style: | |
color: "#fff" | |
} |
This file contains hidden or 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
#!/bin/bash | |
cd /tmp | |
wget https://atom-installer.github.com/v1.18.0/atom-amd64.deb | |
ver=false | |
if [ -e /tmp/atom-amd64.deb ]; then | |
echo "*******Pack Baixado" | |
ver=true | |
else | |
echo "*******Erro ao baixar" | |
ver=false |