Skip to content

shubhamchugh/LoginProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please Install puphpeteer Before Start Scraping Duck Duck GO.

npm install @nesk/puphpeteer

Menubar sidebar ->

Provider setup Menuserviceprovider.php then register in config app.php

cache Clear

http://domain.com/clear

create Sitemap

http://domain.com/createsitemap

Scrape From Base64 image encoding site

http://domain.com/scrape/base64?&refKey=loginspy&start=1&end=100

Scrape from Jpg/Png file format website

http://domain.com/scrape/imageformat?&refKey=loginspy&start=1&end=100

Scrape From Bing Title Url Dec

http://domain.com/scrape/bing?&refKey=loginspy&start=1&end=100

Scrape From Yahoo Title Url Dec

http://domain.com/scrape/yahoo?&refKey=loginspy&start=1&end=100

Scrape From Aol Title Url Dec

http://domain.com/scrape/aol?&refKey=loginspy&start=1&end=100

Scrape From DuckDuckGo Title Url Dec

http://domain.com/scrape/duckduckgo?&refKey=loginspy&start=1&end=100

Scrape Only Image From URL(Title,Dec,URL ALready Scraped)

http://domain.com/scrape/images?&start=1&end=100

Scrape Only Title And All Urls

http://domain.com/scrape/onlyurltitle?&refKey=loginspy&start=1&end=100

Scrape Without Image Scrape

http://domain.com/scrape/WithoutImage?&refKey=loginspy&start=1&end=100

Scrape Title Dec and Image(Upload at loginproject wasabi) from API and Update 'is_image' to '1' in post_contents table

http://domain.com/scrape/TitleImgDec?start=100&end=200&API_IP=127.0.0.1

insert Fake UserNames

https://domain.com/insert?userCount=20

Updated Url

cd Laravel command not work :

Use :

export PATH="$HOME/.composer/vendor/bin:$PATH"

Or

export PATH="~/.config/composer/vendor/bin:$PATH"

Laravel memory limit:

COMPOSER_MEMORY_LIMIT=-1 composer update

Make Database Table: with this command one file in migration table will make and post model will make

php artisan make:model Post -m
php artisan key:generate

Cache clear :

php artisan cache:clear
php artisan config:cache
php artisan route:clear
composer dump-autoload

Laravel Permission commands:

sudo chmod -R o+rw bootstrap/cache
sudo chmod -R o+rw storage
sudo chmod -R 777 storage
sudo chmod -R 777 bootstrap/cache

Change Onwerchip:

sudo chown -R runcloud:runcloud /home/runcloud/webapps/blackboardedu
sudo chmod 755 -R /home/runcloud/webapps/blackboardedu

Change php Version Dependency

export XAMPP_HOME=/Applications/XAMPP
export PATH=${XAMPP_HOME}/bin:${PATH}
export PATH

Remove public add .htaccess in root dir

RewriteEngine On
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.\*)$ /public/$1 [L,QSA]

Make Controller :

php artisan make:controller BlogController

Alter table in database via laravel:

Step1 :

php artisan make:migration alter_posts_add_published_at_cloumn --table=posts
sudo systemctl status mongodb
sudo systemctl stop mongodb
sudo systemctl start mongodb
sudo systemctl restart mongodb

Link php with local system

sudo ln -s /opt/lampp/bin/php /usr/bin/php

sudo apt install gcc
sudo apt-get install autoconf
sudo apt-get update && apt-get install -y libssl-dev && rm -rf /var/lib/apt/lists/\*
sudo apt-get install libssl-dev
sudo apt-get install build-essential

Download and Install Composer 2

cd ~
curl -sS https://getcomposer.org/installer -o composer-setup.php
To install composer globally, use the following command which will download and install Composer as a system-wide command named composer, under /usr/local/bin:
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer