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
Boxstarter: Installing package https://gist.githubusercontent.com/phillip-haydon | |
/b7dec246f0ad953ad65c/raw/f6e23a9039b500e5d4d8df6ec5460ee31ea12edb/boxstarter-sc | |
ript | |
Boxstarter Version 2.4.123 | |
(c) 2014 Matt Wrock. http://boxstarter.org | |
Boxstarter: Disabling Automatic Updates from Windows Update | |
Calling 'C:\ProgramData\chocolatey\chocolateyinstall\nuget.exe pack temp_Boxstar | |
terPackage\temp_BoxstarterPackage.nuspec -NoPackageAnalysis -NonInteractive'. | |
Attempting to build package from 'temp_BoxstarterPackage.nuspec'. |
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
namespace SimpleAuthenticationProcessCallSample | |
{ | |
using System; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Hello World"); | |
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 (var exifStream = new MemoryStream()) | |
using (var imageFactory = new ImageFactory()) | |
{ | |
file.Value.Position = 0; | |
file.Value.CopyTo(exifStream); | |
exifStream.Position = 0; | |
var exifData = imageFactory.Load(exifStream) | |
.GetExifTags(); |
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 ExifInfo | |
{ | |
public static IList<Exif> ExifTagsToCapture; | |
static ExifInfo() | |
{ | |
ExifTagsToCapture = new List<Exif> | |
{ | |
new Exif | |
{ |
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:\Windows\system32> cinst rdcman -debug | |
DEBUG: Running 'Append-InstallLog' with chocoInstallLog:'' | |
DEBUG: Arguments: $command = | |
'install'|$packageNames='rdcman'|$source=''|$version=''|$allVersions=False|$InstallArguments=''|$overrideArguments=Fals | |
e|$force=False|$prerelease=False|$localonly=False|$verbosity=False|$debug=True|$quiet=False|$name=''|$ignoreDependencie | |
s=False|$forceX86=False|$packageParameters=''|PowerShellVersion=4.0 | |
DEBUG: Running 'Chocolatey-Install' for 'rdcman' with source: '', version: '', installerArguments:'' | |
DEBUG: Running 'Chocolatey-NuGet' for rdcman with source:''. Force? False | |
Chocolatey (v0.9.8.24) is installing 'rdcman' and dependencies. By installing you accept the license for 'rdcman' and ea | |
ch dependency you are installing. |
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
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableSearchEverywhereInAppsView -EnableListDesktopAppsFirst | |
Install-WindowsUpdate -acceptEula | |
cinst notepad2 | |
cinst SublimeText3 | |
cinst sublimetext3-contextmenu | |
cinst git-credential-winstore | |
cinst ConEmu | |
cinst poshgit |
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
var gulp = require('gulp'); | |
var concat = require('gulp-concat'); | |
gulp.task('scripts', function() { | |
gulp.src('./directives/*.js') | |
.pipe(concat("directives.js")) | |
.pipe(gulp.dest('./scripts/')) | |
}); | |
gulp.run('scripts'); |
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
store.DatabaseCommands.Patch("videos/", new[] | |
{ | |
new PatchRequest | |
{ | |
Type = PatchCommandType.Modify, | |
Name = "@metadata", | |
Nested = new[] | |
{ | |
new PatchRequest | |
{ |
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
//Wont work | |
var thing = @"Value=One | |
Value=Two"; | |
//Will work | |
var thing = "Value=One\nValue=Two" |
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
Nancy.RequestExecutionException: Oh noes! ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.NotSupportedException: Specified method is not supported. | |
at Raven.Client.Document.DocumentSession.Raven.Client.Linq.IDocumentQueryGenerator.AsyncQuery[T](String indexName, Boolean isMapReduce) in c:\Builds\RavenDB-Unstable-v2.5\Raven.Client.Lightweight\Document\DocumentSession.cs:line 758 | |
at Raven.Client.Linq.RavenQueryProviderProcessor`1.GetAsyncLuceneQueryFor(Expression expression) in c:\Builds\RavenDB-Unstable-v2.5\Raven.Client.Lightweight\Linq\RavenQueryProviderProcessor.cs:line 1452 | |
at Raven.Client.Linq.RavenQueryProvider`1.ToAsyncLuceneQuery[TResult](Expression expression) in c:\Builds\RavenDB-Unstable-v2.5\Raven.Client.Lightweight\Linq\RavenQueryProvider.cs:line 251 | |
at Raven.Client.LinqExtensions.ToListAsync[T](IQueryable`1 source) in c:\Builds\RavenDB-Unstable-v2.5\Raven.Client.Lightweight\PublicExtensions\LinqExten |