Skip to content

Instantly share code, notes, and snippets.

@methane
methane / bind_and_setuser.py
Last active February 25, 2018 18:33
Go で 80 番以下のポートを listen するためのスクリプト
#!/usr/bin/python
from __future__ import print_function
import os
import pwd
import socket
import sys
@paulmillr
paulmillr / active.md
Last active September 12, 2024 07:32
Most active GitHub users (by contributions). http://twitter.com/paulmillr

Most active GitHub users (git.io/top)

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.

If you are not in the list you don't have enough followers. Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:

githubUsers
 .filter(user => user.followers > 1000)
@yohhoy
yohhoy / threads.h
Last active July 25, 2024 06:15
C11 <threads.h> emulation library
/*
* C11 <threads.h> emulation library
*
* (C) Copyright yohhoy 2012.
* Distributed under the Boost Software License, Version 1.0.
* (See copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef EMULATED_THREADS_H_INCLUDED_
#define EMULATED_THREADS_H_INCLUDED_