Não use UUID como PK nas tabelas do seu banco de dados.
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
| from __future__ import annotations | |
| from typing import NamedTuple, cast, overload | |
| class ConsoleDimensions(NamedTuple): | |
| width: int | |
| height: int | |
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 atexit | |
| import sys | |
| def main(f): | |
| if f.__module__ == "__main__": | |
| atexit.register(f) | |
| sys.modules['main'] = main # noqa |
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
| """ | |
| Could this be valid Python? | |
| if now >= T[4:20:PM]: sextou() | |
| >>> t = T[4:20] | |
| >>> t | |
| T[4:20] |
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
| define PRINT_HELP_PYSCRIPT | |
| import re, sys | |
| for line in sys.stdin: | |
| match = re.match(r'^([a-zA-Z_-]+):.*?## (.*)$$', line) | |
| if match: | |
| target, help = match.groups() | |
| print("%-30s %s" % (target, help)) | |
| endef | |
| export PRINT_HELP_PYSCRIPT |
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
| COMPOSE_PROFILE=alikins | |
| DEV_SOURCE_PATH='galaxy_ng' |
Based on configuration provided in .config/nvim/init.vim
- L = Leader Key, mapped to a single space " "
- C = Control
- S = Shift
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
| --- | |
| - hosts: all | |
| vars: | |
| pulp_settings: | |
| secret_key: secret | |
| content_origin: "https://{{ ansible_fqdn }}" | |
| pulp_default_admin_password: password | |
| pulp_install_source: packages | |
| pulp_install_plugins: | |
| # galaxy-ng: {} |
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
| // ==UserScript== | |
| // @name Twitch - Current Payout (Dashboard) | |
| // @namespace twitchpayout | |
| // @version 1.5.1 | |
| // @description Shows current accumulated/estimated payout revenue and last payment on dashboard | |
| // @author FURiOUS | |
| // @homepage https://furious.pro | |
| // @downloadURL https://gist.github.com/furious/d284d67af89a00866fa60c318a84bf50/raw/frs-twitch_current_payout_dashboard.user.js | |
| // @supportURL https://twitch.tv/furious | |
| // @match https://dashboard.twitch.tv/u/* |
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
| pulp_default_admin_password: password | |
| pulp_install_source: pip | |
| pulp_settings: | |
| secret_key: secret | |
| content_origin: "https://{{ inventory_hostname }}" | |
| x_pulp_api_host: 127.0.0.1 | |
| x_pulp_api_port: 24817 | |
| x_pulp_api_user: "admin" | |
| x_pulp_api_password: "{{ pulp_default_admin_password }}" | |
| x_pulp_api_prefix: "pulp_ansible/galaxy/automation-hub/api" |