Video stream url for VLC/DVR:
- rtsp://192.168.1.93:554/user=admin&password=&channel=&stream=.sdp?real_stream--rtp-caching=100
Telnet access
- telnet 192.168.1.10 23
- Localhost login: root
- Password: xmhdipc
| ## installation openldap with backend mysql | |
| sudo apt update && sudo apt upgrade -y && sudo reboot | |
| sudo apt install mysql-server unixodbc make gcc libmysqlclient-dev unixodbc-dev groff ldap-utils | |
| ## mysql login as root | |
| sudo mysql -u root | |
| CREATE DATABASE ldap | |
| CREATE USER 'ldap'@'%' IDENTIFIED BY 'S3cureP4ssw0rd$'; | |
| GRANT ALL PRIVILEGES ON ldap.* TO 'ldap'@'%'; |
| #!/bin/bash | |
| # Bash script to control a TPLink HS110 or HS100 smart plug. | |
| # Usage: $0 -u username -p password -d "?" => list devices, and should output token. | |
| # Usage: $0 -t <token> -d <device_id> -o off => turn off.. | |
| # Usage: $0 -t <token> -d <device_id> -o off => turn on.. | |
| # Default action is to turn the first device found off. |
| package config | |
| import ( | |
| "crypto/rand" | |
| "crypto/rsa" | |
| "crypto/x509" | |
| "encoding/pem" | |
| "io/ioutil" | |
| "github.com/CodeCollaborate/Server/utils" |
Per http://docs.ansible.com/ansible/playbooks_vault.html you can set an environment variable to use a password file for vault access. We can use this to create an environment variable to hold the password.
Copy vault-env from this project to ~/bin. Then add this to your ~/.bashrc:
export ANSIBLE_VAULT_PASSWORD_FILE=~/bin/vault-env| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "net" | |
| "github.com/milosgajdos83/tenus" | |
| ) |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| python3 -c 'import sys, yaml, json; y=yaml.safe_load(sys.stdin.read()); print(json.dumps(y))' |