docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
docker-compose up -d
| ### Install few required packages to run SNX | |
| sudo dnf install -y java-1.8.0-openjdk.x86_64 icedtea-web.x86_64 libstdc++.i686 libX11.i686 libpamtest.i686 libnsl.i686 | |
| ### Download compat-libstdc++ driver and install it | |
| wget https://rpmfind.net/linux/centos/7.8.2003/os/x86_64/Packages/compat-libstdc++-33-3.2.3-72.el7.i686.rpm | |
| sudo dnf -y install /home/users/Downloads/compat-libstdc++-33-3.2.3-72.el7.i686.rpm | |
| ### Install snx_linux.sh | |
| ### Download snx_linux_30.sh file from Checkpoint | |
| ### URL: https://dl3.checkpoint.com/paid/72/72c2c91791690927da0586ec873430cf/snx_install_linux30.sh?HashKey=1603971253_4c1ac35db21425fb73a79bccf775b006&xtn=.sh |
| Tìtulos (<h1> a <h6>) | |
| # Título nível 1 | |
| ## Título nível 2 | |
| ### Título nível 3 | |
| #### Título nível 4 | |
| ##### Título nível 5 | |
| ###### Título nível 6 | |
| Parágrafos e quebras de linha (<p> e <br />) |
| # Pythono3 code to rename multiple | |
| # files in a directory or folder | |
| # importing os module | |
| import os | |
| # Function to rename multiple files | |
| def main(): | |
| for count, filename in enumerate(os.listdir("xyz")): |
| The solution to the problem seems to be adding docker as a trusted interface on firewalld using the command: | |
| firewall-cmd --permanent --zone=trusted --add-interface=docker0 | |
| and then reloading firewalld with: | |
| firewall-cmd --reload | |
| After it should work correctly (remember to reboot) |
| import numpy as np | |
| import cv2 | |
| # Load an color image in grayscale | |
| img = cv2.imread('messi5.jpg',0) | |
| img.shape |
| const neo4j = require('neo4j-driver').v1; | |
| // config DataBase Neo4j | |
| const dbs = require('../config/Neo4j').Neo4jURI; | |
| const us = require('../config/Neo4j').User; | |
| const ps = require('../config/Neo4j').Pass; | |
| // Neo4j connection | |
| const Neo4jdriver = neo4j.driver(dbs, neo4j.auth.basic(us, ps)); | |
| const Neo4jsession = Neo4jdriver.session(); | |
| Neo4jsession.run('CREATE(n:Cliente{email:{user_email}}) RETURN n.id', { |
| import socket | |
| if __name__ == "__main__": | |
| sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
| sock.connect(("localhost", 9000)) | |
| data = "some data" | |
| sock.sendall(data) | |
| result = sock.recv(1024) | |
| print result | |
| sock.close() |
| .data | |
| str1: .asciiz " Digite a LATITUDE em Graus Decimais do Air Plane Atual " # $f1 | |
| str2: .asciiz " Digite a LONGITUDE em Graus Decimais do Air Plane Atual " # $f2 | |
| str3: .asciiz " Digite a ALTITUDE em Graus Decimais do Air Plane Atual " # $f3 | |
| str11: .asciiz " Digite a LATITUDE em Graus Decimais do Air Plane Oposto " # $f4 | |
| str22: .asciiz " Digite a LONGITUDE em Graus Decimais do Air Plane Oposto " # $f5 | |
| str33: .asciiz " Digite a ALTITUDE em Graus Decimais do Air Plane Oposto " # $f6 | |
| strX: .asciiz " DESVIO PARA ROTA : " | |
| strX.1: .asciiz " LATITUDE : " |
| # i = $s1 | |
| # total = $s2 | |
| # n = $s3 | |
| .data | |
| endereço_de_X: .word 2, 4, 1, 6, 7, 9, 1, 3 | |
| .text | |
| add $s1 , zero , zero | |
| add $s2 , zero , zero | |
| Loop: |