Skip to content

Instantly share code, notes, and snippets.

View jahidulsaeid's full-sized avatar
🎯
Focusing

Jahidul Islam (Saeid) jahidulsaeid

🎯
Focusing
View GitHub Profile
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html charset=UTF-8" />
<html lang="en">
<head></head>
<body style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;background-color:#ffffff">
<table align="center" role="presentation" cellSpacing="0" cellPadding="0" border="0" width="100%" style="max-width:37.5em;margin:0 auto;padding:20px 0 48px;width:660px">
<tr style="width:100%">
<td>
@jahidulsaeid
jahidulsaeid / webpack.mix.js
Created February 2, 2023 06:16
React laravel and Less configuration
const mix = require("laravel-mix");
mix.js("frontend/app.js", "public/js")
.react()
.less("frontend/styles/app.less", "public/css")
.options({
postCss: [
require("autoprefixer")({
grid: true,
}),
import { DotChartOutlined } from '@ant-design/icons'
import { Skeleton, Space } from 'antd'
import React from 'react'
const SidebarLoading = ({ isLoading }) => {
return (
<>
<div className='sidebar_skeleton'>
<Space style={{ marginBottom: "20px" }}>
<Skeleton active={isLoading} size="small" round paragraph={false} />
@jahidulsaeid
jahidulsaeid / .gitignore
Created August 9, 2022 07:38
python rest framework
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
# C extensions
*.so
# Distribution / packaging
.Python
env/
Creating a custom scrollbar
Recently, I figured out about customizing scrollbars. Adding custom scrollbars to websites you make, helps enhance it even further and also helps in overall color-coordination.
To start with, we use ::-webkit-scrollbar.It can be included in your CSS section. It's a pseudo element used to modify the look of a browser’s scrollbar. Most browsers other than firefox support this.
A sample example of the code would be-
/* width */
::-webkit-scrollbar {
width: 10px;
// This file was initially generated by Windows Terminal 1.4.3243.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
<?php
function insert_order(){
$token = 'MYtoken';
$post_data =[
'orders' =>[
[
"UseChannelTax" => "true",
"pkOrderId" => "fc1dd6d9-749c-4622-9725-f6ccf7c55299"
]

Markdown syntax for images (external/internal):

![test](image_url)

HTML code for sizing images (internal/external):

<img src="image_url" width="48">

Some laravel command

Create Controller

$ php artisan make:controller NameController

Create Model

@jahidulsaeid
jahidulsaeid / docker-help.md
Created September 21, 2020 12:07 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info