Skip to content

Instantly share code, notes, and snippets.

View JanDeDobbeleer's full-sized avatar

Jan De Dobbeleer JanDeDobbeleer

View GitHub Profile
@JanDeDobbeleer
JanDeDobbeleer / psakefile.ps1
Last active April 7, 2016 10:33
psake psakefile - Part II
#requires -Version 3
. '.\psakefile-tools.ps1'
Properties {
$solutionFileName = $null
$build_platform = $null
$configuration = $null
}
Task VerifyBuildProperties {
@JanDeDobbeleer
JanDeDobbeleer / flavors.ps1
Last active April 6, 2016 18:51
psake nested builds template
Task Default -Depends ProductionCI
Task ProductionCI {
Invoke-psake build.ps1 CI -properties @{
# add the properties you need
}
}
Task ProductionCD {
Invoke-psake build.ps1 CD -properties @{
@JanDeDobbeleer
JanDeDobbeleer / psakefile.ps1
Last active April 7, 2016 10:33
psake makefile templates
#requires -Version 1
Properties {
# This is the spot where you can add information needed to be able to build
}
Task VerifyBuildProperties {
# used to test necessary properties before handling a task
# example:
# Assert ($build_platform -ne $null) "Build platform should not be null"
}
@JanDeDobbeleer
JanDeDobbeleer / README.md
Last active April 1, 2016 19:24
Dashing - Bamboo Agent Widget

Description

Display a Bamboo Agent status. It can show if it is Offline, Idle or Busy building.

Installation

To use this widget, copy bamboo_agent.html, bamboo_agent.coffee, and bamboo_agent.scss into the /widgets/bamboo_agent directory. Put the bamboo_agent.rb file in your /jobs folder.

You'll also need a nice little icon for the widget. Use whatever you want, name it bamboo-status.png and put it in your /assets/images folder.

@JanDeDobbeleer
JanDeDobbeleer / ConEmu.xml
Last active March 10, 2020 19:30
ConEmu configuration file
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2016-04-29 09:13:16" build="160416">
<value name="StartType" type="hex" data="02"/>
<value name="CmdLine" type="string" data=""/>
<value name="StartTasksFile" type="string" data=""/>
<value name="StartTasksName" type="string" data="{Shells::PowerShell}"/>
<value name="StartFarFolders" type="hex" data="00"/>
<value name="StartFarEditors" type="hex" data="00"/>
@JanDeDobbeleer
JanDeDobbeleer / crashlytrics.rb
Last active July 15, 2018 20:54
Dashing - Crashlytics & Xaramin Insights crash free users rate widget + jobs
require 'net/https'
require 'json'
#--------------------------------------------------------------------------------
# Configuration
#--------------------------------------------------------------------------------
configuration = {
:uri => 'https://fabric.io',
:credentials => {
:username => '',
@JanDeDobbeleer
JanDeDobbeleer / GithubRelease.ps1
Last active February 6, 2016 19:12
Powershell Github release
function GitHub-Release($versionNumber, $commitId, $preRelease, $releaseNotes, $artifactOutputDirectory, $artifact, $gitHubUsername, $gitHubRepository, $gitHubApiKey)
{
$draft = $TRUE
$releaseData = @{
tag_name = [string]::Format("v{0}", $versionNumber);
target_commitish = $commitId;
name = [string]::Format("v{0}", $versionNumber);
body = $releaseNotes;
draft = $draft;
@JanDeDobbeleer
JanDeDobbeleer / IndexedPath.cs
Last active August 29, 2015 14:09
TwitterMimic extension
using System.Threading;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Shapes;
namespace Gist.Controls
{
public class IndexedPath:Path
{
public static readonly DependencyProperty SelectedColorBrushProperty = DependencyProperty.Register(
@JanDeDobbeleer
JanDeDobbeleer / App.xaml.cs
Created November 10, 2014 12:36
Override default colors in a Windows Phone RT app.
#region custom methods
private void SetupCustomColors()
{
SetColor("ProgressBarIndeterminateForegroundThemeBrush", ((SolidColorBrush)Current.Resources["VikingRed"]).Color);
//SetColor("PivotHeaderForegroundUnselectedBrush", ((SolidColorBrush)Current.Resources["VikingGrey"]).Color);
SetColor("PivotHeaderForegroundSelectedBrush", Colors.White);
}
private void SetColor(string resource, Color color)
{
[user]
signingkey = F6993303
name = Jan
email = jan.de.dobbeleer@gmail.com
[commit]
gpgsign = true
[filter "lfs"]
smudge = git-lfs smudge %f
required = true
clean = git-lfs clean %f