Top Links Menu
Jan 3, 2024
Oct 8, 2023
Sep 29, 2023
PHP_17 (style & class)
Sep 26, 2023
PHP_16 (Tables)
Sep 19, 2023
PHP_15 (Region)
Fast trick using
- Block line
- Shift + Alt + A
| Language | Start region | End region |
|---|---|---|
| Bat | ::#region or REM #region | ::#endregion or REM #endregion |
| C# | #region | #endregion |
| C/C++ | #pragma region | #pragma endregion |
| CSS/Less/SCSS | /*#region*/ | /*#endregion*/ |
| Coffeescript | #region | #endregion |
| F# | //#region or (#_region) | //#endregion or (#_endregion) |
| Java | //#region or //<editor-fold> | // #endregion or //</editor-fold> |
| Markdown | <!-- #region --> | <!-- #endregion --> |
| Perl5 | #region or =pod | #endregion or =cut |
| PHP | #region | #endregion |
| PowerShell | #region | #endregion |
| Python | #region or # region | #endregion or # endregion |
| TypeScript/JavaScript | //#region | //#endregion |
| Visual Basic | #Region | #End Region |
PHP_14 (Install Boostrap)
Intall bootsrap
- Open terminal on VS code or Server, then apt update
- apt install npm
- npm install bootstrap@5.3.2 (Link)
- restart service
We can't running SCSS in HTML, so we need to compile SCSS to CSS using SASS
- then continue to install sass compiler from VS Code extension marketplace
What is NPM ??
NPM is the world's largest Software Registry that contains over 800,000 code package (Open Source)
--------------------------------------------------------------------
Different between of CSS and SCSS
Difference Between CSS and SCSS
| Parameters | CSS | SCSS |
| Meaning and Definition | It is a scripting language- used for developing various web pages. | It is a more evolved and advanced version of the CSS language. It is a preprocessor type of language, and we need to compile or interrupt it into the CSS language. |
| Lines of Codes | CSS makes extensive use of lines of codes. | SCSS makes use of comparatively fewer lines in its codes. |
| Functions | CSS consists of various common features, and thus, it can perform some basic functions. | SCSS consists of more advanced features, and thus, it can perform more advanced functions. |
| Rules for Nesting | A regular CSS language does not assign various nested rules. | The SCSS language promotes rules that are properly nested. |
| Design | CSS is a styling language that lets users create, design, and style various web pages. | SCSS is a special file type in a SASS program that one needs to write in the Ruby language. |
| Languages Used | We generally use CSS in the JavaScript and HTML languages. | We generally use the SCSS in the Ruby language. |
------------------------------------------------------------------------
Sep 4, 2023
PHP_12 (HTML_Component)
PHP_11 (String & Array)
String
strlen( ) for calculate length of string
strtoupper ( ) for make Uppercase the string
strtolower ( ) for make Lowercase the string
------------------------------------
Array
https://www.php.net/en/ref.array
$list = [1,3,4,5]
Part of the array
PHP_10 (MATH)
https://www.php.net/manual/en/index.php
<?php
Sep 3, 2023
Sep 1, 2023
PHP_08 (Function)
<?php
PHP_07 (Include and Form)
This code is used to insert another PHP file to insert/include using PHP language
PHP_06 (For)
For
Foreach
Aug 25, 2023
PHP_05 (IF Statement and Operator)
|
= = |
Equal |
|
! = |
Not Equal |
|
= = = |
Identical |
|
! = = |
Not Identical |
|
> |
More than |
|
< |
Less than |
|
>= |
More than, and Equal |
|
<= |
Less than, and Equal |
|
<> |
|
Logical Operators
|
&& |
And |
|
| | |
or |
|
! |
Not |
Aug 24, 2023
PHP_02 (TIPS & TRICKS)
EMMET ABBREVIATION
Every language always have tips and trick to make job be faster, and it for common/usual/default regulation of typing.
i + tab (make struktur of HTML)
div.demo>ul>li*5>a{home}
+ tab
Fast Duplicate Line in Before Line
----------------
PHP_01 (Basic)
For starting this PHP language, I use the ubuntu 22.04 server operation and place the file PHP in folder /etc/www/html , if want to edit main website and you need to edit to /etc/www/html/index.html file
in Below is example mz_01.php is php file but with HTML language, with started with DOCTYPE, Html, Head and Body.
- Document type : <!DOCTYPE html>
- <html>
- Head : <head>…..</head>
head is started with <head> and closed with </head>
- Body : <body>…..</body>
- </html>
Aug 23, 2023
PHP in Visual Studio Code (VSCode)
- Problem in rename file at VSCcode,
-
Connect VSCode to SSH server
- Input hostname@localhost address
- Input Password
- Folder config in Windows directory
Enter VS Code without insert Password (Using Key Authentication)
When entering remote sever in VS Code, we need enter hostname@localhost address, after that process and continue to insert the password. This process is really annoying !!!!!!!
For solve this process, we need to edit config file






