Skip to content

Instantly share code, notes, and snippets.

@0xjac
0xjac / private_fork.md
Last active April 26, 2024 14:38
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@pedroeuzebioo
pedroeuzebioo / settings.json
Created April 26, 2024 14:37
Configurações do meu VS Code
{
"editor.tabSize": 2, // Define o tamanho da tabulação como 2 espaços.
"editor.formatOnSave": true, // Formata o código automaticamente ao salvar.
"editor.hideCursorInOverviewRuler": true, // Esconde o cursor no resumo de visão geral.
"editor.minimap.enabled": false, // Desativa o minimapa de visualização de código.
"editor.scrollbar.vertical": "hidden", // Esconde a barra de rolagem vertical.
"editor.fontFamily": "JetBrains Mono", // Define a família da fonte do editor como JetBrains Mono.
"editor.semanticHighlighting.enabled": false, // Desativa o realce semântico do código.
"editor.codeActionsOnSave": { // Configura ações de código ao salvar.
"source.fixAll.eslint": "explicit", // Aplica correções do ESLint de forma explícita.
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 26, 2024 14:38
Complete Recent Discord Quest

Complete Recent Discord Quest

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools
  5. Go to the Console tab
  6. Paste the following code and hit enter:
let wpRequire;
@tykurtz
tykurtz / grokking_to_leetcode.md
Last active April 26, 2024 14:36
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window

@kekfultv
kekfultv / CompleteDiscordQuest.md
Created April 26, 2024 14:36 — forked from aamiaa/CompleteDiscordQuest.md
Complete Recent Discord Quest

Complete Recent Discord Quest

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools
  5. Go to the Console tab
  6. Paste the following code and hit enter:
let wpRequire;
@andrasguseo
andrasguseo / attendee-info-column.php
Last active April 26, 2024 14:36
ET+ > Show the collected attendee information on the Attendees page in a column
<?php
/**
* Description: Add a column with attendee information to the Attendees admin page in Event Tickets
* Usage: Paste the below snippet into your active (child) theme's functions.php file
* or use a plugin like Code Snippets.
*
* Plugin: Event Tickets, Event Tickets Plus
* Author: Andras Guseo
* Last updated: 2024-04-25
*/
@ChampionAsh5357
ChampionAsh5357 / 1204-1205-primer.md
Last active April 26, 2024 14:36
Minecraft 1.20.4 -> 1.20.5 Mod Migration Primer

Minecraft 1.20.4 -> 1.20.5 Mod Migration Primer

This is a high level, non-exhaustive overview on how to migrate your mod from 1.20.4 to 1.20.5. This does not look at any specific mod loader, just the changes to the vanilla classes.

This primer is licensed under the Creative Commons Attribution 4.0 International, so feel free to use it as a reference and leave a link so that other readers can consume the primer.

If there's any incorrect or missing information, please leave a comment below. Thanks!

Pack Changes