- First download
dbfpy: http://sourceforge.net/projects/dbfpy/files/latest/download?source=files - Then install:
sudo python setup.py install
To convert DBF file to CSV:
./dbf2csv database.dbf
| version: '3.3' | |
| services: | |
| security-db: | |
| image: postgres | |
| environment: | |
| POSTGRES_DB: security | |
| POSTGRES_USER: security | |
| POSTGRES_PASSWORD: password | |
| reporting-db: |
| version: "3.7" | |
| services: | |
| elasticsearch: | |
| image: elasticsearch:7.6.0 | |
| ports: | |
| - "9200:9200" | |
| - "9300:9300" | |
| environment: | |
| discovery.type: single-node |
dbfpy: http://sourceforge.net/projects/dbfpy/files/latest/download?source=filessudo python setup.py installTo convert DBF file to CSV:
./dbf2csv database.dbf
| @Slf4j | |
| @Component | |
| @Profile("exportDDL") | |
| @org.springframework.context.annotation.Configuration | |
| class HibernateDDLFlywayMigration { | |
| @Bean ExportDDLExecutor exportDDLExecutor(Environment environment, Flyway flyway, EntityManagerFactory factory){ | |
| return new ExportDDLExecutor(environment, flyway, factory) | |
| } |
| #!/usr/bin/env bash | |
| [[ $- == *i* ]] && echo "This Bash Shell is Interactive Shell" || echo "This Bash Shell is Not a Interactive Shell" | |
| shopt -q login_shell && echo "This Bash Shell is a Login Shell" || echo "This Bash Shell is Not a Login Shell" |
Add as cmd startup with bash.exe --login
sudo apt-get update && sudo apt-get upgrade -y| Very helpfull example. I exemined your way of solving problem and came up to this solution: | |
| """ | |
| Application router decoretor. | |
| Use this to append or get rout list for specific modules. | |
| """ | |
| from functools import wraps |
| #!/usr/bin/env python | |
| import logging | |
| import socket | |
| import sys | |
| import threading | |
| import paramiko | |
| logging.basicConfig() | |
| logger = logging.getLogger() |
| FROM golang:1.9 | |
| RUN mkdir -p /go/src/github.com/purplebooth/example | |
| WORKDIR /go/src/github.com/purplebooth/example | |
| COPY . . | |
| RUN go build -ldflags "-linkmode external -extldflags -static" -a main.go | |
| FROM scratch | |
| COPY --from=0 /go/src/github.com/purplebooth/example/main /main | |
| CMD ["/main"] |
| ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa |