Skip to content

Instantly share code, notes, and snippets.

View Shipu's full-sized avatar
🎯
Focusing

Shipu Ahamed Shipu

🎯
Focusing
View GitHub Profile
{
"data": {
"group_question": [
{
"id": 2,
"bucket_id": null,
"title": "group 2",
"internal_title": "gap fills",
"paragraph": "test",
"attachments": [
{
"code": 200,
"message": "success",
"data": {
"product_segments": [
{
"id": "k12",
"name": {
"en": "Class 1-12",
"bn": "ক্লাস ১-১২"
import { defineConfig } from 'vite'
import laravel, { refreshPaths } from 'laravel-vite-plugin'
export default defineConfig({
plugins: [
laravel({
input: [
'resources/css/app.css',
'resources/js/app.js',
],
@Shipu
Shipu / TypedArrayObject.php
Created August 3, 2022 14:41
Support TypedArrayObject in php
<?php
//Tinker away!
Class YourClassName
{
public string $name;
}
abstract class TypedArrayObject extends ArrayObject
{
@Shipu
Shipu / execution-plan
Created December 20, 2021 16:26
বন্ধুমহল সমিতি
বর্ষপূর্তি মিলায়তন সভাঃ আগামী ১৪-০১-২০২২ দুপুর ১:৩০ হতে ৪:০০টা
সমিতির গঠনতন্ত্রে যা পরিবর্তন এবং পরিবর্ধন সমূহঃ
- মাসিক চাঁদা হবে ৩০৫০ টাকা । (পূর্বে ২০৫০টাকা )
- একজন সদস্য সর্বোচ্চ ৫ টি সদস্য পদ অংশগ্রহণ করতে পারবে । (পূর্বে ১টি সদস্য পদ)
- কোন সদস্য যদি কোন প্রস্তাবনা বা পরামর্শ দিতে চায় তবে তা শুধুমাত্র সাধারণ সম্পাদক অথবা যুগ্ম সাধারণ সম্পাদক মাধ্যমে জানাতে পারবে । (পূর্বে অফিসিয়াল কোন মাধ্যম ছিল না)
- সাধারণ সম্পাদক অথবা যুগ্ম সাধারণ সম্পাদকের নিকট কোন প্রস্তাবনা অথবা পরামর্শ আসলে তা সম্মানের সহিত দেখতে হবে এবং সেই প্রস্তাবনা অথবা পরামর্শকে মিটিংয়ের মাধ্যমে সমিতিতে উপস্থাপন করতে বাধ্য থাকবে । (পূর্বে অফিসিয়াল কোন মাধ্যম ছিল না)
মিটিং আয়োজনে যা যা করতে হবেঃ
- সবাই কে জানাতে হবে ফোন কল করে এবং এসএমএসের মাধ্যমে । এবং যা যা জানাতে হবেঃ
@Shipu
Shipu / Dockerfile
Created December 12, 2021 13:11 — forked from aramalipoor/Dockerfile
Docker + Alpine + Newrelic + PHP (Kubernetes / AbarCloud)
# Prepare required directories for Newrelic installation
RUN mkdir -p /var/log/newrelic /var/run/newrelic && \
touch /var/log/newrelic/php_agent.log /var/log/newrelic/newrelic-daemon.log && \
chmod -R g+ws /tmp /var/log/newrelic/ /var/run/newrelic/ && \
chown -R 1001:0 /tmp /var/log/newrelic/ /var/run/newrelic/ && \
# Download and install Newrelic binary
export NEWRELIC_VERSION=$(curl -sS https://download.newrelic.com/php_agent/release/ | sed -n 's/.*>\(.*linux-musl\).tar.gz<.*/\1/p') && \
cd /tmp && curl -sS "https://download.newrelic.com/php_agent/release/${NEWRELIC_VERSION}.tar.gz" | gzip -dc | tar xf - && \
cd "${NEWRELIC_VERSION}" && \
@Shipu
Shipu / aws-kube
Created November 19, 2021 07:55
Kubernetes
aws eks --region ap-southeast-1 update-kubeconfig --name 10minschool-eks-stage
@Shipu
Shipu / .zshrc
Created September 22, 2021 19:18
shipu custom
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/shipu/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
@Shipu
Shipu / coffee.php
Created July 28, 2021 06:53
Strategy Pattern
<?php
interface Coffee
{
public function make();
}
class Cappuccino implements Coffee
{
public function make()
@Shipu
Shipu / List.md
Created May 1, 2021 00:50 — forked from msurguy/List.md
List of open source projects made with Laravel

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):