Skip to content

Instantly share code, notes, and snippets.

View ChristianUlbrich's full-sized avatar

Christian Ulbrich ChristianUlbrich

View GitHub Profile
@ChristianUlbrich
ChristianUlbrich / dev-workflow
Created January 6, 2021 14:36
example-puml-dev-workflow
@startuml
start
:Create <i>Story Branch</i>;
note right
<i>feature/DM-101-story</i>
end note
:Create <i>Draft</i> Pull Request on <b>master</b>;
repeat
:Create <i>Feature Branch</i>;
note left
<html>
<head><title>Test</title>
</head>
<body>
<!-- SW "Hello World" Custom Element -->
<sw-hello-world></sw-hello-world>
<script src="https://gist.githack.com/davidenke/e51ebb3ba6e38dd2300924993afa7051/raw/b4f0c8c196879f93e2b29deb1c3213b97f543ee7/sw-hello-world.js"></script>
</body>
</html>
tessvdvsd

Lightning Presentation @ AngularConnect 2018

@ChristianUlbrich
ChristianUlbrich / .block
Last active September 17, 2018 23:56 — forked from nbremer/.block
D3.js - Radar Chart or Spider Chart - Adjusted from radar-chart-d3
height: 650
license: mit
@ChristianUlbrich
ChristianUlbrich / testproms.js
Created June 3, 2014 11:58
Promises gaaaaanz einfach...
var Q = require('q');
var myPromDemo = {}
myPromDemo.func1 = function() {
//Deferred holen
var deferred = Q.defer();
console.log('Warte 10s');
setTimeout(function(){
@ChristianUlbrich
ChristianUlbrich / test_frame_capture.c
Created December 9, 2013 12:54
Simple example to capture a frame with an uEye Camera under Linux; compile with: gcc -Wall test_frame_capture.c -lueye_api -o frametest
#include<stdio.h>
#include<stddef.h>
#include<ueye.h>
HIDS hCam = 1;
void main() {
printf("Success-Code: %d\n",IS_SUCCESS);
//Kamera öffnen
@ChristianUlbrich
ChristianUlbrich / proxy.php
Created September 19, 2013 21:00
php transparent proxy, seems to support full headers BOTH ways and has some nice cookie stuff, worth looking into
<?php
/**
* @filename: proxy.php
*
* Proxy transparent cross-domain
* tranport cookie and headers
* @example
* http://frameinoves/proxy.php?url=http://frameinoves/ola.php"
*
*
@ChristianUlbrich
ChristianUlbrich / update_dns_hosteurope.sh
Last active January 27, 2021 22:21
Aktualisiert eine Subdomain bei HostEurope - auch bekannt als "poor man's dyndns". :)
#!/bin/sh
#aktualisiert DNS-Einträge bei HostEurope
#HostEurope-Zugangsdaten
KUNDENNR=xxx
PASSWORD=xxx
#Host-ID des eigentlichen Eintrages
HOSTID=xxx
#externe IP bestimmen und dann vergleichen