Skip to content

Instantly share code, notes, and snippets.

View QuLogic's full-sized avatar
🏖️
On vacation

Elliott Sales de Andrade QuLogic

🏖️
On vacation
View GitHub Profile
<NetworkInfoList>
<NetworkInfo>
<DomainId>1</DomainId>
<SourceId>WL</SourceId>
<RelationshipType>3</RelationshipType>
<RelationshipState>2</RelationshipState>
<RelationshipStateDate>2010...</RelationshipStateDate>
<RelationshipRole>0</RelationshipRole>
<NDRCount>0</NDRCount>
<InviterCID>0</InviterCID>
@QuLogic
QuLogic / msn-ab-allowed.xml
Created November 14, 2014 09:11
MSN AB contact examples
<Contact>
<contactId>...GUID...</contactId>
<contactInfo>
<annotations>
<Annotation>
<Name>Live.AB.UserTileHash</Name>
<Value>Base 64 of hash</Value>
</Annotation>
</annotations>
<groupIds>
@QuLogic
QuLogic / gist:91396688795fc43b168a
Created January 18, 2015 23:28
mpl bt for obspy
(gdb) bt full
#0 0x00007ffff6c908c7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
resultvar = 0
pid = 24055
selftid = 24055
#1 0x00007ffff6c9252a in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x7ffff7014700 <_IO_2_1_stderr_>, sa_sigaction = 0x7ffff7014700 <_IO_2_1_stderr_>},
sa_mask = {__val = {140737353826304, 48, 2, 140737337444096, 2, 140737070906308, 0, 20035248, 140737337444096, 140737073193880,
140737337444576, 20035248, 11386, 0, 16928400, 140737351966300}}, sa_flags = -446320048,
@QuLogic
QuLogic / mpl_catchoutput.py
Last active August 29, 2015 14:13
mpl CatchOutput bugs
#!/usr/bin/env python
from __future__ import (absolute_import, division, print_function,
unicode_literals)
import matplotlib
matplotlib.use("agg")
from contextlib import contextmanager
import tempfile
import sys
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@QuLogic
QuLogic / issue579.py
Last active August 29, 2015 14:16
Cartopy issue 579 test
from __future__ import (absolute_import, division, print_function)
import sys
import numpy as np
import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
import cartopy.feature as cfeature
@QuLogic
QuLogic / Direct Access to Seismological Data using Python and ObsPy.ipynb
Last active August 29, 2015 14:21
Direct Access to Seismological Data using Python and ObsPy
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@QuLogic
QuLogic / PROJ.4 cleanup.md
Last active August 29, 2015 14:21
proj.4 repo cleanup

This gist includes scripts used to clean up the proj.4 git repository.

  • generate_comment_refs.py determines the tickets and comments that reference to SHA1 hashes.
  • refs is a list of (ticket number, comment ID, count, commit hash) from above.
  • proj4-clean.sh clones the original repo, flattens the structure, and removes extra commits. The hashes noted in the previous step are converted to the new commit hashes.
  • newrefs is a list of (ticket number, comment ID, count, old commit hash, new commit hash) from above.
  • update_comment_refs.py takes newrefs and updates the tickets on GitHub.
@QuLogic
QuLogic / MWE.bib
Last active August 29, 2015 14:26 — forked from retorquere/MWE.tex
@online{zotero-1855286-1414,
title = {Patent Landscape analysis: sample from {S}40RTS},
url = {http://www.patanalyse.com/sample-analysis.html},
timestamp = {2014-10-18 17:04:22},
urldate = {2014-10-18},
file = {Patent Landscape analysis\: sample from PatAnalyse:/Users/jeff/Zotero_data/storage/AQRPC353/sample-analysis.html:text/html}
}
@QuLogic
QuLogic / Panda-fied R Introduction.ipynb
Last active December 17, 2015 21:44
R/Pandas Introduction
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.