Skip to content

Instantly share code, notes, and snippets.

View moul's full-sized avatar
🌸
dapps

Manfred Touron moul

🌸
dapps
View GitHub Profile
@aras-p
aras-p / preprocessor_fun.h
Last active September 20, 2025 11:22
Things to commit just before leaving your job
// 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,
@jancborchardt
jancborchardt / Dealing with issues.md
Last active January 24, 2022 23:07
Dealing with issues

Dealing with issues

Try to reproduce issues

Go through the new issues and try to reproduce them. It’s important to get additional info, logs, and test if an issue occurs on different platforms. That helps us identify the source of the problem.

Triage issues

  • if there’s more info needed, ask the reporter to use the issue template
  • assign relevant labels
@pasiaj
pasiaj / phantomjs-linkedin.js
Created July 31, 2013 19:57
A phantomjs script to: a) Login to Linkedin.com b) Scrape all your contacts c) Visit all the contacts d) Automatically endorse all contacts' skills.
var auth = {
user: "USERNAME",
pass: "PASSWORD"
};
function ParallelRunner (list, func, runners) {
function createSlots(runners) {
var slots = [];
for (var i = 0; i < runners; i++) {
slots.push( objReturner() );
@iainjmitchell
iainjmitchell / README.md
Last active November 12, 2018 23:18
Guthub status widget for dashing

##Description Simple Dashing widget (and associated job) to display current github status.

##Dependencies httparty

Add it to dashing's gemfile:

gem 'httparty'
@ragingwind
ragingwind / Backend Architectures Keywords and References.md
Last active September 9, 2025 00:47
Backend Architectures Keywords and References
@stuartpb
stuartpb / glorw.txt
Created June 4, 2013 22:43
General list of reserved words
### General List of Reserved Words
### Stuart P. Bentley <[email protected]>, June 4, 2013
## This is a general list of words you may want to consider reserving,
## in a system where users can pick any name, in a context where the
## system may use names as well. One prominent example of a system
## where this is the case would be a site that serves pages for users,
## at their username, from the site root, like
## http://twitter.com/stuartpb . In this system, you would want to
## reserve some routes for pages that would commonly be expected to
import networkx as nx
import pprint
from operator import itemgetter
G = nx.read_graphml('metro.graphml')
print "graph has %d nodes with %d edges"\
% (nx.number_of_nodes(G), nx.number_of_edges(G))
@boogah
boogah / Favorite Alfred Workflows.md
Last active December 29, 2017 19:41
My Favorite Alfred Searches & Workflows
@mjamieson
mjamieson / README.md
Last active February 2, 2018 16:39
Instagram photos by location for Dashing

Description

Dashing widget to display location based photos from Instagram.

##Dependencies

instagram - Official Ruby Gem

Add the following to your Dashing Gemfile:

<ezstream>
<url>http://127.0.0.1:8042/test</url>
<sourcepassword>test</sourcepassword>
<sourceuser>test</sourceuser>
<format>MP3</format>
<filename>b.mp3</filename>
<stream_once>0</stream_once>
<svrinfoname>test</svrinfoname>
<svrinfourl>test</svrinfourl>
<svrinfogenre>test</svrinfogenre>