# Anchor
click_link 'Save'
# Button
click_button 'awesome'
# Both above
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
| docker run --rm --interactive --tty --volume $PWD:/app composer create-project --prefer-dist laravel/lumen lumen-jwt |
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
| # 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 |
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
| 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", |
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.
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
| 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" }, |
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
| # 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 |
NewerOlder