Skip to content

Instantly share code, notes, and snippets.

@prrao87
prrao87 / install_postman_mint_no_snap.md
Last active January 15, 2025 18:24
Install Postman on Linux Mint (without using snap)

Goal

Postman is a usefull app to build and test APIs, most commonly installed on ubuntu-like systems via snap. On recent distributions of Linux Mint (20 and above), snap installs are no longer possible. The instructions below show how to install Postman via the terminal.

Download Postman

$ wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz

Extract archive

$ sudo tar -xzf postman.tar.gz -C /opt

Make symlink

@Maharshi-Pandya
Maharshi-Pandya / contemplative-llms.txt
Last active January 15, 2025 18:24
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
@robsteriam
robsteriam / az104studymaterials.md
Last active January 15, 2025 18:21
AZ-104 Study Materials Compilation
@dvdzara
dvdzara / formulario-analisi-1.tex
Last active January 15, 2025 18:20
Formulario analisi 1
\documentclass[fleqn,a4paper]{report}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,mathtools,amssymb}
\usepackage{multicol}
\usepackage{xcolor}
% Removes paragraph indentation.
\setlength{\parindent}{0pt}
@moeyua
moeyua / collection.md
Last active January 15, 2025 18:20
由 Moeyua 搜集、整理、维护的、个人自用的收藏列表。

Collection

这里是由 Moeyua 搜集、整理、维护的、个人自用的收藏列表。

工具

一些在线的工具,可能是日常会用到的工具,也可能是开发相关的工具

  • bookmark.style - 可以将任意链接转换生成可分享的图片。
  • tldraw - 一个画图的地方。
@joelonsql
joelonsql / PostgreSQL-EXTENSIONs.md
Last active January 15, 2025 18:19
1000+ PostgreSQL EXTENSIONs

🗺🐘 1000+ PostgreSQL EXTENSIONs

This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.

⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.

@joshdholtz
joshdholtz / ATinySampleApp.swift
Last active January 15, 2025 18:18
Super basic SwiftUI app (70 lines of code) with paywall using RevenueCat
import SwiftUI
import RevenueCat
struct Constants {
static let apiKey = "<your_api_key>" // Will look like: appl_bunchofotherstuffhere
static let entitlementName = "<your_entitlement_name>" // I use something like "pro"
}
@main
struct ATinySampleApp: App {
All grep, sed, jq and awk related commands
@Edarlingen
Edarlingen / breadcrumbs.php
Last active January 15, 2025 18:18
Хлебные крошки в Netcat.
<?php
$url = $nc_core->catalogue->get_url_by_id($catalogue);
$full_url_without_query = $url . $nc_core->url->get_parsed_url('path');
$h1 = $nc_core->page->get_h1();
$breadcrumb_position = 1;
$current_cc_subdivision_id = $current_cc['Subdivision_ID'] ?: 0;
?>
<ol class='breadcrumb' itemscope='' itemtype='https://schema.org/BreadcrumbList'>
@gunvirranu
gunvirranu / Vector2D.java
Created March 17, 2017 07:03
Complete 2D Vector Class for Java
public class Vector2D {
public double x;
public double y;
public Vector2D() { }
public Vector2D(double x, double y) {
this.x = x;