Skip to content

Instantly share code, notes, and snippets.

happy 😀

Manfred Touron moul

happy 😀
Block or report user

Report or block moul

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
paulmillr /
Last active Nov 16, 2019
Most active GitHub users (by contributions).

Most active GitHub users (

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at from Tue, 06 Dec 2016 17:06:46 GMT till Wed, 06 Dec 2017 17:06:46 GMT.

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:

  .filter(user => user.followers > 1000)
OlegIlyenko / Event-stream based GraphQL
Last active Nov 16, 2019
Event-stream based GraphQL subscriptions for real-time updates
View Event-stream based GraphQL

In this gist I would like to describe an idea for GraphQL subscriptions. It was inspired by conversations about subscriptions in the GraphQL slack channel and different GH issues, like #89 and #411.

Conceptual Model

At the moment GraphQL allows 2 types of queries:

  • query
  • mutation

Reference implementation also adds the third type: subscription. It does not have any semantics yet, so here I would like to propose one possible semantics interpretation and the reasoning behind it.

aras-p / preprocessor_fun.h
Last active Nov 14, 2019
Things to commit just before leaving your job
View preprocessor_fun.h
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,
jedy / go_scp.go
Last active Nov 14, 2019
an example of scp in golang
View go_scp.go
package main
import (
const privateKey = `content of id_rsa`
endolith / Has weird right-to-left characters.txt
Last active Nov 12, 2019
Unicode kaomoji smileys emoticons emoji
View Has weird right-to-left characters.txt
podshumok / gmail_1.csv
Last active Nov 9, 2019
Leaked gmail passwords w/o logins sorted by popularity (at least 11 occurrences)
View gmail_1.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
passw count
123456 47817
password 11548
123456789 11133
12345 8088
qwerty 5915
12345678 5248
111111 3514
abc123 3011
123123 2971
piscisaureus /
Created Aug 13, 2012
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url =

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

kachayev /
Last active Oct 30, 2019
Channels Are Not Enough or Why Pipelining Is Not That Easy
View mice.css
.mouse, #preview{
position: absolute;
background-repeat: no-repeat;
height: 22px;
min-width: 15px;
z-index: 100;
background-image: url('../images/cursor.png');
jdiaz5513 /
Last active Oct 24, 2019
Console ASCII Art Generator
#! /usr/bin/env python2
# Requires: PIL, colormath
# Improved algorithm now automatically crops the image and uses much
# better color matching
from PIL import Image, ImageChops
from colormath.color_conversions import convert_color
from colormath.color_objects import LabColor
from colormath.color_objects import sRGBColor as RGBColor
You can’t perform that action at this time.