Skip to content

Instantly share code, notes, and snippets.

@paulmillr
paulmillr / active.md
Last active May 13, 2026 17:15
Most active GitHub users (by contributions). https://paulmillr.com

Most active GitHub users (git.io/top)

The list would not be updated for now. Don't write comments.

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.

Because of GitHub search limitations, only 1000 first users according to amount of followers are included. If you are not in the list you don't have enough followers. See raw data and source code. Algorithm in pseudocode:

githubUsers
@incompl
incompl / gist:3819571
Last active March 19, 2023 16:05
Git needs help

The git command-line interface sucks

When I use git, I'm scared I'll break something. I just talked to an open source celebrity who has used git for 3-4 years who avoids using the CLI because he's afraid he'll break something, and uses Tower when possible. I recently had a client accidentally delete their work because they didn't understand git. My fear of breaking something is well-founded.

You can't put a price on the confidence that source control is supposed to give you. That confidence suffers when people are afraid of causing irreparable damage during normal use.

This article lists a few ideas on what git can do to improve.

A Controlled Vocabulary

@ozh
ozh / new empty git branch.md
Last active February 27, 2026 17:19
Create a new empty branch in Git
$ git checkout --orphan NEWBRANCH
$ git rm -rf .

--orphan creates a new branch, but it starts without any commit. After running the above command you are on a new branch "NEWBRANCH", and the first commit you create from this state will start a new history without any ancestry.

You can then start adding files and commit them and they will live in their own branch. If you take a look at the log, you will see that it is isolated from the original log.

#include <iostream>
#include <hdf5.h>
// Constants
const char saveFilePath[] = "test.h5";
const hsize_t ndims = 2;
const hsize_t ncols = 3;
int main()
@endolith
endolith / LICENSE.txt
Last active April 20, 2026 01:18
Python implementation of "Cookbook formulae for audio EQ biquad filter coefficients"
MIT License
Copyright (c) 2013 endolith
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@mcw0933
mcw0933 / gist:5543526
Created May 8, 2013 20:46
Getting the first page of a fixed document sequence as a reference page to know how to set page orientation. Assumes that all pages in the document are the same size and same orientation as page 1.
/// <summary>
/// Gets the PageOrientation of the first page of a fixed document sequence, based on that page's dimensions.
/// </summary>
/// <param name="docSeq">The fixed document sequence.</param>
/// <returns>
/// If the first page could not be found, returns Unknown.
/// Returns Portrait when the page width is less than the height.
/// Otherwise (width is greater than OR EQUAL), returns Landscape.
/// </returns>
private static PageOrientation GetPageOrientationOfFirstPageOfFixedDocSeq(FixedDocumentSequence docSeq) {
@bodokaiser
bodokaiser / Makefile
Last active April 2, 2025 12:39
Example of how to use libuv`s QUEUE.
build:
$(CC) -o queue.o queue.c
@rxaviers
rxaviers / gist:7360908
Last active May 16, 2026 18:51
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@lrhache
lrhache / python-selenium-open-tab.md
Last active May 15, 2026 18:47
Python Selenium - Open new tab / focus tab / close tab

On a recent project, I ran into an issue with Python Selenium webdriver. There's no easy way to open a new tab, grab whatever you need and return to original window opener.

Here's a couple people who ran into the same complication:

So, after many minutes (read about an hour) of searching, I decided to do find a quick solution to this problem.

@davidfowl
davidfowl / dotnetlayout.md
Last active May 16, 2026 21:22
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/