Skip to content

Instantly share code, notes, and snippets.

Christian Ulbrich ChristianUlbrich

Block or report user

Report or block ChristianUlbrich

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.html
<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>
View README.md

Lightning Presentation @ AngularConnect 2018

@ChristianUlbrich
ChristianUlbrich / .block
Last active Sep 17, 2018 — forked from nbremer/.block
D3.js - Radar Chart or Spider Chart - Adjusted from radar-chart-d3
View .block
height: 650
license: mit
@ChristianUlbrich
ChristianUlbrich / testproms.js
Created Jun 3, 2014
Promises gaaaaanz einfach...
View testproms.js
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 Dec 9, 2013
Simple example to capture a frame with an uEye Camera under Linux; compile with: gcc -Wall test_frame_capture.c -lueye_api -o frametest
View test_frame_capture.c
#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 Sep 19, 2013
php transparent proxy, seems to support full headers BOTH ways and has some nice cookie stuff, worth looking into
View proxy.php
<?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 Aug 16, 2019
Aktualisiert eine Subdomain bei HostEurope - auch bekannt als "poor man's dyndns". :)
View update_dns_hosteurope.sh
#!/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
You can’t perform that action at this time.