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 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
Last active April 8, 2024 02:30
VS Code Colored Bracket Pair Guides & Horizontal Guides Settings
{
"workbench.colorCustomizations": {
"editorBracketPairGuide.background1": "#F8B46C",
"editorBracketPairGuide.background2": "#FB78B5",
"editorBracketPairGuide.background3": "#4AACFB",
"editorBracketPairGuide.background4": "#B98BF5",
"editorBracketPairGuide.background5": "#DAD8D8",
"editorBracketPairGuide.background6": "#18EECE",
"editorBracketPairGuide.activeBackground1": "#F367C9",
@Tynael
Tynael / README.md
Last active February 14, 2024 13:19
How to Set up an SSL Certificate in Localhost for XAMPP

How to Set up an SSL Certificate in Localhost for XAMPP

These files represent the content that has been modified during the tutorial.

To better understand the context, go through the video and/or written tutorial.

@Tynael
Tynael / README.md
Last active January 22, 2024 01:06
How to use npx to run gist based scripts
@Tynael
Tynael / index.html
Created January 14, 2024 17:07
CSS-Only Reading Progress Bar
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Reading Progress Bar Demo</title>
<style>
body {
font-family: 'Arial', sans-serif;
font-size: 18px;
@Tynael
Tynael / digit_separator.cpp
Created November 20, 2022 14:47
Make Large Numbers Easier to Read
#include <iostream>
using namespace std;
int main()
{
long long int num1 = 1'23'456;
long long int num2 = 12'34'56;
long long int num3 = 123'456;
return 0;
@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 / httpd-xampp.conf
Created July 20, 2022 15:49
Multiple PHP versions in XAMPP configurations
# PHP 8.1.7 Set-up
ScriptAlias /php817/ "C:/xampp/php817/"
Action application/x-httpd-php817-cgi "/php817/php-cgi.exe"
<Directory "C:/xampp/php817">
AllowOverride None
Options None
Require all denied
<Files "php-cgi.exe">
Require all granted
</Files>
@Tynael
Tynael / httpd-vhosts.conf
Created November 29, 2023 17:06
Apache's httpd-vhosts.conf file
# xampp/apache/conf/extra/httpd-vhosts.conf
<VirtualHost *:80>
ServerName localvaren.com
ServerAlias localvaren.com
DocumentRoot "G:/xampp/htdocs/varen/public"
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.localvaren.com [OR]
RewriteCond %{SERVER_NAME} =localvaren.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
@Tynael
Tynael / httpd-vhosts.conf
Created November 29, 2023 16:52
Apache's httpd-vhosts.conf file
# xampp/apache/conf/extra/httpd-vhosts.conf
<VirtualHost *:80>
ServerName localvaren.com
ServerAlias localvaren.com
DocumentRoot "G:/xampp/htdocs/varen/public"
</VirtualHost>
<VirtualHost *:443>
ServerName localvaren.com