Skip to content

Instantly share code, notes, and snippets.

View dead's full-sized avatar

Gustavo Bennemann dead

  • Maringá - PR, Brasil
View GitHub Profile
@dead
dead / README.md
Last active April 23, 2023 17:44
Databricks Integration Test Coverage POC

How to use

First you will need to change the testcicd to the name of your project. In the deployment.json you will also need to change the pkg-testcicd to pkg-{your-project-name}. (This was a small hack to avoid dbx to upload the entire project folder)

Then you can run the normal deploy/launch commands to run the integration test.

dbx deploy --jobs=cov-sample-integration-test --files-only
dbx launch --job=cov-sample-integration-test --as-run-submit --trace
databricks fs cp dbfs:/tmp/coverage.xml .
@dead
dead / railgun op.ass
Created October 19, 2017 17:14
railgun op.ass
This file has been truncated, but you can view the full file.
[Script Info]
; Script generated by Aegisub 3.0.2
; http://www.aegisub.org/
Title: Default Aegisub file
ScriptType: v4.00+
WrapStyle: 0
ScaledBorderAndShadow: yes
Collisions: Normal
PlayResX: 1280
PlayResY: 720
import matplotlib.pyplot as plt
def plot_model_history(h, mode="loss"):
legend = [mode]
x = range(len(h[mode]))
plt.plot(x, h[mode], marker='.')
if "val_" + mode in h:
legend.append("val_" + mode)
#include "Limelight-internal.h"
#include "PlatformSockets.h"
#include "PlatformThreads.h"
#include "LinkedBlockingQueue.h"
#include "Input.h"
#include <openssl/evp.h>
#include <openssl/aes.h>
static SOCKET inputSock = INVALID_SOCKET;
@dead
dead / RetroPlayerVideo.cpp
Last active February 18, 2016 10:48
RetroPlayerVideo
/*
* Copyright (C) 2012-2015 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This Program is distributed in the hope that it will be useful,
@dead
dead / config.json
Created January 13, 2016 14:08 — forked from anonymous/config.json
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
@dead
dead / test_core.py.diff
Last active August 29, 2015 14:23
test_core diff
--- test_core.old.py 2015-06-25 08:23:46.468211660 -0300
+++ tests/test_core.py 2015-06-25 08:23:35.380211692 -0300
@@ -5627,7 +5627,7 @@
Settings.DEAD_FUNCTIONS += ['_inflateEnd', '_inflate', '_inflateReset', '_inflateInit2_']
return self.get_library('freetype',
- os.path.join('objs', '.libs', 'libfreetype.a'))
+ os.path.join('objs', '.libs', 'libfreetype.so'))
def test_freetype(self):