Install using composer:
composer require jenssegers/mongodb-session
config/app.php
'providers' => [
Jenssegers\Mongodb\MongodbServiceProvider::class,
1. Shut down VirtualBox. | |
2. Make a copy of the VDI file – just in case (“MyLinux.vdi” -> “MyLinuxCopy.vdi“) | |
3. Go into the Windows command prompt (Start->type “cmd” into the box) | |
4. cd to the location of the VDI file that you wish to resize, e.g., “d:\MyLinux.vdi“ | |
5. At the Windows command prompt, type: | |
D:\>VBoxmanage modifyhd MyLinux.vdi --resize 100000 | |
this will re-size the drive to 100 GB. Pick a value that suits you. Note, your vdi file will not change in size at this point. | |
The output should look like: | |
D:\>VBoxmanage modifyhd MyLinux.vdi --resize 100000 | |
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% |
<?php | |
$args = array( | |
'type' => 'post', | |
'parent' => 0, // Gets only top level categories | |
'orderby' => 'count', // Orders the list by post count | |
'order' => 'desc', | |
'hide_empty' => 1, // Hides categories with no posts | |
'number' => 4, // No of categories to return | |
'taxonomy' => 'category' | |
); |
Install using composer:
composer require jenssegers/mongodb-session
config/app.php
'providers' => [
Jenssegers\Mongodb\MongodbServiceProvider::class,
Connect to MongoDB Shell
mongo
Exit the mongo Shell
quit()
Step #1: Install Laravel
Install the latest Laravel version i.e. Laravel 5.8. To do so go to the project directory and run the command:
composer create-project --prefer-dist laravel/laravel
Step #2: Create Package Directory
create folder from laravel root directory with this structure:
create a repository on github
open terminal inside package folder "packages/devlabs/todolist"
run following commands on terminal
git init
git status
git add .
To install supervisor, use the following command.
sudo apt-get install supervisor
After installation, create supervisor configuration file with instructions to run the processes. To create a configuration file, execute the following command.
sudo nano /etc/supervisor/conf.d/project-name-queue-worker.conf
$instaResult = file_get_contents('https://www.instagram.com/'.$username.'/?__a=1'); | |
$insta = json_decode($instaResult); | |
$instagram_photos = $insta->graphql->user->edge_owner_to_timeline_media->edges; | |
//view with foreach loop. | |
<ul> | |
@foreach($instagram_photos as $instagram_photo) | |
<li> |
follow this guide https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/
or
ssh-keygen
eval $(ssh-agent)
ssh-add ~/.ssh/