Skip to content

Instantly share code, notes, and snippets.

View kythuatwebso's full-sized avatar

Kỹ thuật WEBSO kythuatwebso

View GitHub Profile
@yasuflatland-lf
yasuflatland-lf / 0-vscode-extensions-backup.md
Last active July 31, 2024 07:05 — forked from illvart/0-vscode-extensions-backup.md
VSCode - Visual Studio Code extensions backup

VSCode - Visual Studio Code extensions backup

If you are use Unix/Linux create a bash script with a loop. In this case I want to backup the extensions list and install again:

First create a list of the extensions:

$ code --list-extensions > extensions.txt

Create a bash script for example with the name vscode-extension-install.sh and input the following code:

@faruk09
faruk09 / Owl Carousel Smooth autoplay
Created February 11, 2020 07:46
Owl Carousel Smooth autoplay
@johanvanhelden
johanvanhelden / reconfigure-laravel-instructions.md
Last active March 18, 2023 13:16
Laravel - public > public_html

These are the reconfiguration instructions to make Laravel use a public_html folder instead of a public folder.

  • Rename the public folder to public_html

  • Create a new file in de ./app directory called Bootstrapper.php with the followign contents:

<?php

namespace App;
@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active December 8, 2025 13:38
Using multiple github accounts with ssh keys

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.