Pesquisar este blog

quinta-feira, 30 de julho de 2020

fd – A Simple and Fast Alternative to Find Command

Referência: https://www.tecmint.com/fd-alternative-to-find-command/

Most of the Linux users are well familiar with the find command and the many cases it can be used. Today we are going to review an alternative to find command, called fd.
fd, is a simple, fast and user-friendly tool meant to simply perform faster compared to find. It is not meant to completely replace find, but rather give you an easy to use alternative that performs slightly faster.
Some of the notable features of fd:
  1. Easy to use syntax – fd *pattern* instead of find -iname *pattern*.
  2. Colorful output similar to the one of ls command.
  3. Fast performance. Developer’s benchmarks are available here.
  4. Smart search with case-insensitive by default and switches to case sensitive if patter containers an uppercase symbol.
  5. Does not look in hidden files and directories by default.
  6. Does not look into .gitignore by default.
  7. Unicode awareness.

How to Install fd in Linux

We are going to look at how to install fd in different Linux distributios.
For Ubuntu and Debian based distros, you will need to download the latest fd version from the release page and install it using following commands.
$ wget https://github.com/sharkdp/fd/releases/download/v7.3.0/fd-musl_7.3.0_amd64.deb
$ sudo dpkg -i fd-musl_7.3.0_amd64.deb
On Other Linux distributions, you can install fd from the default repository using package manager as shown.
# dnf install fd-find  [On Fedora]
# pacman -S fd         [On Arch Linux]
# emerge -av fd        [On Gentoo]
# zypper in fd         [On OpenSuse]

How to Use fd in Linux

