For some reason there is a whole thread on this seemingly simple tasks. In a bootstrapped Laravel 5.4 instance the following worked for me.
npm install font-awesome
| #!/bin/bash | |
| # Exit on error | |
| set -e | |
| # Log file | |
| LOG_FILE="./versioned_vfox_install.log" | |
| # Utils | |
| print_loader() { |
| <main data-active-index="0" data-debug="false"> | |
| <div class="card-stack"> | |
| <div class="card"><img src="https://assets.codepen.io/215059/card-stack-demo-05.jpg" /></div> | |
| <div class="card"><img src="https://assets.codepen.io/215059/card-stack-demo-04.jpg" /></div> | |
| <div class="card"><img src="https://assets.codepen.io/215059/card-stack-demo-06.jpg" /></div> | |
| <div class="card"><img src="https://assets.codepen.io/215059/card-stack-demo-07.jpg" /></div> | |
| <div class="card"><img src="https://assets.codepen.io/215059/card-stack-demo-08.jpg" /></div> | |
| </div> | |
| <div class="scroller"> | |
| <div class="scroll-item"></div> |
| // This method works only when pdf is rendered with Text Layer | |
| // It compares particular text/word element coordinates with | |
| // the rectangle's coordinates. If text/word coordinates is in | |
| // the rectangle, text has got. And successing texts are similar. | |
| // Check out text layer rendering option at the article below. | |
| // https://www.sitepoint.com/custom-pdf-rendering/ | |
| function getTextInRect(pageNumber, Xi, Yi, Xl, Yl) { // modify pageNumber if required | |
| // Get the page if page render method works like (page-1, page-2, ...) | |
| // If not, modify according to |
For some reason there is a whole thread on this seemingly simple tasks. In a bootstrapped Laravel 5.4 instance the following worked for me.
npm install font-awesome
| /** | |
| * Removes the minus sign from the beginning of the string | |
| * | |
| * @param str | |
| * @returns an array with the first item as true if a minus | |
| * was found and the string minus the minus sign. | |
| */ | |
| function stripSign(str) { | |
| // Check if it has a minus sign | |
| let hasMinus = str.charAt(0) === '-'; |
| #include <stdio.h> | |
| #include <mysql.h> | |
| #include <unistd.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| int main (int argc, char *argv[]) { | |
| MYSQL *mysql; | |
| MYSQL_RES *result; |