Skip to content

Instantly share code, notes, and snippets.

View luisfdez's full-sized avatar

Luis Fernández Álvarez luisfdez

View GitHub Profile
@dlebech
dlebech / Gerrit comment formatting
Last active January 17, 2024 10:34
Comment formatting in Gerrit
The documentation for Gerrit when it comes to formatting comments is quite lacking. Here is short list created by trial and error and looking at the source code in:
./gerrit-gwtexpui/src/main/java/com/google/gwtexpui/safehtml/client/SafeHtml.java
Lists:
* List item 1
* List item 2
- List item 1
- List item 2
@lukecyca
lukecyca / gist:907c4a62758c068fd464
Last active September 8, 2020 14:44
Impersonating a user with the JIRA API
"""
Example of making a request to JIRA as a trusted application.
In this example, we create a new issue as an arbitrary user.
More information on this technique at:
https://answers.atlassian.com/questions/247528/how-do-you-impersonate-a-user-with-jira-oauth
"""
import oauth2
import time
@vishvananda
vishvananda / logging.conf
Created September 18, 2012 01:26
Logging config for nova using a pipe or special syslog
[loggers]
keys = root
[handlers]
keys = file, nova_syslog
[formatters]
keys = legacynova
[logger_root]