docker exec -t your-db-container pg_dumpall -c -U postgres > dump_`date +%d-%m-%Y"_"%H_%M_%S`.sql
cat your_dump.sql | docker exec -i your-db-container psql -U postgres
import os | |
from datetime import date | |
from time import sleep | |
from selenium import webdriver | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.chrome.webdriver import WebDriver | |
from openpyxl import Workbook | |
class DownloadCNJDDocuments: | |
def __init__(self) -> None: |
The latest version of cmdline tools (7302050_latest) seems to have a different directory structure. The folder is now called cmdline-tools instead of tools so when you extract the folder it won't work as expected. sdkmanager also seems to expect to want to be in ${ANDROID_HOME}/cmdline-tools/latest/bin but extracting it in ANDROID_HOME will just give you ${ANDROID_HOME}/cmdline-tools/bin...
So it looks like unzipping the newest version to ${ANDROID_HOME}/cmdline-tools/cmdline-tools will fix this, and remove the need to run sdkmanager --sdk_root.... Easiest way might just be to mkdir -p Android/cmdline-tools and unzip to there & rename the second cmdline-tools to latest
Not sure how this whole forking gists thing is supposed to work but here are the changes I used: https://gist.github.com/jason-s-yu/30375db45c1f71c1259e042d216e4bd3
Go to https://developer.android.com/studio?hl=PL
wget https://dl.google.com/android/repository/commandlinetools-linux-7302050_latest.zip
name: Deploy to Amazon ECS | |
on: | |
push: | |
- main | |
- develop | |
pull_request: | |
- main | |
- develop | |
release: |
Install, build and debug a react native app in WSL2 (Windows Subsystem for Linux) and Ubuntu.
[user] | |
name = Rodrigo de França | |
email = [email protected] | |
[init] | |
defaultBranch = main | |
[core] | |
editor = code --wait |