Q1. Which of the following have true values in Ruby? (Choose two.)
- (a)
"" - (b)
0 - (c)
false - (d)
nil
| # Original : Michalis Georgiou | |
| # Modified : D4zzy for Fedora | |
| _wgeturl="https://github.com/google/fonts/archive/master.tar.gz" | |
| _gf="google-fonts" | |
| # install wget | |
| echo "Installing wget..." | |
| sudo dnf install wget |
Maybe you need the possibility to create excel files and automaticly download it.
To be able to create Excel docs I'm using PHPExcel. Here is a tiny example how to create and download the created file directly from your server.
| # Installation --- | |
| # 1. In Bitbucket, add $FTP_USERNAME $FTP_PASSWORD and $FTP_HOST as environment variables. | |
| # 2. Commit this file to your repo | |
| # 3. From Bitbucket Cloud > Commits > Commit Number > Run Pipeline > Custom:Init (this will | |
| # push everything and initial GitFTP) | |
| # | |
| # Usage --- | |
| # - On each commit to master branch, it'll push all files to the $FTP_HOST | |
| # - You also have the option to 'init' (from Bitbucket Cloud) - pushes everything and initialises | |
| # - Finally you can also 'deploy-all' (from Bitbucket Cloud) - if multiple deploys fail, you |
| #!/bin/sh | |
| ls Postman*.tar.gz > /dev/null 2>&1 | |
| if [ $? -eq 0 ]; then | |
| echo "Removing old Postman tarballs" | |
| rm -f $(ls Postman*.tar.gz) | |
| fi | |
| echo "Downloading latest Postman tarball" | |
| curlExists=$(command -v curl) |
| <p> | |
| Ficar em casa em períodos longos, não deve ser nada fácil. | |
| </p> | |
| <p> | |
| Iremos catalogar ideias, brincadeiras, jogos, filmes, livros, cursos, dicas e tudo que for necessário para tornar esse momento mais interessante. | |
| </p> | |
| <p> | |
| Comece clicando em ver ideias para ver as ideias cadastradas e contribua adicioando a sua ideia. | |
| </p> |