This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DEMOCRACIA DISTRIBUÍDA | |
| Ninguém pode entender o que é rede se não entender a diferença entre descentralização e distribuição. O melhor caminho para entender tal diferença é ler o velho artigo On distributed communications, de Paul Baran (Santa Mônica: Rand Corporation, 1964) (1). No mencionado paper sugere-se espiar diretamente a figura que ilustra este post. | |
| Entre a monocentralização (o grau máximo de centralização, que no diagrama de Baran aparece como rede centralizada) e a distribuição máxima (todos os caminhos possíveis, correspondendo ao número máximo de conexões para um dado número de nodos - que não aparece no terceiro grafo do diagrama de Paul Baran, por razões de clareza de visualização), existem muitos graus de distribuição. É entre esses dois limites que se realiza a maioria das redes realmente existentes. | |
| Os diagramas de Baran são autoexplicativos. Mas as consequências que podemos deles tirar não são. O primeiro corolário relevante é que a conectividade acompanha a distribuição. Inversamente, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://trac.ffmpeg.org/wiki/Encode/H.264 | |
| # https://trac.ffmpeg.org/wiki/Encode/AAC | |
| # -map 0 -c copy: copy all remaining streams | |
| # -pix_fmt yuv420p: be compatible with most players | |
| # high quality video, high quality audio | |
| avconv -i input.mov -map 0 -c copy -c:v libx264 -preset veryslow -pix_fmt yuv420p -crf 17 -c:a libfdk_aac -vbr 4 output.mov | |
| # high quality *compatible* full-hd video, high quality audio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rsync -aruv --progress /home/lxc/sisgam/rootfs/var/www/sisgam/arquivos/. . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo rsync -aAXHltzh --progress --numeric-ids --devices origem@origem destino/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| convert -resize 768x576 -delay 20 -loop 0 `ls -v` myimage.gif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_action('wp_footer', 'add_googleanalytics'); | |
| function add_googleanalytics() { ?> | |
| <script> | |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
| })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | |
| ga('create', 'UA-43071036-8', 'auto'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE DATABASE user; | |
| CREATE USER 'user'@'localhost' IDENTIFIED BY 'password'; | |
| GRANT ALL PRIVILEGES ON database. * TO 'user'@'localhost'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is the config file for your lwp system, | |
| # you should copy this file in /etc/lwp/lwp.conf | |
| # and modify it | |
| [global] | |
| address = 0.0.0.0 | |
| port = 5000 | |
| # application prefix, empty for none (example usage - /lwp) | |
| prefix = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <VirtualHost *:80> | |
| ServerName cultura.rj.gov.br | |
| ServerAlias www.cultura.rj.gov.br | |
| DocumentRoot /home/thiagoeuzebio/www_projetos/cultura | |
| Alias /pmi-teatro-villalobos /home/thiagoeuzebio/www_projetos/pmi-villa/src | |
| <Directory /home/thiagoeuzebio/www_projetos/pmi-villa/src/> | |
| Options Indexes FollowSymLinks | |
| AllowOverride Fileinfo Options All | |
| Order Allow,deny |