Skip to content

Instantly share code, notes, and snippets.

@lohhans
lohhans / README-PTBR.md
Last active April 16, 2024 20:30 — forked from PurpleBooth/README-Template.md
Um modelo para fazer um bom README.md

Título do projeto

Um parágrafo da descrição do projeto vai aqui

🚀 Começando

Essas instruções permitirão que você obtenha uma cópia do projeto em operação na sua máquina local para fins de desenvolvimento e teste.

Consulte Implantação para saber como implantar o projeto.

@drmalex07
drmalex07 / README-certificate-with-extensions.md
Last active April 16, 2024 20:28
Provide a certificate with extended attributes (X509 v3 extensions). #x509 #openssl #certificate

README

Configure OpenSSL

The creation of a certificate has a request phase and a signing phase. Both phases need to refer to an SSL configuration file which will include the required extensions. The supported extensions are documented at man x509v3_config.

The system-wide openssl configuration usually lies at /etc/ssl/openssl.cnf. Suppose we need to request some X509 extensions (like keyUsage, extendedKeyUsage and subjectAltName), so we need to add/override some parts and we create a configuration fragment in request.conf:

@citrusui
citrusui / dropdown.md
Last active April 16, 2024 20:25
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<details>
<summary>How do I dropdown?</summary>
<br>
This is how you dropdown.
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active April 16, 2024 20:25
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@parmentf
parmentf / GitCommitEmoji.md
Last active April 16, 2024 20:25
Git Commit message Emoji
@mohanpedala
mohanpedala / bash_strict_mode.md
Last active April 16, 2024 20:25
set -e, -u, -o, -x pipefail explanation
@Ellivers
Ellivers / youtube-search-options.user.js
Last active April 16, 2024 20:23
Better YouTube Search Control
// ==UserScript==
// @name Better Search Result Control
// @namespace YouTube Search Options
// @match https://www.youtube.com/*
// @downloadURL https://gist.github.com/Ellivers/9d7beaa66590ce719c1d8c333d6cfaa1/raw/youtube-search-options.user.js
// @grant GM_getValue
// @grant GM_setValue
// @version 1.4
// @author Ellivers
// @description 2022-09-06, 19:00:54
@Vanchel
Vanchel / outlined_input_border.dart
Last active April 16, 2024 20:22
Border with label placed inside
import 'dart:math' as math;
import 'dart:ui';
import 'package:flutter/material.dart';
class OutlinedInputBorder extends InputBorder {
/// Creates a rounded rectangle outline border for an [InputDecorator].
///
/// If the [borderSide] parameter is [BorderSide.none], it will not draw a
/// border. However, it will still define a shape (which you can see if
@kvnxiao
kvnxiao / awesome-selfhosted-sorted-by-stars.md
Last active April 16, 2024 20:22
awesome-selfhosted-sorted-by-stars.md

Awesome-Selfhosted

Awesome

Selfhosting is the process of locally hosting and managing applications instead of renting from SaaS providers.

This is a list of Free Software network services and web applications which can be hosted locally. Non-Free software is listed on the Non-Free page.

See Contributing.

@rahularity
rahularity / work-with-multiple-github-accounts.md
Last active April 16, 2024 20:19
How To Work With Multiple Github Accounts on your PC

How To Work With Multiple Github Accounts on a single Machine

Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.

NOTE: This logic can be extended to more than two accounts also. :)

The setup can be done in 5 easy steps:

Steps:

  • Step 1 : Create SSH keys for all accounts
  • Step 2 : Add SSH keys to SSH Agent