
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\data\EventStore> .\scripts\nuget-clientapi\package-clientapi.ps1 9.9.9 | |
Attempting to build package from 'EventStore.Client.nuspec'. | |
Successfully created package 'C:\data\EventStore\EventStore.Client.9.9.9.nupkg'. | |
Successfully created package 'C:\data\EventStore\EventStore.Client.9.9.9.symbols.nupkg'. | |
Attempting to build package from 'EventStore.Client.Embedded.nuspec'. | |
Successfully created package 'C:\data\EventStore\EventStore.Client.Embedded.9.9.9.nupkg'. | |
Successfully created package 'C:\data\EventStore\EventStore.Client.Embedded.9.9.9.symbols.nupkg'. | |
WARNING: 1 issue(s) found with package 'EventStore.Client.Embedded'. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MessageIdentity | |
{ | |
public Guid NameSpace; | |
private readonly byte[] _namespaceBytes; | |
public MessageIdentity(Guid guidNameSpace) | |
{ | |
NameSpace = guidNameSpace; | |
_namespaceBytes = guidNameSpace.ToByteArray(); | |
SwapByteOrder(_namespaceBytes); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class people::jen20::vagrant { | |
class { 'vagrant': | |
version => '1.6.3' | |
} | |
vagrant::plugin { 'vagrant-vmware-fusion': | |
license => "${my_homedir}/.dotfiles/vagrant/license.lic", | |
require => Repository['dotfiles']; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/scratchpad $ mono Program.exe | |
Environment: CLR 4.0.30319.17020 on Unix 13.2.0.0 (64 bit) | |
Int32Wrapper: 4 | |
TwoInt32s: 8 | |
TwoInt32Wrappers: 8 | |
RefAndTwoInt32s: 16 | |
RefAndTwoInt32Wrappers: 16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma warning disable 1591 | |
// ReSharper disable UnusedMember.Global | |
// ReSharper disable UnusedParameter.Local | |
// ReSharper disable MemberCanBePrivate.Global | |
// ReSharper disable UnusedAutoPropertyAccessor.Global | |
// ReSharper disable IntroduceOptionalParameters.Global | |
// ReSharper disable MemberCanBeProtected.Global | |
// ReSharper disable InconsistentNaming | |
// ReSharper disable once CheckNamespace |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Macvim < Formula | |
homepage 'http://code.google.com/p/macvim/' | |
url 'https://github.com/b4winckler/macvim/tarball/snapshot-66' | |
version '7.3-66' | |
sha1 'd11696f7089688fa96a45fc57410c60f6ca5a394' | |
head 'https://github.com/b4winckler/macvim.git', :branch => 'master' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace SkypeLogViewerLGG | |
{ | |
public static class DateTimeExtensions | |
{ | |
public static long ToUnixTimestamp(this DateTime target) | |
{ | |
var date = new DateTime(1970, 1, 1, 0, 0, 0, target.Kind); | |
var unixTimestamp = Convert.ToInt64((target - date).TotalSeconds); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file { | |
'Sauce Code Powerline Black.otf': | |
path => "${my_homedir}/Library/Fonts/Sauce Code Powerline Black.otf", | |
ensure => 'present', | |
source => "${my_homedir}/.dotfiles/fonts/SauceCodePro/Sauce Code Powerline Black.otf", | |
require => Repository['dotfiles']; | |
'Sauce Code Powerline Bold.otf': | |
path => "${my_homedir}/Library/Fonts/Sauce Code Powerline Bold.otf", | |
ensure => 'present', | |
source => "${my_homedir}/.dotfiles/fonts/SauceCodePro/Sauce Code Powerline Bold.otf", |