Skip to content

Instantly share code, notes, and snippets.


Manfred Touron moul

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
cerisier /
Last active Apr 2, 2020
Dataproc initialization action script for installing python3
# from
apt-get -y install python3
echo "export PYSPARK_PYTHON=python3" | tee -a /etc/profile.d/ /etc/*bashrc /usr/lib/spark/conf/
echo "Adding PYTHONHASHSEED=0 to profiles and spark-defaults.conf..."
echo "export PYTHONHASHSEED=0" | tee -a /etc/profile.d/ /etc/*bashrc /usr/lib/spark/conf/
echo "spark.executorEnv.PYTHONHASHSEED=0" >> /etc/spark/conf/spark-defaults.conf
View gist:1ab7ca6237aaf1074b5418833622391b
[ 464.491849] BUG: unable to handle kernel NULL pointer dereference at 0000000000000009
[ 464.586152] IP: [<ffffffff8101b290>] intel_pmu_lbr_read+0x70/0x480
[ 464.660511] PGD 465196067 PUD 46a823067 PMD 0
[ 464.713979] Oops: 0000 [#1] SMP
[ 464.752720] Modules linked in: kvm_intel kvm fjes irqbypass autofs4
[ 464.828642] CPU: 3 PID: 4012 Comm: dummy Not tainted 4.4.6-std-4 #1
[ 464.903933] Hardware name: Online Labs SR/SR, BIOS 03/04/2016
[ 464.987580] task: ffff88046d27cac0 ti: ffff88046c4c0000 task.ti: ffff88046c4c0000
[ 465.077491] RIP: 0010:[<ffffffff8101b290>] [<ffffffff8101b290>] intel_pmu_lbr_read+0x70/0x480
[ 465.181084] RSP: 0000:ffff88046c4c3c58 EFLAGS: 00010006
cerisier / random.txt
Created Jan 24, 2016
List of words for random entry creative technique
View random.txt
Aircraft Carrier
moul / linux distrib
Last active Jan 15, 2016
linux distrib builds
View linux distrib
distrib/builder debootstrap qemu-debootstrap multistrap rinse urpmi anaconda chroot + static pm pacstrap kickstart preseed
debian Y Y Y ?
ubuntu Y Y Y ?
fedora Y Y Y ?
centos Y Y Y ?
redhat Y Y Y ?
OlegIlyenko / Event-stream based GraphQL
Last active May 20, 2020
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.

Zillionx / OSX_TCP_options.command
Last active Nov 21, 2017
OSX - Tuning the Network Stack TCP
View OSX_TCP_options.command
## Quick fix for slow internet after update to OSX 10.11 "El Capitan"
## Changes are not permanent, just restart your mac if it doesn't work.
## write config
sudo su -
sysctl -w net.inet.tcp.doautorcvbuf=0
sysctl -w net.inet.tcp.doautosndbuf=0
sysctl -w net.inet.tcp.win_scale_factor=0
# net.inet.tcp.recvspace=1048576
# net.inet.tcp.sendspace=131072
jpillora / nginx-gitlab.conf
Created Aug 21, 2015
Gitlab go get via SSH
View nginx-gitlab.conf
server {
listen {PUBLIC-GITLAB-HTTP-PORT}; #e.g. 80
server_name {PUBLIC-GITLAB-HOST}; #e.g.
# add_header X-Frame-Options DENY;
add_header X-Content-Type-Options nosniff;
location / {
## Hack to implement && - Concat two strings and compare result
if ($args ~* "^go-get=1") {
set $condition goget;
JogoShugh / AsyncAwait.js
Last active Aug 29, 2015
SpaceMiner gitlab API
View AsyncAwait.js
// npm install -g babel
// Then run with babel-node like this:
// babel-node --stage 2 index.js
import gitlab from 'gitlab';
import request from 'request';
import Promise from 'bluebird';
let apiBaseUrl = ''; = Promise.promisify(, request);
eddiejaoude /
Last active Nov 30, 2017
Most active users on GitHub 2015

This is the top 1000 users on GitHub

Where are you on here?

For the first 6 months of 2015 (Jan - June).

Query used on Google's BigQuery with GitHubArchive Data

SELECT actor.login as user, COUNT(*) as total FROM (
moul / boot-1.txt
Last active Aug 29, 2015
View boot-1.txt
��l�High speed PHY - Ver 2.0.0 (COM-PHY-V20)
DDR3 Training Sequence - Ver 4.0.0
DDR3 Training Sequence - Ended Successfully
Status = MV_OK
BootROM: Image checksum verification PASSED
U-Boot 2011.12 (Mar 23 2015 - 16:06:25) Marvell version: 2012_Q4.0p16
You can’t perform that action at this time.