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 |
const obj = [ | |
{ time: "11:51", title: "Flexbox Video" }, | |
{ time: "11:29", title: "Flexbox Video" }, | |
{ time: "9:13", title: "Flexbox Video" }, | |
{ time: "8:22", title: "Flexbox Video" }, | |
{ time: "8:57", title: "Flexbox Video" }, | |
{ time: "7:12", title: "Flexbox Video" }, | |
{ time: "7:58", title: "Redux Video" }, | |
{ time: "7:24", title: "Redux Video" }, | |
{ time: "6:46", title: "Flexbox Video" }, |
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.
var faker = require('faker'); | |
var uuidV4 = require('uuid/v4'); | |
var log = { | |
"v": "1.0", | |
"category": "ERRORLOG", | |
"level": "INFO", | |
"timestamp": "2016-11-04T22:02:02.365Z", | |
"application": { | |
"name": "My Fav application", |
# 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 |
docker run --rm --interactive --tty --volume $PWD:/app composer create-project --prefer-dist laravel/lumen lumen-jwt |