This is default featured post 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

How to get free .edu mail free of cost

How to create free .edu email (100% free free 2019)
When you become a student of a particular university or college, you will have a .edu email account with your name, for example, your-name@mit.edu. But if you are not a student and want a free .edu email then this article is for you. And yes, this method is 100% free and working (Last tested on 13 December 2019)

Why should one need .edu email?
Here are some of the benefits of having .edu email
1. GitHub Student Developer Pack
The First and biggest benefit of having a .EDU email address is the GitHub Student Developer Pack, the best free developer tools, and services for students. This student pack comes with 12 great offers and free services that may be useful to you, such as $15 Amazon AWS coupon, $50 Digital Ocean coupon and much more.
Take a look at the list below:
·        $15 Amazon AWS coupon
·        $50 Digital Ocean coupon. It will be expired within 12 months after adding to your account – new account only.
·        Bitnami: Offers the Business 3 plan for one year that typically cost $49 per month.
·        Crowdflower: access to the Crowdflower platform.
·        DNSimple: Offers the Personal hosted DNS plan for two years that typically charge $5 per month.
·        GitHub: Offers unlimited private repositories while you are a student. Normally, GitHub charges $7 per month.
·        $25 credit of HackHands, a live programming help that available 24/7.
·        A suite of Microsoft Azure cloud services and developer tools: Microsoft Azure, Visual Studio Community and the rest of Microsoft developer tools, while you are a student.
·        NameCheap.com: Offer one year .ME domain name registration that costs $18.99 per year – and one year SSL certificate that costs $10 per year.
·        Orchestrate: Access to the Developer account that costs $49 per month, while you are a student. It’s a complete database portfolio, includes search, time-series events, geolocation, and graph queries through an API.
·        SendGrid: Offers the Student plan with 15,000 free emails per month, while you are a student.
·        Travis CI: Access the Private builds that charge you $69 per month, while you are a student.
2. Amazon Student Pack
When you use a .EDU email account and sign up for Amazon Student account – you will be able to use Amazon Prime for free for six months, which has many benefits:
·        Free TWO-DAY shipping on many Amazon products.
·        Get unlimited instant streaming of movies, TV shows, and music.
·        Access exclusive deals for students.
·        Unlimited photo storage with Amazon Prime Photos.
3. LastPass
LastPass offers six months of the LastPass Premium for any users with a .EDU email address.
4. Newegg Premier
Grab one year of Newegg Premier that costs you $50. Just sign up Newegg Premier account with your student email account.
5. Apple
You will help yourself saving a lot of money by using the .EDU email address to purchase products from Apple. There are changes to save up to $200 on Apple computers.
6. Microsoft DreamSpark
Grab Microsoft DreamSpark with plenty of useful software and Microsoft Office 365 subscription for free.
Benefit list of .edu email is not limited in these only there are many other benefits like free domain name and much more.
Now lets enter into the subject matter. How to get free .edu email. Follow the step below carefully to create free .edu email. This tutorial is divided into three parts. You can skip part 2(if you like).
Part 1:
Step 1: Go to this link and solve captcha. Then Click on new user and then sign up with email.
Step 2: To fill the detail you can use your real name and email but if you are not an US citizen then you can use this link to generate fake user detail. [For temporary email you can go here.] For Example:
Full Name
Mary N Morey
Gender
female
Title
Mrs.
Race
Black
Birthday
11/16/1957
Social Security Number
306-90-8491

[Note: Save name, username and password in notepad or somewhere it may need later]
Step 3: After filling all the detail click on submit.
Now that you have created account let’s move on to part two of this tutorial.
Part 2:
After creating account and loging  into click on Apply Now. Select any college name from the list and click on Apply. A pop-up will open then click on Apply Now (OR CONTINUE APPLICATION) BUTTON. Then you are asked for different questions. You can answer these questions randomly or you can use the detail below to answer these questions.
First name and last name: Put the name that you have entered in part 1. Leave other field empty.
Birthdate, Social Security Number: Enter details which was generated from this link .
Gender: Male/Female (as you like)
Racial or ethnic identification: White
Hispanico or Latino: No
Have you ever applied, attended ……: No
After that click on Save and Continue.
For Mailing address use the detail generated from  this link.
Is this your permanent address: Yes
You can leave telephone number blank.
Then check on I have reviewed the guidelines box and click on save and continue.
Which ….. high school education: I don’t have a GED/High …….
Last date attended: 01/2017
Highest grade completed: 11th grade.
Have you ever attend …. : No
I have planned to earn a degree…..: No
I plan to start class: Choose any
After that click on Save and Continue.
Have you ever served …….. military: No
Are you …….. military: No
After that click on Save and Continue.
Parent 1 and 2: Choose any.
What is your current status?: Native US……
Primary spoken language: English
Do you want……: No
After that click on Submit your completed application.

