Skip to content

Instantly share code, notes, and snippets.

View yelynnpaing's full-sized avatar
🎯
Focusing

J Theo yelynnpaing

🎯
Focusing
  • Naypyitaw
View GitHub Profile
@yelynnpaing
yelynnpaing / typescript.md
Created December 8, 2025 09:21 — forked from eimg/typescript.md
TypeScript - လိုတိုရှင်း

TypeScript - လိုတိုရှင်း

JavaScript ဟာ Dynamic Type Language တစ်ခုပါ။ Data Type တွေကို Language က လိုသလို အလိုအလျှောက် ပြောင်းလဲအလုပ်လုပ်ပေးတဲ့အတွက် ရေးသားသူက Type ကိစ္စ သိပ်ခေါင်းစားနေစရာမလိုဘဲ ရေးစရာရှိတဲ့ကုဒ်တွေကို ခပ်မြန်မြန် ရေးသွားလို့ရပါတယ်။

let value;        // undefined
value = "Alice";  // string
value = 42;       // number
value = true;     // boolean
@yelynnpaing
yelynnpaing / functional-programming.MD
Created December 8, 2025 09:09 — forked from eimg/functional-programming.MD
Functional Programming - လိုတိုရှင်း

Functional Programming - လိုတိုရှင်း

Programming ကို လေ့လာကြသူအများစုဟာ Procedural Programming (သို့မဟုတ်) Object-Oriented Programming (OOP) ရေးနည်းတွေနဲ့ စတင်လေ့လာခဲ့ကြတာ များပါတယ်။ System Level Language အများစုဟာ Procedural Language တွေဖြစ်ကြပါတယ်။ C, Go, Rust, Zig စသည်ဖြင့်။ Application Level Language အများစုကတော့ OOP Language တွေများပါတယ်။ Java, C#, Python, Ruby, PHP, JavaScript စသည်ဖြင့်။

Functional Programming ကိုတော့ လေ့လာသူတွေ ထိတွေ့မှုနည်းကြပါတယ်။ ဒါပေမယ့် ကနေ့ခေတ်မှာ Functional Programming ဟာ အလွန်အရေးပါတဲ့ ရေးနည်းတစ်ခုဖြစ်နေသလို စောစောက ပြောခဲ့တဲ့ Language အများစုကလည်း Functional Programming ရေးနည်းကို အပြည့်မရပေမယ့် နည်းနည်းတော့ Support လုပ်ကြပါတယ်။

Functional Programming ရေးနည်းကိုပဲ အဓိကထားတဲ့ Language တွေလည်း ရှိကြပါတယ်။ Lisp, Haskell, Erlang, Elixir, Scala, F# စသည်ဖြင့်။

ကနေ့ခေတ်မှာ Functional Programming ရဲ့ အခန်းကဏ္ဍဟာ တစ်နေ့တစ်ခြား ပိုအရေးပါလာတဲ့အတွက် မူလက Procedural Language တွေ OOP Language တွေနဲ့ လေ့လာခဲ့ကြသူတွေဟာ Functional Programming ကိုလည်း အသုံးချနိုင်ဖို့ လိုအပ်လာကြပါတယ်။

@yelynnpaing
yelynnpaing / Using DotNet N Framework 5th layer for Individual Assigns
Last active January 21, 2026 08:51
Using DotNet N Framework 5th layer for Individual Assigns
Using DotNet NY Framework 5th layers for Individual Assigns
==========================================================
Framework Design
- Commons
- Model > uses Commons
- Data > uses Commons , Model
- Application > uses Commons, Model, Data
- Web > uses Commons, Model, Data, Application
@yelynnpaing
yelynnpaing / VueJs Notes
Last active December 1, 2025 02:47
VueJs Notes
VueJs
=====
What is Vue?
Vue (pronounced /vjuː/, like view) is a JavaScript framework for building user interfaces. It builds on top of standard HTML, CSS,
and JavaScript and provides a declarative, component-based programming model that helps you efficiently develop user interfaces of
any complexity.
- Declarative Rendering: Vue extends standard HTML with a template syntax that allows us to declaratively describe HTML output
@yelynnpaing
yelynnpaing / remove-node-modules.md
Created May 28, 2024 09:58 — forked from lmcneel/remove-node-modules.md
How to remove node_modules after they have been added to a repo

How to remove node_modules

