Skip to content

Instantly share code, notes, and snippets.

Felix Lindemann felixlindemann

Block or report user

Report or block felixlindemann

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 Fast Rsync nas to nas
rsync -rtXx --numeric-ids --progress -e "ssh -T -c aes128-ctr -o Compression=no -x" <user>@<ip>:/<source-path>/ /<dest.path>/
felixlindemann / olMap.Demo.js
Created May 10, 2016
altered version of the olMap.Demo.js
View olMap.Demo.js
var map;
var highlightStyleCache = {};
$('#btnAddDemo').click(function (evt) {
olMapControls.Layers.ReadGpx("gpx/track.gpx", "Bycycle Tour Wuppertal 100km", "id_gpx100km");
felixlindemann / triangular.R
Created Apr 16, 2016
triangular Distribution: Implementation for R
View triangular.R
dtriangular <- function(x,a,c,b){
if(a>=b){stop("a must be smaller than b")}
if(a>=c){stop("a must be smaller than c")}
if(c>=b){stop("c must be smaller than b")}
if(length(x) >1){
d <- NULL
for(i in 1:length(x)){
d<- c(d, dtriangular(x[i],a,c,b))
felixlindemann / clsTime.cs
Created Feb 25, 2016
c# get Time from PTB Server
View clsTime.cs
using System;
using System.Text;
using System.Net.Sockets;
public class clsTime
public static System.DateTime GetNISTTime()
felixlindemann / changeLanguage.vb
Created Mar 27, 2015
Change default language of Powerpoint 2010
View changeLanguage.vb
Sub ChangeProofingLanguageToEnglish()
Dim j, k As Integer
Dim languageID As MsoLanguageID
'Set this to your preferred language
languageID = msoLanguageIDEnglishUK
For j = 1 To ActivePresentation.Slides.Count
For k = 1 To ActivePresentation.Slides(j).Shapes.Count
ChangeAllSubShapes ActivePresentation.Slides(j).Shapes(k), _
View olMap.Demo.js
$('#btnAddDemo').click(function (evt) {
function addCustomLayer(){
View addButtons.js
function AddButtonToMapStyle(parent,index, value){
var isVisible = value.oTile.get('visible') == true;
var title = value.oTile.get('title') ;
$(parent).append('<li><a href="#" data-index="' + index + '">' + title + ' </a></li>');
$(parent + " li:last-child a").addClass('ol-inactive');
$(parent + " li:last-child a").removeClass('ol-inactive').addClass('ol-active');
felixlindemann / map.initialized.js
Last active Aug 29, 2015
Custom Event: Map.Initialized
View map.initialized.js
$("#" +'initialized', function(){
// add Custom Controls
function addControls(){
$('#btnZoomIn').click(function (evt) {
felixlindemann / LoadMap.js
Created Mar 22, 2015
Load Openlayers Map
View LoadMap.js
$( document ).ready(function() { = [7.1942,51.2762]; // adjust Default Values here = 12; = 'map';
// init Map
You can’t perform that action at this time.