This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am thrasibule on github. | |
* I am thrasibule (https://keybase.io/thrasibule) on keybase. | |
* I have a public key whose fingerprint is AAA1 86D9 906F 085D 5442 0365 9464 FEE3 FFE7 A366 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
from hive import ThriftHive | |
from hive.ttypes import HiveServerException | |
from thrift import Thrift | |
from thrift.transport import TSocket | |
from thrift.transport import TTransport | |
from thrift.protocol import TBinaryProtocol | |
try: | |
transport = TSocket.TSocket('localhost', 10000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- -*- mode: sql; sql-product: postgres; -*- | |
CREATE TYPE bond_strat AS ENUM('M_STR_MAV', 'M_STR_SMEZZ', 'CSO_TRANCH', | |
'M_CLO_BB20', 'M_CLO_AAA', 'M_CLO_BBB', 'M_MTG_IO', 'M_MTG_THRU', | |
'M_MTG_GOOD', 'M_MTG_B4PR', 'M_MTG_RW'); | |
CREATE TYPE asset_class AS ENUM('CSO', 'Subprime', 'CLO', 'Tranches', 'Futures', 'Cash', 'FX', 'Cleared'); | |
CREATE TYPE action AS ENUM('NEW', 'UPDATE', 'CANCEL'); | |
CREATE TYPE currency AS ENUM('USD', 'CAD', 'EUR', 'YEN'); | |
CREATE TYPE bbg_type AS ENUM('Mtge', 'Corp'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -urN flexisip-1.0.4-orig/src/main.cc flexisip-1.0.4/src/main.cc | |
--- flexisip-1.0.4-orig/src/main.cc 2015-07-25 16:02:22.091635154 -0400 | |
+++ flexisip-1.0.4/src/main.cc 2015-07-25 16:03:06.923160716 -0400 | |
@@ -710,7 +710,7 @@ | |
} | |
#ifdef ENABLE_PRESENCE | |
- flexisip::PresenceServer presenceServer(cfgfile); | |
+ flexisip::PresenceServer presenceServer(configFile.getValue()); | |
presenceServer.start(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"display_name": "pySpark (Spark $pkgver)", | |
"language": "python", | |
"argv": [ | |
"/usr/bin/python", | |
"-m", | |
"IPython.kernel", | |
"-f", | |
"{connection_file}" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scrobbles": { | |
"@attr": { | |
"accepted": 1, | |
"ignored": 0 | |
}, | |
"scrobble": { | |
"artist": { | |
"corrected": "0", | |
"#text": "Mumford & Sons" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<lfm status="ok"> | |
<scrobbles ignored="0" accepted="1"> | |
<scrobble> | |
<track corrected="0">Loser</track> | |
<artist corrected="0">Beck</artist> | |
<album corrected="0">Mellow Gold</album> | |
<albumArtist corrected="0"></albumArtist> | |
<timestamp>1479682785</timestamp> | |
<ignoredMessage code="0"></ignoredMessage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014-01-14 | 0.0006245789534913303 | |
---|---|---|
2014-01-15 | 0.0007235929062534052 | |
2014-01-16 | -0.0005943753030594623 | |
2014-01-17 | -0.00021192562622931313 | |
2014-01-20 | 5.924092418365119e-05 | |
2014-01-21 | -9.854887399638016e-05 | |
2014-01-22 | 1.2423483762416583e-05 | |
2014-01-23 | -0.001112199898973892 | |
2014-01-24 | -0.0021740288329050424 | |
2014-01-27 | 0.000100830690445693 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
date | r | |
---|---|---|
2014-01-14 | 0.0006245789534913303 | |
2014-01-15 | 0.0007235929062534052 | |
2014-01-16 | -0.0005943753030594623 | |
2014-01-17 | -0.00021192562622931313 | |
2014-01-20 | 5.924092418365119e-05 | |
2014-01-21 | -9.854887399638016e-05 | |
2014-01-22 | 1.2423483762416583e-05 | |
2014-01-23 | -0.001112199898973892 | |
2014-01-24 | -0.0021740288329050424 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import scipy.linalg as splinalg | |
import dask.array as da | |
import timeit | |
import os | |
import ctypes | |
from ctypes.util import find_library | |
openblas_lib = ctypes.cdll.LoadLibrary(find_library('openblas')) | |
def get_num_threads(): |
OlderNewer