Skip to content

Instantly share code, notes, and snippets.

View arafat-web's full-sized avatar
:octocat:
Focusing

Arafat Hossain Ar arafat-web

:octocat:
Focusing
View GitHub Profile
@arafat-web
arafat-web / EmployeeController.php
Created August 1, 2023 06:45
Simple and Easy CRUD operation in Laravel
<?php
namespace App\Http\Controllers;
use App\Models\Employee;
use Illuminate\Http\Request;
class EmployeeController extends Controller
{
public function employee_add(Request $request)
@arafat-web
arafat-web / FragFollow.java
Created September 14, 2022 19:40 — forked from deep15187/FragFollow.java
Direct intent to Facebook, Google plus, Linkedin, Twitter, Pinterest, Instagram, Snapchat and Youtube from a fragment after checking if app installed on device
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.CardView;
import android.view.LayoutInflater;
fa-500px
fa-accessible-icon
fa-accusoft
fa-acquisitions-incorporated
fa-adn
fa-adobe
fa-adversal
fa-affiliatetheme
fa-airbnb
fa-algolia
@arafat-web
arafat-web / fetch.jsp
Created December 2, 2021 15:37 — forked from hibare/fetch.jsp
Retrieve data from database using JSP, JSON and ajax
<%@page import="java.sql.*,org.json.*;" %>
<%
final String jdbcdriver="com.mysql.jdbc.Driver";
final String url="jdbc:mysql://localhost/test";
final String user="your_username";
final String pass="your_password";
Connection con = null;
Statement stmt = null;