Part 3.
After successfully completing the application put on your signature i.e your full name. Then you will be redirect to with all your detail. Under the student information you will get your username and temporary password. Note down that password, username and other details.
After that you can go here and login where you will get your .edu email.
NOTE: It will take more than 6hours for the login credentials to activate. So you will get error that your username and password is invalid.
Tech Tip : Catch up with your emails and essential documents on any device using full-fledged & premium Office 365 with office 365 migration. Learn more about a powerful work space like Citrix Xendesktop VDI with Apps4Rent.
This is the end of this tutorial. By this way you have successfully created free .edu mail. If you have any questions feel free to comment below and if you like this article don’t forget to share it with your friends.

Sweet Alert Install in Vue

npm install sweetalert2

Install Fontawasome

npm install @fortawesome/fontawesome-free

Install Admin-LTE version 3.0.0

npm install admin-lte@v3.0.0-alpha.2 --save

KeyBoard Refresh will not change the Route in vue.js

Go to web.php Route

Paste the code

Route::get('/{anypath}','HomeController@index')->where('path','.*');

Refresh form on click of cancel button

<form method="post" id="sample_form" class="form-horizontal" enctype="multipart/form-data">
                   @csrf

                   <div class="form-group">
                       <label class="control-label col-md-3"> Phone<big class="text-danger">*</big></label>
                       <div class="col-md-8">
                           <input type="text" value="" class="form-control" id="phone" name="phone" placeholder="Enter Full Phone No" required>
                           <div id="visitorList"></div>
                       </div>
                   </div>

                       <div class="form-group">
                           <label class="control-label col-md-3" >Name<big class="text-danger">*</big></label>
                           <div class="col-md-8">
                               <input type="text" value="" name="name" id="name" class="form-control" placeholder="Enter Visitor Name"  required/>
                           </div>
                       </div>


                   <div class="form-group">
                       <label class="control-label col-md-3">Email<big class="text-danger">*</big></label>
                       <div class="col-md-8">
                           <input type="email" value="" class="form-control" id="email" name="email" placeholder="Enter Visitor Email" required>
                       </div>
                   </div>



                   <div class="form-group">
                       <label class="control-label col-md-3"> Company<big class="text-success"></big></label>
                       <div class="col-md-8">
                           <input type="text" class="form-control" id="company" name="company" placeholder="Enter Company Name">
                       </div>
                   </div>

                   <div class="form-group">
                       <label class="control-label col-md-3"> C.Address<big class="text-success"></big></label>
                       <div class="col-md-8">
                    <input type="text" class="form-control" id="address" name="address" placeholder="Enter Company Email">
                       </div>
                   </div>



         <div class="form-group" align="center">
             <input type="hidden" name="action" id="action" />
            <input type="hidden" name="hidden_id" id="hidden_id" />
            <input type="submit" name="action_button" id="action_button" class="btn btn-success" value="Add" />
                   </div>
               </form>
    
   
<script>
$("#cancel").click(function () {
   $('#sample_form')[0].reset();
   $("#name").val("");
   $("#phone").val("");
   $("#results").html("");
   $("#email").val("");
   $("#company").val("");
   $("#address").val("");
});
<script>

How to remove /public from URL

First add a file name .htaccess
After that add this code
<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews -Indexes    </IfModule>

    RewriteEngine On

    RewriteCond %{REQUEST_FILENAME} -d [OR]    RewriteCond %{REQUEST_FILENAME} -f    RewriteRule ^ ^$1 [N]
   RewriteCond %{REQUEST_URI} (\.\w+$) [NC]   RewriteRule ^(.*)$ public/$1

    RewriteCond %{REQUEST_FILENAME} !-d    RewriteCond %{REQUEST_FILENAME} !-f    RewriteRule ^ server.php</IfModule>



