Skip to content

Instantly share code, notes, and snippets.

View lilgallon's full-sized avatar
🏄‍♂️
waiting for the wave

Lilian Gallon lilgallon

🏄‍♂️
waiting for the wave
View GitHub Profile
@krisbolton
krisbolton / fix-USB-showing-up-as-two-partitions.md
Last active June 18, 2024 23:56
How to fix a USB drive showing up as two drives (fragmented into multiple partitions) on Windows

How to fix a USB drive showing up as two drives (fragmented into multiple partitions) on Windows:

  1. Hold the Windows key and press X, select PowerShell (Admin), select Yes to the pop-up. You can also use Command Prompt.
  2. In the Powershell interface type diskpart to enter the disk partition tool.
  3. Type list disk to see all disks listed.
  4. Select the USB drive by typing select disk [NUMBER]. Be careful to select the correct drive.
  5. Type clean. An error will occur if you have the drive folder open, close the window and repeat the command if this happens.
  6. Type create partition primary.
  7. Type format fs=ntfs quick to format the drive (you can also choose to set fs=fat32).
  8. Type active.
@lilgallon
lilgallon / README.md
Last active May 28, 2019 11:01
Readme template for my projects

CTRL+R:

  • -> repository name
  • N3RO -> github name
  • -> short description
  • -> name of the course
  • -> name of the university
  • -> grade of the project
  • CONTRIBUTING.md -> url to CONTRIBUTING.md
  • CHANGELOG.md -> url to CHANGELOG.md
  • -> license name
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active June 18, 2024 00:47
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@PurpleBooth
PurpleBooth / README-Template.md
Last active June 21, 2024 17:56
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites