This file contains 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
<?php | |
public $timestamps = false; // if dont want to timetamps | |
protected $table = 'temp_interviewees'; | |
protected $fillable = ['greetings','']; | |
protected $hidden = [ ]; | |
Bootstrap - buttons typs - https://getbootstrap.com/docs/4.0/components/buttons/ | |
--------------------------- Commit transaction --------------------------------- | |
try{ |
This file contains 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
#!/bin/sh | |
REACT_FOLDER_PATH="/var/www/html/cn_front_code" | |
PULL_ORIGIN_URL="REPO URL" | |
PROJECT_PUBLIC_URL="https://neuramonks.com" | |
PROJECT_BUILD_LIVE_FOLDER_NAME="cn_front_live" | |
PROJECT_BUILD_LIVE_FOLDER_PATH="/var/www/html/cn_front_live" | |
SERVER_BASE_PATH="/var/www/html" | |
echo "Folder path -> " . $REACT_FOLDER_PATH. "\n"; |
This file contains 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
#!/bin/sh | |
REACT_FOLDER_PATH="/var/www/html/cn_front_code" | |
PULL_ORIGIN_URL="REPO URL" | |
PROJECT_PUBLIC_URL="https://neuramonks.com" | |
PROJECT_BUILD_LIVE_FOLDER_NAME="cn_front_live" | |
PROJECT_BUILD_LIVE_FOLDER_PATH="/var/www/html/cn_front_live" | |
SERVER_BASE_PATH="/var/www/html" | |
echo "Folder path -> " . $REACT_FOLDER_PATH. "\n"; |
This file contains 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
Hello Everyone! | |
I will teach you that "How to Install XAMPP on windows (7/8/8.1/10) and | |
make it completely secured". Also "How to install SSL Certificates on multiple virtual hosts (vhosts) Free". | |
And also in this video you will find a lots of XAMPP Errors solutions. Follow the steps given below: | |
1). Download and Install XAMPP. (Latest Version) | |
Search Xampp and Run as administrator. | |
Click on Service tab -> Apache and Mysql -> it will install both service. | |
Then you can start APache and Mysql |
This file contains 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
Ref Link | |
====================== | |
youtube video | |
https://www.youtube.com/watch?v=YMMFfAad3y8 | |
https://www.youtube.com/watch?v=1p985k-sGoc | |
Enable IIS windows | |
https://help.claris.com/en/server-installation-configuration-guide/content/enabling-iis-windows.html | |
Add CGI module | |
https://www.ibm.com/docs/en/cognos-analytics/11.1.0?topic=services-configuring-cgi-gateway-iis-version-7-later |
This file contains 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
How to set-up your Google reCAPTCHA account? | |
Before you can use reCAPTCHA, you need to set-up an account. | |
Once you have your account, you need to add your website domain and obtain a site key and a secret key. | |
Step 1. Go to the "Admin" page (click the admin button on the top right of the page). | |
Step 2. Click on the + (plus) symbol on the top bar to create a new site | |
Step 3. Add a label, for example, add your domain name. | |
Step 4. Pick the reCAPTCHA type. Pick 'reCAPTCHA v3'. | |
Step 5. Enter your website domain name |
This file contains 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
Here are basic steps to integrate Bitbucket pipeline - where project is already setuped to server. | |
*********Here is test to yml validtor - https://bitbucket-pipelines.atlassian.io/validator | |
Create varibles into bitbucket repo settings | |
************************************************* | |
REPO_ORIGIN_URL -> url to git pull with username and password | |
https://username:token@bitbucket.org/workspace/projectreponame.git | |
DEPLOY_USER_J -> server username |
This file contains 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
1. create repo to bitbucket. | |
2. Enable pipeline from repo settings. | |
3. create 2 files to current repo. (bitbucket-pipelines.yml and execute.sh) | |
4. Now commit any push to local pc and you can navigate to pipeline page to repo. | |
Create repo pipeline environment variables to repository settings. | |
****************************************************************** | |
1. DEPLOY_USER_J -> write server username for login | |
root |
This file contains 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
Error: | |
dpkg: error processing package mysql-server (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. | |
Errors we re encountered while processing: mysql-server-8.0 mysql-server E: Sub-process /usr/bin/dpkg returned an error code | |
Step to encount the error: | |
1. sudo apt-get clean | |
2. sudo apt-get purge mysql* | |
3. sudo apt-get updateYou10:58 | |
4. sudo apt-get purge mysql* |
This file contains 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
1. **************************************** Import CSV ************************************* | |
public static function importCsv() | |
{ | |
$file = public_path('file/test.csv'); | |
$customerArr = $this->csvToArray($file); | |
echo "<pre>"; | |
for ($i = 0; $i < count($customerArr); $i ++){ | |
print_r($customerArr[$i]); |
OlderNewer