Refresh your Project without /public

Visit here to get the file: https://drive.google.com/open?id=1rkAYoaXBC6JSJM6PCApx2FnqkfxHF9EQ

Capture Image using Webcam and Store it to Database in Laravel 6.0.*

In Blade File use this code to capture image

<div class="form-group"> 
<label class="control-label col-md-3">Image<big class="text-danger">*</big></label> 
<div class="col-md-4"> 
<div id="my_camera"></div> 
 </div> 
<div class="col-md-4"> 
<div id="results">Your Image</div> 
<input style="display:none" name="image" id="image" class="form-control" /> 
</div> 
<input type=button value="Take Photo" onClick="take_snapshot()"></div>
 
 
 // Webcam JS//
    <script>        Webcam.set({
            width: 195, 
 height: 100, 
 image_format: 'jpeg',             
jpeg_quality: 90 
 }); 
 Webcam.attach( '#my_camera' );
    </script> 
<script language="JavaScript">         
function take_snapshot() {
            // take snapshot and get image data 
 Webcam.snap( function(data_uri) {
                // display results in page 
 document.getElementById('results').innerHTML = '<img src="'+data_uri+'"/>'; 
 $("#image").attr('value',data_uri);
            } );        }
    </script>    // Webcam JS// 


In the Controller use this Code

$image = $request->image;
$exploded=explode(',',$image); 
$decoded=base64_decode($exploded[1]);
if(Str::contains($exploded[0],'jpeg'))
{ 
 $extention='jpg'; 
} 
else{     
$extention='png'; 
}
$fileName=Str::random(15).'.'.$extention;
 $path=public_path('images').'/'.$fileName;file_put_contents($path,$decoded);

$form_data = array(    
    'image'             =>  $fileName,
);


PHP Webcam Capture Image and Save from Camera

If you want to take a picture of user from webcam or mobile camera then you can use javascript webcam library for capture image form camera and save it in php.
In this tutorial, i will show you how to implement webcam capture and store image on server in php application.
we will use webcam library for live capture image. webcam library will help to display desktop camera and your mobile camera so, user can see and take picture from there.
In this example, we will create index.php file and show you layout of your webcam with "Take Snapshot" button, when you will click on that button js library will capture image on base64 string. after that when click on submit button then picture will store in directory.
index.php
<!DOCTYPE html>
<html>
<head>
<title>Capture webcam image with php and jquery - ItSolutionStuff.com</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/webcamjs/1.0.25/webcam.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css" />
<style type="text/css">
#results { padding:20px; border:1px solid; background:#ccc; }
</style>
</head>
<body>
<div class="container">
<h1 class="text-center">Capture webcam image with php and jquery - ItSolutionStuff.com</h1>
<form method="POST" action="storeImage.php">
<div class="row">
<div class="col-md-6">
<div id="my_camera"></div>
<br/>
<input type=button value="Take Snapshot" onClick="take_snapshot()">
<input type="hidden" name="image" class="image-tag">
</div>
<div class="col-md-6">
<div id="results">Your captured image will appear here...</div>
</div>
<div class="col-md-12 text-center">
<br/>
<button class="btn btn-success">Submit</button>
</div>
</div>
</form>
</div>
<!-- Configure a few settings and attach camera -->
<script language="JavaScript">
Webcam.set({
width: 490,
height: 390,
image_format: 'jpeg',
jpeg_quality: 90
});
Webcam.attach( '#my_camera' );
function take_snapshot() {
Webcam.snap( function(data_uri) {
$(".image-tag").val(data_uri);
document.getElementById('results').innerHTML = '<img src="'+data_uri+'"/>';
} );
}
</script>
</body>
</html>
storeImage.php
<?php
$img = $_POST['image'];
$folderPath = "upload/";
$image_parts = explode(";base64,", $img);
$image_type_aux = explode("image/", $image_parts[0]);
$image_type = $image_type_aux[1];
$image_base64 = base64_decode($image_parts[1]);
$fileName = uniqid() . '.png';
$file = $folderPath . $fileName;
file_put_contents($file, $image_base64);
print_r($fileName);
?>
Now you have to create "upload" folder on your root path, then you can check it.
I hope it can help you...


Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More