procurar no google por tonymac
chrome sublime
-------- Intelbras ------------------------------------------------------- | |
rtsp://usuário:senha@ip:porta/cam/realmonitor?channel=1&subtype=0 | |
-------- Luxvision ------------------------------------------------------- | |
rtsp://ip:porta/user=[usuário]&password=[senha]&channel=1&stream=0.sdp | |
-------- Hikvision ------------------------------------------------------- | |
rtsp://usuário:senha@ip:porta/Streaming/Channels/101 |
# How to install | |
# wget -O - https://gist.githubusercontent.com/denoww/a1acfd75198e743e31e1f6a127244ced/raw | bash -s install | |
# Para ver exemplos de como usar faça | |
# $ sc | |
LIB_DIR="/usr/local/bin" | |
LIB_PATH="$LIB_DIR/sc" | |
REGION='us-east-1' |
#!/bin/bash | |
# cx stacks list | |
# cx servers list -s stacks.name | |
has_cx_command="$(command -v cx)" | |
if [ $has_cx_command ]; then | |
stacks_list="$(cx stacks list | grep -P '^(?!NAME)' | grep -Eo '^\S*')" | |
for stack in $stacks_list; do | |
echo "=========== stack '$stack' ===========" | |
name_serv=$(echo "$stack" | sed 's/seucondominio_//' | sed 's/_.*$//') | |
servers_list="$(cx servers list -s $stack | grep -Eo '^\S*')" |
_work=~/workspace | |
_sc=$_work/seucondominio/ | |
# Criando atalhos | |
wget https://gist.githubusercontent.com/denoww/4a53c2fe43e67979a433f6ef446d11a2/raw -O ~/.bash_aliases && source ~/.bash_aliases | |
# Clone o repo | |
mkdir -p $_work | |
git -C $_work clone [email protected]:denoww/seucondominio.git | |
git -C $_sc checkout tools |
folder=~/.config/sublime-text | |
# folder=~/.config/sublime-text-3 | |
# limpa configuração anterior caso tiver sido feita | |
rm -rf $folder/.git | |
rm -rf $folder/Installed\ PackagesOLD | |
rm -rf $folder/PackagesOLD | |
rm -rf $folder/.gitignore | |
rm -rf $folder/README.md |
# How to use | |
# $ cliente_id=521 | |
# $ file="/tmp/teste.sql" | |
# $ wget -O - https://gist.githubusercontent.com/denoww/0ca4e98fa053a50ebd5ebfa26b7d4cea/raw | bash -s $cliente_id $file | |
# args | |
cliente_id=$1 # 521 | |
file=$2 # "/tmp/teste.sql" |
#!/bin/bash | |
# instala o curl | |
sudo apt-get install -y curl | |
# carregando configurações via params | |
# for i in $* | |
# do | |
# if [[ "$i" == '-y' || "$i" == '-Y' ]] ; then | |
# all_alowed=true |
# execute no servidor o comando | |
# wget -O - https://gist.githubusercontent.com/denoww/08f7abbed2ea46475d24a7e9b51fb70d/raw/config_sc_rails_server.sh | bash | |
#!/bin/bash | |
# pt-BR | |
sudo locale-gen pt_BR.UTF-8 | |
# postgresql-client-12 - psql | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - |
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Dracula Theme v1.4.2 | |
# | |
# https://github.com/dracula/sublime | |
# | |
# Copyright 2013-present, All rights reserved | |
# | |
# Code licensed under the MIT license | |
# |