Skip to content

Instantly share code, notes, and snippets.

View Tynael's full-sized avatar
🎯
Focusing

Carol Pelu Tynael

🎯
Focusing
View GitHub Profile
@Tynael
Tynael / settings.json
Created July 20, 2023 15:33
VS Code: Customize Editor & Terminal Cursor Colors
"workbench.colorCustomizations": {
"editorCursor.foreground": "#069A8E",
"terminalCursor.foreground": "#069A8E"
}
@Tynael
Tynael / index.js
Created July 17, 2023 15:24
How to properly group multiple console.log() in JavaScript
console.log('Outter Line');
console.group('Group 1');
console.log('Line 1');
console.log('Line 2');
console.log('Line 3');
console.groupEnd();
console.group('Group 2');
console.log('Line 1');
@Tynael
Tynael / index.js
Last active July 17, 2023 15:36
How NOT to group multiple console.log() in JavaScript
console.log('Outter line');
console.log('Group 1');
console.log('Line 1');
console.log('Line 2');
console.log('Line 3');
console.log('Group 2');
console.log('Line 1');
console.log('Line 2');
@Tynael
Tynael / settings.json
Created May 16, 2023 14:15
Add Git Bash to Windows Terminal via settings.json
{
"commandline": "C:\\Program Files\\Git\\bin\\bash.exe",
"guid": "{ae44d6a3-cf84-4725-8e60-0039021b35fb}",
"hidden": false,
"icon": "C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico",
"name": "Git Bash",
"startingDirectory": "%USERPROFILE%",
"tabTitle": "Git Bash"
}
@Tynael
Tynael / settings.json
Created April 25, 2023 18:30
VS Code Better Comments Extension - Create your own comment styles
"better-comments.tags": [
// Other tags here...
{
"tag": "<>",
"color": "#2596be",
"strikethrough": false,
"underline": true,
"backgroundColor": "transparent",
"bold": true,
"italic": false
@Tynael
Tynael / settings.json
Last active April 25, 2023 18:51
VS Code Better Comments Extension - Color presets
"better-comments.tags": [
{
"tag": "!",
"color": "#FF2D00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
@Tynael
Tynael / html_boilerplate.html
Created March 28, 2023 19:15
HTML Boilerplate Template for Any Project
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>HTML 5 Boilerplate</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
@Tynael
Tynael / index.html
Created March 21, 2023 17:20
Example of FRAMESET usage in HTML 4
<FRAMESET ROWS="*,100">
<FRAMESET COLS="40%,*">
<FRAME NAME="Menu" SRC="nav.html" TITLE="Menu">
<FRAME NAME="Content" SRC="main.html" TITLE="Content">
</FRAMESET>
<FRAME NAME="Ad" SRC="ad.html" TITLE="Advertisement">
<NOFRAMES>
<BODY>
<H1>Table of Contents</H1>
<UL>
@Tynael
Tynael / style.css
Created March 21, 2023 17:18
Example of CSS 1 code
<HEAD>
<TITLE>CSS Example</TITLE>
<STYLE TYPE="text/css">
H1 { font-size: x-large; color: red }
H2 { font-size: large; color: blue }
</STYLE>
</HEAD>
@Tynael
Tynael / index.html
Created March 21, 2023 17:13
Example of deprecated HTML 4 elements: BASEFONT, CENTER, FONT, S and U
{# <BASEFONT></BASEFONT>#}
<head>
<basefont color="red" face="Verdana, Geneva, sans-serif" size="12">
</head>
{# <CENTER></CENTER> #}
<CENTER>
<TABLE>
<TR ALIGN=center>
<TH SCOPE=col>Name</TH>