Skip to content

Instantly share code, notes, and snippets.

View mushfiqweb's full-sized avatar

Mushfiqur Rahman mushfiqweb

View GitHub Profile
import 'dart:math';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:spiresoft/app/core/constraints/app_colors.dart';
import 'package:spiresoft/app/core/constraints/app_text_style.dart';
import 'package:spiresoft/app/core/utils/custom_theme_colors.dart';
import 'package:spiresoft/app/core/widgets/app_checkbox.dart';
import 'package:spiresoft/app/core/widgets/app_glow_effect.dart';
# Initialize Oh-My-Posh synchronously to ensure it loads before you start using the shell
oh-my-posh --init --shell pwsh --config C:/mushfiqwebOhMyPOSH.json | Invoke-Expression
# Lazy load modules function
function Import-Module-Lazy {
param ($ModuleName)
if (-not (Get-Module -Name $ModuleName)) {
Import-Module $ModuleName
}
}
using Intact.DynamicRendering.Uncork.Components;
using Snapshooter.Xunit;
namespace Intact.DynamicRendering.UnitTests.Unqork.Components
{
public class PhoneNumberTests
{
[Fact]
public void CreateComponent_ShouldCreatePhoneNumberComponentCorrectly()
{
using Intact.DynamicRendering.Uncork.Components;
using Snapshooter.Xunit;
namespace Intact.DynamicRendering.UnitTests.Unqork.Components
{
public class PanelTests
{
[Fact]
public void CreateComponent_ShouldCreatePanelComponentCorrectly()
{
@mushfiqweb
mushfiqweb / profile.ps1
Created September 23, 2024 17:01
My Windows Terminal Setup with PowerShell
# Initialize Oh-My-Posh synchronously to ensure it loads before you start using the shell
oh-my-posh --init --shell pwsh --config C:/mushfiqwebOhMyPOSH.json | Invoke-Expression
# Lazy load modules function
function Import-Module-Lazy {
param ($ModuleName)
if (-not (Get-Module -Name $ModuleName)) {
Import-Module $ModuleName
}
}
@mushfiqweb
mushfiqweb / vscode.css
Last active August 1, 2024 03:23
CSS for VSCode
/* Tooltip box style */
.monaco-editor-hover,
.monaco-hover {
box-shadow: 0px 8px 32px rgba(0,0,0,.45) !important;
padding: 10px !important;
background-image: linear-gradient(#3c3c50 0%, #2a2b38 100%) !important;
backdrop-filter: blur(3px) !important;
border-radius: 20px !important;
border: none !important
oh-my-posh --init --shell pwsh --config C:/mushfiqwebOhMyPOSH.json | Invoke-Expression
function Import-Module-With-Measure {
param ($ModuleName)
$import = Measure-Command {
Import-Module $ModuleName
}
Write-Host "$ModuleName took $($import.TotalMilliseconds) ms"
}
<form role="form" action="http://localhost:8003/digital-service" method="POST" class="form" enctype="multipart/form-data">
<input type="hidden" name="_token" value="ei52w2bgEG2Jcl0iXoJmwdlZTuFTrCbYrtTZcrLZ"> <div class="row">
<div class="form-group col-md-6">
<label for="header_title_en" class="required">Header Title English</label>
<input class="form-control" name="header_title_en" id="header_title_en" placeholder="Enter Header Title EN" required="">
</div>
<div class="form-group col-md-6">
<label for="header_title_bn" class="required">Header Title Bangla</label>
<input class="form-control" name="header_title_bn" id="header_title_bn" placeholder="Enter Header Title BN" required="">
- Title EN*
- Title BN*
- Upload Icon
- Component Size*
- Component Type* [Carousel, Swipe Bannaer, Category Banner]
- Component for*
- Is Title Show*
- Is Card View
- Android Version Code
- iOS Version Code
[
{
"Id": "073d4a06c50a677f930d21837df9482002e8570f0481a68bc93d77f501150d04",
"Created": "2024-04-17T12:44:09.751122687Z",
"Path": "/usr/local/bin/entrypoint.sh",
"Args": [],
"State": {
"Status": "running",
"Running": true,
"Paused": false,