Skip to content

Instantly share code, notes, and snippets.

@synic
synic / ejuice.py
Created November 26, 2013 22:14 — forked from sli/ejuice.py
class Recipe(object):
def __init__(self, recipe):
self.__data = {
'nicotine_base':0,
'nicotine_target':0,
'amount':0,
'cut':0,
'target_pg':0,
'target_vg':0,
'unknown_a':0,
#!/usr/bin/env python
import os, sys
sys.path.append(os.getcwd())
import logging
import rq
MAX_FAILURES = 3
@synic
synic / gist:e58488851d59ca084c82
Created October 14, 2015 19:36 — forked from aussielunix/gist:1515957
search all graylog2-elasticsearch
curl -XGET 'http://localhost:9200/graylog2/_search?pretty=true' -d '
{
"query" : {
"matchAll" : {}
}
}'
@synic
synic / pr-comment-emojis.md
Created January 19, 2021 18:54 — forked from raorao/pr-comment-emojis.md
PR Comment Emojis

Any top-level comment on pull request ought be tagged with one of four emojis:

  • for a non-blocking comment that asks for clarification. The pull request author must answer the question before the pull request is merged, but does not have to wait for the comment author to re-review before merging.

  • 🎨 for a non-blocking comment that proposes a refactor or cleanup. The pull request author does not have to address the comment for the pull request to merge.

  • ⚠️ for a blocking comment that must be addressed before the pull request can merge. The comment's author should leave a Request Changes review, and is responsible for re-reviewing once the pull request author has addressed the issue.

  • 😻 for a comment that compliments the author for their work.