Skip to content

Instantly share code, notes, and snippets.

View tfoldi's full-sized avatar

Földi Tamás tfoldi

View GitHub Profile
@tfoldi
tfoldi / debug.log
Created February 22, 2024 19:16
Incoming unhandled RTCP ssrc(305150496), on_track will not be fired
ice/src/mdns/mod.rs:61 [INFO] 20:15:22.745336 - mDNS is using 0.0.0.0:5353 as dest_addr
mdns/src/conn/mod.rs:89 [TRACE] 20:15:22.746518 - Connected to interface address 127.0.0.1:0
mdns/src/conn/mod.rs:89 [TRACE] 20:15:22.746619 - Connected to interface address 192.168.88.147:0
mdns/src/conn/mod.rs:254 [INFO] 20:15:22.746708 - Looping and listening Ok(0.0.0.0:5353)
ice/src/agent/agent_internal.rs:332 [TRACE] 20:15:22.748053 - [controlled]: Set selected candidate pair: None
webrtc/src/peer_connection/mod.rs:298 [INFO] 20:15:22.750639 - signaling state changed to have-local-offer
ice/src/agent/agent_gather.rs:286 [WARN] 20:15:22.751584 - [controlled]: could not listen udp fe80::9adb:84cb:8e81:8c38: io error: Can't assign requested address (os error 49)
ice/src/agent/agent_gather.rs:286 [WARN] 20:15:22.751611 - [controlled]: could not listen udp fe80::1: io error: Can't assign requested address (os error 49)
ice/src/agent/agent_gather.rs:286 [WARN] 20:15:22.751634 - [controlled]: could not listen udp fe80::6919:
@tfoldi
tfoldi / .xsessionrc
Last active January 28, 2024 15:56
Yahboom Robor R2
#!/bin/bash
# Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
@tfoldi
tfoldi / invoke_jupyternb.pl
Created July 9, 2023 17:36
Invoking Jupyter Notebooks over Jupyer Lab
# Execute a notebook over Jupyter Lab API
#
# Based on https://stackoverflow.com/a/54551221/942520
import os
import sys
import argparse
import json
import requests
import datetime
@tfoldi
tfoldi / telegraf-configmap.yml
Last active November 22, 2020 12:41
Influx, Grafana and Telegraf on Kubernetes
apiVersion: v1
kind: ConfigMap
metadata:
name: telegraf
namespace: monitoring
labels:
k8s-app: telegraf
data:
telegraf.conf: |+
[global_tags]
package com.starschema.jampi.blas
import jdk.incubator.vector.{DoubleVector, FloatVector, IntVector}
object DotProductVector {
val I128 = IntVector.SPECIES_128
val I256 = IntVector.SPECIES_256
val F256 = FloatVector.SPECIES_256
val D256 = DoubleVector.SPECIES_256
@tfoldi
tfoldi / workgroup.yml
Last active December 6, 2016 10:21
Tableau Server Features
features.APIBasedEmbedCode: false
features.AQLDataPipeline2: false
features.AddSupportUser: false
features.AlertOnThresholdCondition: false
features.AlphabeticalSchemaSort: false
features.AlternativeFedEngine: false
features.AnalyticsObjectsEditors: false
features.AsyncJsModuleLoad: false
features.AutomaticDrill: false
features.Autosave: false
@tfoldi
tfoldi / get_published_sources_with_workbook.sql
Created January 30, 2016 15:06
Get published data sources with workbooks
select *
from datasources
inner join data_connections on (data_connections.name = datasources.name)
inner join workbooks on (data_connections.owner_id = workbooks.id)
where data_connections.dbclass = 'sqlproxy';

Payload for test:

$ cat signin.xml
<tsRequest>
  <credentials name="yoyo" password="fofo" >
    <site contentUrl="" />
  </credentials>
</tsRequest>

CURL -F works with Tableau 9.0

@tfoldi
tfoldi / tableau-password-validator-full.js
Created August 4, 2015 13:18
Tableau Password Validation Full
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
var jade = require("jade/runtime");
module.exports = function template(locals) {
var jade_debug = [ new jade.DebugItem( 1, "/home/t/git/tableau-server-password-validator/coffee/tableau-server-password-validator/messages.jade" ) ];
try {
var buf = [];
var jade_mixins = {};
var jade_interp;
@tfoldi
tfoldi / WebServiceClient.java
Created July 13, 2015 17:09
Trigger a schedule
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.StringReader;
import java.math.BigInteger;
import java.security.InvalidKeyException;
import java.security.KeyFactory;
import java.security.NoSuchAlgorithmException;
import java.security.PublicKey;
import java.security.spec.InvalidKeySpecException;