Similar to find commandfd has many uses cases, but let’s start at checking the available options:
# fd -h
OR
# fd --help
fd Command Usage
fd Command Usage
Let’s have a look at few examples. You can run fd without any arguments, the output is very similar to ls -R command.
Let’s have a look at few examples. You can run fd without any arguments, the output is very similar to ls -R command.
# fd
In the next fd examples, I will use a default WordPress installation located in /var/www/html/ to search for different files and folders.
In the example below, I have taken only the first 10 results for shorter output of the command.
# fd | head
fd Command Example
fd Command Example
Let’s say we want to find all jpg files. We can use the “-e” flag to filter by file extension:
# fd -e jpg
fd - Find JPG Files
fd – Find JPG Files
The “-e” flag can be used in combination with a pattern like this:
# fd -e php index
The above command will look for files with extension php and have the string “index” in them:
fd - Find String in Files
fd – Find String in Files
If you want to exclude some results, you can use the “-E” flag like this:
# fd -e php index -E wp-content
This command will look for all files with php extension, containing the string “index” and will exclude results from the “wp-content” directory.
fd - Exclude Files While Searching String in Files
fd – Exclude Files While Searching String in Files
If you want to specify a search directory, you simply need to give it as argument:
# fd  
fd - Find Files in Directory
fd – Find Files in Directory
Just as find, you can use -x or --exec arguments to perform parallel command execution with the search results.
Here is an example where we will use chmod to change permissions of the image files
# fd -e jpg -x chmod 644 {}
The above will find all files with extension jpg and will run chmod 644 .
Here is some useful explanation and usage of the brackets:
  • {} – A placeholder which will be changed with the path of the search result (wp-content/uploads/01.jpg).
  • {.} – similar to {}, but without using the file extension (wp-content/uploads/01).
  • {/}: A placeholder that will be replaced by the basename of the search result (01.jpg).
  • {//}: Parent directory of the discovered path (wp-content/uploads).
  • {/.}: Only the basename, without the extension (01).

Conclusion

This was a brief review of the fd command, that some users may find easier to use and faster. As mentioned earlier in this article fd is not meant to completely replace find, but rather provide a simple usage, easier search and better performance. Fd does not take much space and is a nice tool to have in your arsenal.

quarta-feira, 29 de julho de 2020

FILMES


120 FILMES, SÉRIES E DOCUMENTÁRIOS PARA DESPERTAR UMA
NOVA CONSCIÊNCIA NA QUARENTENA


 1. Energia do Pensamento - https://youtu.be/wdpR8RlJBUE 

2. Turista Espacial (La Belle Verte) - https://vimeo.com/236845639 

3. O Efeito da Sombra - Debbie Ford - https://youtu.be/rcfbxbihSsQ 

4. A Profecia Celestina - https://youtu.be/MZf-i3Rk_8w 

5. Nosso Lar - https://youtu.be/pcPeGMzd5tI 

6. Conversando com Deus - https://youtu.be/sl4Gq62ePg4 

7. Humano - Volume 1 - https://youtu.be/TnGEclg2hjg 

8. Humano - Volume 2 - https://youtu.be/ZJ3cImzjNps

 9. Humano - Volume 3 - https://youtu.be/RVWwGak3nQY 

10. Os Crakras Iluminados - https://youtu.be/t_870Pxt7jk 

11. A Biologia da Crença - https://youtu.be/FJQGC1GBHSY 

12. Blueberry - https://youtu.be/EBdBXq5JLGI 

13. The Shift - https://youtu.be/hdi0mTa-fDY

14. A Cabana - https://www.youtube.com/watch?v=acfAMwTk0lk

 15. Kymatica - https://youtu.be/bOhU7Hlk_xE 

16. Poder Além da Vida - https://youtu.be/ru7RMHpQPqc 

17. O Segredo - https://youtu.be/9R_qja9jEz8

18. Coherence - https://youtu.be/t_S-aR6LWWQ 

19. Home (documentário) - https://youtu.be/zFrUlbWPbBo

 20. Quem Somos Nós - Volume 1 - https://youtu.be/JBSCanzPAfY

 21. Quem Somos Nós - Volume 2 - https://youtu.be/M7dBhG0PWog 

22. O Circo Borboleta - https://youtu.be/pBpFjBQgFro 

23. Mundos Internos - Mundos Externos - https://youtu.be/7dBdywfSA2Q 

24. O Princípio - https://bit.ly/the_principle

 25. Fractais - Dimensão Oculta - https://youtu.be/KyXoYayHIFA 

26. Evolução Índigo - https://youtu.be/5rWm-AvcmGs 

27. Ho’oponopono - https://youtu.be/DvfnJdoJJUM 

28. O Universo Conectado - https://youtu.be/BkImhQTPJG8

 29. A Ciência dos Milagres - https://youtu.be/rBvhWcq2198 

30. A Sombra de um Delírio Verde - https://vimeo.com/32440717

31. Energia Pura - https://youtu.be/VlHgmTNja5Y 

32. O Universo Holográfico - https://youtu.be/Wy0i_vHq7bM 

33. Thrive - https://youtu.be/bDqIM28MzhM 

34. Sirius - https://youtu.be/QUSJUprr13k

35. A Origem - https://youtu.be/EkLQAY8vPts

36. Sr. Ninguém - https://vimeo.com/290909980

37. O Predestinado - https://youtu.be/wS3KlSAs0GE 

38. O Doador de Memórias - https://youtu.be/g9qdp9eVjys

39. Todos Somos Um - https://youtu.be/vnNn2PnESuM

40. Eu Maior - https://youtu.be/V0gquwUQ-b0 

41. Interstate 60 - Viagem sem Destino - https://youtu.be/zExx_Zppcuo 

42. O Poder da intenção - https://youtu.be/w6BD_sd3ups43. HIM - Além da luz - https://youtu.be/Nae2Z5T--to44. The Moses Code - https://youtu.be/suMSGutjhcM45. Você Acredita? - https://youtu.be/QasCM1Mpflo46. Awara Nane Putane - Uma História do Cipó (Animação) - https://vimeo.com/7235258047. Além do impossível - https://youtu.be/l1VIquAhh6g48. O Guardião de Memórias - https://youtu.be/YK2NUELtLFE49. Zeitgeist: The Movie - https://youtu.be/5R_Vm2wCQj450. Zeitgeist: Addendum - https://youtu.be/Z71lo_OeD3451. Zeitgeist: Moving Forward - https://youtu.be/SuiCYiwHptg52. A Fonte da Vida - https://youtu.be/yvCaSAaPeUs53. Salvo pela luz - https://youtu.be/5dYCoCjaKl054. Dead Man - https://youtu.be/9G0cwiMA4d055. Kangwaá - Cantando para Nhanderú - https://youtu.be/6poEuFqAe8E56. Baba Aziz - O Príncipe que Contemplava sua alma - https://youtu.be/f9JnzGEDJd457. Sem Limites -https://www.facebook.com/nootropicobr/videos/1535406629830228
58. Doutor Estranho -
https://youtu.be/L32iieCFoBw59. SENSE8 - https://bit.ly/sense__860. A Fenda no Tempo - https://youtu.be/qXiPrPvYNII61. Minha Vida na Outra Vida - https://youtu.be/sRSobEoTswI62. Uma História de Amor e Fúria - https://youtu.be/aE1meL6qmRg63. The Thirteenth Floor - https://youtu.be/q6u3baUoBXE64. Xingu - Parte 1 - https://youtu.be/EBg8uGRIST8 / Parte 2 - https://youtu.be/lpAIJuVvIz065. O Sistema - https://youtu.be/ciVmvtJmLPQ66. O Poder da Água - https://youtu.be/epoTVejvpEI67. The Afterlife Investigations - https://youtu.be/v_SYq-EFuhE68. Depois da Terra - https://youtu.be/KT2kIaR250Q69. Matrix - https://youtu.be/NFR1SUz4yLw70. Matrix Reloaded - https://youtu.be/yBJXhecMNUo71. Matrix Revolution - https://youtu.be/pwXCHTweLDI72. Os Três Desejos - https://youtu.be/BDKlWg9L0bA73. O Preço do Amanhã - https://youtu.be/euQrskSt1eY74. O Universo no Olhar - https://youtu.be/puQg76Xv4vE75. Na Natureza Selvagem - https://youtu.be/2iXVADIlsF476. Minhas Vidas - https://youtu.be/Uttm51iL0tk77. Era da Estupidez - https://youtu.be/_d4YDLK0jP078. As Leis da Eternidade (Animação) - https://youtu.be/bSTMPPwKxJA79. As Leis do Sol (Animação) - https://youtu.be/44nN72E5JDg80. Leis Místicas (Animação) - https://youtu.be/VOU1sBJBrH881. O Renascimento de Buda (Animação) - https://youtu.be/GhmaHtycEdk82. O Sabor da Magia - https://youtu.be/e20Ry98JKW083. Realidade Espiritual - Viagem Interna (Animação) - https://youtu.be/UQCovqqfrjA
[Importante essa lista não foi elaborada pela Blue Vibes, e infelizmente não conhecemos o autor para dar os créditos devidos]84. Eles Vivem - https://youtu.be/c9EfHz-uxRQ85. The Letter Writer - https://youtu.be/x32hIp9gJxs86. O Físico (The Physician) - https://youtu.be/MG3xN-ZRVU887. Contra o Tempo (Source Code) - https://youtu.be/5KZly-TaYB888. O Segredo da Felicidade - https://youtu.be/sa-9IBC4PTE89. Mundos Opostos (Upside Down) - https://youtu.be/4_kjphLof6Q90. Efeito Borboleta - https://youtu.be/MfSE2k9bqHg91. O Céu é de Verdade - https://youtu.be/YEy1y6sRVgw92. Abençoe-me, Ultima: A Curandeira - https://youtu.be/KzuuPVCCE5U93. Índigo - https://youtu.be/X6ip_PnPJJ894. A História de Deus com Morgan Freeman (Documentário National Geographic) -https://youtu.be/aNSDbpkWyG095. Fringe (Série) - https://www.facebook.com/watch/?v=66049215438073596. The O.A (Série / Netflix) - Trailer https://youtu.be/g2RrcSF4p4Y97. Data Limite segundo Chico Xavier - https://youtu.be/4JxukHvGVzE98. No meio de Nós (Documentário) - https://youtu.be/3iLwUxdeF4w99. Samadhi - Parte 1: Maya, A Ilusão do Eu - https://youtu.be/Bw9zSMsKcwk100. Samadhi - Parte 2: Não é o Que Você Pensa - https://youtu.be/oTGMpykBZ4A101. A Última Hora - https://youtu.be/1J-eh0Vz-s8102. A Psicologia da Mudança - https://youtu.be/p899ciA36Pw103. E a Vida Continua - https://youtu.be/VSMpgJrv5jQ104. A Árvore da Vida - https://youtu.be/ITHQcWt5Tq0105. Samsara - https://www.youtube.com/playlist?list=PLEFlYkkGYDNl8aGCv_t0a6nKeYoxQ_dD106. Zen a Vida de Dogen - https://youtu.be/cZg4VUeAhgw107. O Buda https://youtu.be/So18oNnMpgs108. O Buda https://youtu.be/pu9k2ZkV7CA109. E Buda Desabou de Vergonha https://youtu.be/eMXiZFwIePQ110. O Pequeno Buda - https://youtu.be/m-upRR1hCqo111. Isso Existe - Um Filme sobre Sri Prem Baba - https://youtu.be/ZDW90SFLYS0112. A Historia da Vida de Buda - Principe Sidarta Gautama https://youtu.be/-eEq9koFl3E113. As Mães de Chico Xavier - https://youtu.be/KTdSt82oe_s114. Chico Xavier, O FIlme - https://youtu.be/s3vXBBgwMeQ115. Madre Tereza de Calcutá, Um Exemplo de Vida - https://youtu.be/mJqnAXlofXU116. Soltar (Ungrip) - https://youtu.be/M3zOHyqzHz0117. Plano Esotérico (Esoteric Agenda) - https://youtu.be/CitVCOCWPF0118. O Mestre da Vida - https://youtu.be/6TBtBUdY1Nwp119. Terra, o Filme - https://youtu.be/31P-XBa48K8120. O Homem que viu o Infinito - https://youtu.be/44V1UqF4YCU

terça-feira, 28 de julho de 2020

FUNDO DE TELA - REUNIÃO TEAMS - NO LINUX

Como alterar o fundo de tela de sua câmera na sua reunião  no Microsoft TEAMS utilizando o Linux 

Como eu também uso o Linux e ja passei por isto, gostaria de compartilhar a solução que eu uso : 

https://elder.dev/posts/open-source-virtual-background/
A ideia básica é criar uma camera virtual que lê a imagem da câmera verdadeira, processa a imagem com uma biblioteca que separa o contorno humano , insere o fundo e depois entrega para o teams a imagem processada.

Autor: WALTER MATHEOS JUNIOR