Skip to content

Instantly share code, notes, and snippets.

@nicholyx
nicholyx / command.sh
Created April 28, 2024 02:42 — forked from peterdemartini/command.sh
Exclude node_modules in timemachine
find `pwd` -type d -maxdepth 3 -name 'node_modules' | xargs -n 1 tmutil addexclusion
@peterdemartini
peterdemartini / command.sh
Last active April 28, 2024 02:42
Exclude node_modules in timemachine
find `pwd` -type d -maxdepth 3 -name 'node_modules' | xargs -n 1 tmutil addexclusion
@bigsergey
bigsergey / review-checklist.md
Last active April 28, 2024 02:40
Front-end Code Review Checklist

Review checklist

General

  1. Does the code work?
  2. Description of the project status is included.
  3. Code is easily understand.
  4. Code is written following the coding standarts/guidelines (React in our case).
  5. Code is in sync with existing code patterns/technologies.
  6. DRY. Is the same code duplicated more than twice?
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active April 28, 2024 02:38
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@kimnguy1
kimnguy1 / risc-zero-stark-to-snark-prover_attestation.log
Created April 28, 2024 02:31
Attestation for RISC Zero STARK-to-SNARK Prover MPC Phase 2 Trusted Setup ceremony
Hey, I'm kimnguy1-136546433 and I have contributed to the RISC Zero STARK-to-SNARK Prover MPC Phase2 Trusted Setup ceremony.
The following are my contribution signatures:
Circuit # 1 (stark_verify)
Contributor # 173
Contribution Hash: c15613e5 f48e0dc0 acea1cd6 81b96b3e
eaebb0e1 932eeaba b066ee81 bb308ebb
8bfa5253 d51cf459 55dcab43 00111abf
bd6511b0 c40ad899 8fabfb02 3da09478
@Teraflopst
Teraflopst / ACL4SSR-Helps.md
Created February 13, 2022 15:29
本文主要是教你怎么定制一下自己的ACL或者clash规则。

1. 前言

本文主要是教你怎么定制一下自己的ACL或者clash规则。

前面稍微科普一下去广告的分类、不作为重点。

本文不能顾及全网的规则,仅做一般普及,需要有点基础,非小白科普文章

@mindplace
mindplace / git_and_github_instructions.md
Last active April 28, 2024 02:34
Pushing your first project to github

1. Make sure git is tracking your project locally

Do you need a refresher on git? Go through Codecademy's git course.

  1. Using your terminal/command line, get inside the folder where your project files are kept: cd /path/to/my/codebase. → You cannot do this simply by opening the folder normally, you must do this with the command line/terminal.
    → Do you need a refresher on using your command line/terminal? I've compiled my favorite resources here.

  2. Check if git is already initialized: git status

@Semidio
Semidio / UncensorPatch.user.js
Created July 15, 2018 03:04
Open Steam app in UncensorPat.ch
// ==UserScript==
// @name Open In UncensorPat.ch
// @version 0.0.1
// @description Adds a link to open Steam content in UncensorPat.ch.
// @author Semidio
// @match *://steamcommunity.com/app/*
// @match *://store.steampowered.com/app/*
// @grant none
// ==/UserScript==
@Klerith
Klerith / pasos-node-ts-jest.md
Created August 19, 2023 18:35
Note + TypeScript + Jest = Testing

Pasos para configurar Jest con TypeScript, en Node

Documentación oficial sobre Jest

  1. Instalaciones de desarrollo (super test es útil para probar Express)
npm install -D jest @types/jest ts-jest supertest
@WanerValencia
WanerValencia / nest-recomendations.md
Last active April 28, 2024 02:30
Recomendaciones de buenas prácticas en NestJS

Recomendaciones de buenas prácticas en NestJS

  1. Uso adecuado de los decoradores: NestJS proporciona una serie de decoradores para ayudarte a desarrollar tu aplicación de manera más eficiente. Por ejemplo, los decoradores @Get(), @Post(), @Put(), @Delete() y @Patch() en tus controladores te permiten manejar fácilmente los diferentes tipos de solicitudes HTTP. Los decoradores @Body(), @Query(), @Param(), etc., te permiten acceder a diferentes partes de la solicitud HTTP.

    @Post('register')
    async register(@Body() createUserDto: CreateUserDto) {
      return this.authService.register(createUserDto);
    }