Skip to content

Instantly share code, notes, and snippets.

@awwx
awwx / mobserve.cljc
Last active May 4, 2024 11:51
observe Missionary task and flow events
;; SPDX-License-Identifier: EPL-2.0 OR MIT
(ns mobserve
(:require
[missionary.core :as m])
(:import
missionary.Cancelled))
;; Encapsulate differences between Clojure and ClojureScript
;; on how IFn and IDeref are implemented.
@varqox
varqox / install_debian_with_debootstrap_howto.md
Last active May 4, 2024 11:48
Instructions how to install Debian using debootstrap
@DomPizzie
DomPizzie / README-Template.md
Last active May 4, 2024 11:44
A simple README.md template

Project Title

Simple overview of use/purpose.

Description

An in-depth paragraph about your project and overview of use.

Getting Started

@jannegpriv
jannegpriv / installation_steps_k3s_dashboard.md
Last active May 4, 2024 11:43
Installation steps for K3s dashboard.

Installation steps for K3s dashboard

The steps below requires that you have followed the installation steps for installing K3s on RPIs.

NOTE: The following files can be found in the following repository.

Installation steps for K3s dashboard. On master node, create a folder called dashboard:

@titanism
titanism / how-to-list-paypal-subscriptions-and-billing-agreements-recurring-payments-endpoint-api-workaround-hack-fix.md
Created January 24, 2023 19:04
How to list all PayPal subscriptions and billing agreements and recurring ids API retrieve fetch all

How to list all PayPal subscriptions and billing agreements and recurring ids API retrieve fetch all

  1. Go to https://www.paypal.com/billing/subscriptions.

  2. Open Devtools and run the following script:

const arr = [];

const interval = setInterval(function() {
@Voloshin-Sergei
Voloshin-Sergei / commit.md
Created November 3, 2020 13:10
Шпаргалка по оформлению коммитов

Требования к именам коммитов

  • Названия коммитов должны быть согласно гайдлайну
  • Должен использоваться present tense ("add feature" not "added feature")
  • Должен использоваться imperative mood ("move cursor to..." not "moves cursor to...")

Примеры имен коммитов

init: - используется для начала проекта/таска. Примеры:
  • init: start youtube-task
  • init: start mentor-dashboard task
@Juanito99
Juanito99 / Get-SharesWithShareAndNTFSPermissions
Last active May 4, 2024 11:31
List File-Shares with Share and NTFS Permissions in PowerShell
<#
License terms
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
#>
#get all Shares
@tykurtz
tykurtz / grokking_to_leetcode.md
Last active May 4, 2024 11:30
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

@slok
slok / pprof.md
Last active May 4, 2024 11:28
Go pprof cheat sheet

Enable profiling

Default http server

import (
    _ "net/http/pprof"
    "net/http"
)
@bvaughn
bvaughn / index.md
Last active May 4, 2024 11:25
How to use profiling in production mode for react-dom

React recently introduced an experimental profiler API. This page gives instructions on how to use this API in a production release of your app.

Table of Contents

Profiling in production

React DOM automatically supports profiling in development mode for v16.5+, but since profiling adds some small additional overhead it is opt-in for production mode. This gist explains how to opt-in.