Create a .gitignore file

  1. Check for an existing .gitignore file in the project directory
ls -a
@yelynnpaing
yelynnpaing / Linux cmd Basic usage
Created December 10, 2023 09:19
Linux cmd for Beginner
Linux cmd for Beginners
=======================
- ls (show all files and folders in this root)
- ls -a (show hidden file)
- ls -l (show permission)
(r = read , w = write, x = execute)
- -rw-r--r-- (- နဲ့ အစပြုရင် file တစ်ခုကို ဆိုလိုတာ)
- -drwxr-xr-x (-d ဆိုရင် Folder)
- -drwxr = current user , -xr = root user , -x = other user
@yelynnpaing
yelynnpaing / Laravel Project deploy on Server
Last active April 11, 2025 08:38
Laravel Project deploy on Server
Laravel Project Deploy on Z.com
===============================
1. z.com Acc login ဝင်ပါ
2. cPanel ကို နှိပ်ပါ
3. Server name + domanin သို့မဟုတ် domanin ထည့်ရန်အတွက် Addon Domain ကို နှိပ်ပြီး domain ထည့်ပါ။
4. မိမိ Project host လုပ်ရန်အတွက် file manager ကို နှိပ်ပါ။
5. public_html ထဲသို့ ဝင်ပြီး မိမိ domain folder ထဲသို့ ဝင်ပါ။
6. project frontend file များအတွက် npm run build လုပ်ပါ။ မိမိ Project ကို zip ပြုလုပ်ပြီး Upload ပြုလုပ်ပါ ။ 100 % ပြည့်ပါက Unzipped ပြုလုပ်ပါ။
7. project file တွေအားလုံးကို domain folder ထဲသို့ move ပြုလုပ်ပါ ။
@yelynnpaing
yelynnpaing / Basic Usage
Last active December 15, 2023 12:43
Development Progress Basic for A New Laravel Project
Development Progress Basic for A New Laravel Project
======================================
- laravel package install
composer create/project laravel/laravel project
- laravel ui install
composer require laravel ui
- generate basic scaffolding ui and Auth install (bootstrap ui and Auth)
php artisan ui bootstrap (only ui) / php artisan ui bootstrap --auth (both ui and auth)
- Auth UI ကို vue Auth သုံး ချင်ရင် -> php artisan ui vue --auth
@yelynnpaing
yelynnpaing / Search function in Laravel
Last active May 25, 2024 10:04
Basic Search function in Laravel
Search function in Laravel
--------------------------
- request form က လာတဲ့ data ကို variable တစ်ခု သတ်မှတ် ၊ ရှေ့နောက်ကို (%) နဲ့ဆက် ၊ $searchData = '%'.$request->searching.'%';
- Search လုပ်ချင်တဲ့ Modal အပေါ် မှာ Where နဲ့ရှာ ၊ Where မှာ ('parameter1', 'like', $searchData)
- အခြား Condition တွေ နဲ့ ထပ်စစ်ချင်သေးရင် orWhere နဲ့ ရှာ ၊ ->orWhere မှာ ('parameter1', 'like', $searchData)
- အခြား eloquent လုပ်ထားတဲ့ အချက်တွေနဲ့ ထပ်စစ်ချင်သေးရင် orWhereHas နဲ့ ရှာ ၊
->orWhereHas မှာ ('parameter1', function($parameter) use($searchData) {
earch လုပ်ချင်တဲ့ eloquent အပေါ် မှာ Where နဲ့ရှာ ၊ Where မှာ ('parameter1', 'like', $searchData)
});
@yelynnpaing
yelynnpaing / Laravel (Files) CRUD
Last active May 25, 2024 10:04
Laravel ( IMAGE, PDF, DOCX, MP3, MP4 FILES )CRUD
IMAGE, PDF, DOCX, MP3, MP4 FILES CRUD
==============================
Create
======
-$request ထဲက file or name='' ထဲမှာ ရှိတဲ့ value ကိုယူ
-name ကို getClientOriginalName() နဲ့ယူ။ ရှေ့မှာ unqid() or time() နဲ့ဆက်
-$request->file ကို move() နဲ့ သိမ်း ၊ $request->file->move('assets', $fileName) (image အတွက်လည်း သုံးနိုင်)
-$request->file ကို storeAs() နဲ့ သိမ်း ၊ $request->file->storeAs('public/demo-images/', $fileName); (image အတွက်)