This fix is temporary but works.
Download this version (select your OS): https://chromedriver.storage.googleapis.com/index.html?path=72.0.3626.69/
Extract the zip for your OS.
Go to your Vendor/ folder in your laravel/dusk folder. Mine was
public function DurationOfTimesheet($timesheet_id, $output = null) { | |
$time = $this->where('id', $timesheet_id)->first(); | |
if (empty($time)) { | |
return "timesheet not found"; | |
} else { | |
// dd($time->start); | |
$start = Carbon::createFromFormat('Y-m-d H:i:s', $time->start); | |
function toQueryString(obj) { | |
var i; | |
var arrayKeys = Object.keys(obj); | |
var returnArray = [] | |
for(i = 0;i < arrayKeys.length;i++) | |
{ | |
returnArray.push( encodeURIComponent(arrayKeys[i]) + '=' + encodeURIComponent(obj[arrayKeys[i]])); | |
} | |
return returnArray.join('&'); |
version: 2 | |
jobs: | |
build: | |
docker: | |
- image: circleci/python:2.7-jessie | |
working_directory: ~/hugo | |
environment: | |
HUGO_BUILD_DIR: ~/hugo/public | |
steps: |
from django.http import Http404, HttpRequest, QueryDict, HttpResponse | |
from . import views | |
import json | |
# The following code sample shows you how to call another method | |
# from a view to another. This is pretty useful if you're querying internal APIs. | |
# I normally have separate views for public and cron type Apis, sometimes you want to call | |
# an existing view and get the information (or process something) rather than using the requests method in python. | |
This fix is temporary but works.
Download this version (select your OS): https://chromedriver.storage.googleapis.com/index.html?path=72.0.3626.69/
Extract the zip for your OS.
Go to your Vendor/ folder in your laravel/dusk folder. Mine was
public class JwtService | |
{ | |
private string _secret; | |
private int _expDate; | |
private IConfiguration _config; | |
public JwtService(IConfiguration config) | |
{ | |
_secret = config.GetSection("JwtConfig").GetSection("secret").Value; | |
_config = config; |
NG Bootstrap Tabs Documentation
Overview
NG Bootstrap provides an easy-to-use tab component that allows users to navigate through multiple sections of content. This documentation will guide you through the process of creating tabs using NG Bootstrap and show you how to use sub components as the content of these tabs.
Sample Code
Below is a sample code snippet that demonstrates how to create tabs using NG Bootstrap: