Skip to content

Instantly share code, notes, and snippets.

@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);
    }
@kirillshevch
kirillshevch / rails_new_options_help.md
Last active April 28, 2024 02:27
List of "rails new" options to generate a new Rails 7 application

Run rails new --help to see all of the options you can use to create a new Rails application:

Output for Rails 7+

Usage:
  rails new APP_PATH [options]

Options:
      [--skip-namespace], [--no-skip-namespace]              # Skip namespace (affects only isolated engines)
@Klerith
Klerith / configurar-node-ts.md
Last active April 28, 2024 02:26
Node con TypeScript - TS-Node-dev simplificado

Node con TypeScript - TS-Node-dev (preferido)

  1. Instalar TypeScript y demás dependencias
npm i -D typescript @types/node ts-node-dev rimraf
  1. Inicializar el archivo de configuración de TypeScript ( Se puede configurar al gusto)
npx tsc --init --outDir dist/ --rootDir src
@torque
torque / stripiT.rb
Last active April 28, 2024 02:22
Script to strip various iTunes atoms from purchased AAC files via AtomicParsley.
#!/usr/bin/env ruby
# usage: stripiT.rb file1.m4a file2.m4a file3.m4a
# automatically outputs to file1 - stripped.m4a, file2 - stripped.m4a, and so on.
# Script to remove extraneous/unwanted atoms from iTunes purchased files by way of AtomicParsley.
# Output should be comparable to the atoms left over after reencoding the file in iTunes itself.
# I only care about songs, so I have no clue how well this applies to video files
# Some information taken from: https://code.google.com/p/mp4v2/wiki/iTunesMetadata