This file describes de required Style Guide used by Basicamente to keep the Best Practices on develop new features or improve/change existents one.
Always follow the folder structure below:
src/
package main | |
import ( | |
"context" | |
"fmt" | |
"net" | |
"os" | |
"os/signal" | |
"syscall" |
<?php | |
namespace ReferenceBooks\Controller; | |
use ApiSkeletons\OAuth2\Doctrine\Entity\AccessToken; | |
use ApiSkeletons\OAuth2\Doctrine\Entity\Client; | |
use Doctrine\ORM\EntityManager; | |
use Laminas\Mvc\Controller\AbstractActionController; | |
use Laminas\View\Model\JsonModel; | |
use Users\Entity\Acl\Role; |
version: "3.9" | |
services: | |
jupyter: | |
image: jupyter/scipy-notebook | |
ports: | |
- "8888:8888" | |
volumes: | |
- ./notebooks:/home/jovyan/ | |
environment: |
This concept is very much like .jar
or .war
archives in Java.
NOTE: The built
.pyz
zipapp can run on both Python 2 & 3 but you can only build.pyz
zipapps with Python 3.5 or later.
#!/bin/bash | |
CNT=0 | |
CNT2=0 | |
while :; do | |
LVL=$(arecord -f S16_LE -qd 1 /tmp/rec.waw && sox /tmp/rec.waw -n stat 2>&1 | awk 'BEGIN{FS=":"} NR==4 {print $2}') | |
CLVL=$(pactl get-sink-volume @DEFAULT_SINK@ | awk '{ print $5 }' | egrep -o [0-9]+) | |
echo $CLVL", "$LVL", "$CNT |
[All TCP ports scan] | |
command = nmap -sS -p 1-65535 -Pn | |
description = Scan all ports on a host. | |
[Common TCP connect scan] | |
command = nmap -sT -p 17,19,21,22,23,25,26,37,53,80,88,110,113,123,135,137,138,139,143,443,444,445,548,554,843,993,995,1027,1030,1064,1080,1194,1221,1433,2082,2083,2084,2086,2087,2095,2096,3074,3306,3333,3389,3784,4899,5631,5800,5900,6665-6669,6697,8000,8080,8088,10000,17500,32764 -n -Pn -r | |
description = Scan Common Used Ports | |
[Common TCP syn scan] | |
command = nmap -sS -p 17,19,21,22,23,25,26,37,53,80,88,110,113,123,135,137,138,139,143,443,444,445,548,554,843,993,995,1027,1030,1064,1080,1194,1221,1433,2082,2083,2084,2086,2087,2095,2096,3074,3306,3333,3389,3784,4899,5631,5800,5900,6665-6669,6697,8000,8080,8088,10000,17500,32764 -n -Pn -r |
# $auth from auth.sh | |
# $spreadsheet_id from get_spreadsheets.sh | |
# $worksheet_id from get_worksheets.sh | |
curl \ | |
--header "Authorization: GoogleLogin auth=$auth" \ | |
--header 'Content-Type: application/atom+xml' \ | |
-d @data.xml \ | |
-X POST \ | |
"https://spreadsheets.google.com/feeds/list/$spreadsheet_id/$worksheet_id/private/full" | |
# Example data in data.xml |
This will eliminate bridge networking, and move DHCP explicity to the WAN interface (port next to usb3) on the espressobin. Approach can be applied to the lan interfaces as well
caveat: TODO: need to double check mac addresses are probaly assigned to the interfaces and not just duplicating eth0 This involves setting MACs correctly in u-boot environment
systemctl disable NetworkManager
"AJSIAJSIAJ BANK EVRAZIYa" (OOO) | |
"ALOR BANK" (OAO) | |
"ANKOR BANK" (OAO) | |
"AZIATSKO-TIKhOOKEANSKIJ BANK" (OAO) | |
"BANK "MBA-MOSKVA" OOO | |
"BANK KREMLEVSKIJ" OOO | |
"BANK24.RU"(OAO) | |
"BMV BANK" OOO | |
"BNP PARIBA" ZAO | |
"BRATSKIJ ANKB" OAO |