Skip to content

Instantly share code, notes, and snippets.

View julianhaslinger's full-sized avatar
:octocat:
Hi. Bye.

Julian - Paul Haslinger julianhaslinger

:octocat:
Hi. Bye.
View GitHub Profile
@julianhaslinger
julianhaslinger / migrate-bitbucket-to-github.sh
Created February 9, 2025 10:36 — forked from adamlacombe/migrate-bitbucket-to-github.sh
This Bash script automates the migration of repositories from a Bitbucket organization to a GitHub organization, ensuring all branches and tags are transferred. It clones repositories with full mirroring, creates private repositories on GitHub, and pushes the content.
#!/bin/bash
# Bitbucket settings
BITBUCKET_USER=""
BITBUCKET_ORG=""
BITBUCKET_APP_PASSWORD=""
# GitHub settings
GITHUB_USER=""
GITHUB_ORG=""
/* Merge sort in C */
#include<stdio.h>
#include<stdlib.h>
// Function to Merge Arrays L and R into A.
// lefCount = number of elements in L
// rightCount = number of elements in R.
void Merge(int *A,int *L,int leftCount,int *R,int rightCount) {
int i,j,k;
@julianhaslinger
julianhaslinger / introrx.md
Created December 14, 2016 10:03 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@julianhaslinger
julianhaslinger / MBUnit to NUnit.md
Created July 13, 2016 09:47 — forked from ssg/MBUnit to NUnit.md
MBUnit <-> NUnit migration cheat sheet.

This is a cheat sheet I prepared when testing migrations between MBUnit and NUnit. It only covers the areas we used so it's far from complete. It should give a good head start though.

MBUnit NUnit
[FixtureSetUp] [OneTimeSetUp]
[Row] [TestCase]
[Factory] [TestCaseSource] for test cases, [ValueSource] for individual parameters
[Column] [Values]
[SequentialJoin] [Sequential]
[CombinatorialJoin] [Combinatorial]