Code Monkey home page Code Monkey logo

Comments (6)

smurawski avatar smurawski commented on August 12, 2024

Yeah.. the mof files need to be ascii.

I'll see what I can do tonight or add a script to allow you to fix that
locally
On Nov 18, 2013 9:17 AM, "jasonmueller" [email protected] wrote:

I've cloned your repo and even forked to my own and when I pull the files,
I am unable to edit them or run them because they are filled with
gibberish. They appear to be UTF-16 encoded, which I believe has been a
problem for Git (doing diffs, etc.). Am I missing a setting or something to
be able to use these?

Thanks!


Reply to this email directly or view it on GitHubhttps://github.com//issues/9
.

from dsc.

jasonmueller avatar jasonmueller commented on August 12, 2024

Whatever works. I want to make sure I'm doing it right without creating work for you. How are you guys editing them? I can't even load the New-MofFile.ps1 because PowerShell chokes.

C:\code\github\DSC.PowerShellOrg\Tools [master]> . .\New-MofFile.ps1
At C:\code\github\DSC.PowerShellOrg\Tools\New-MofFile.ps1:1 char:21
+ function New-MofFile
+                     ~
Missing function body in function declaration.
At C:\code\github\DSC.PowerShellOrg\Tools\New-MofFile.ps1:3 char:5
+     <#
+     ~~
The terminator '#>' is missing from the multiline comment.
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : MissingFunctionBody

C:\code\github\DSC.PowerShellOrg\Tools [master]>

I'll look for an update later tonight. Thanks for your help.

from dsc.

smurawski avatar smurawski commented on August 12, 2024

Hey Jason,
The hotel internet was a bit overloaded last night, so I'm digging into the issue this morning. I'll update this issue after I replicate the problem and can push an update.

from dsc.

jasonmueller avatar jasonmueller commented on August 12, 2024

Yeah. They always are. Thanks for looking into it.

from dsc.

smurawski avatar smurawski commented on August 12, 2024

Sorry for the LONG delay. There is a new version of New-MofFile, which should resolve any outstanding issues.

from dsc.

jasonmueller avatar jasonmueller commented on August 12, 2024

Awesome. I'll pull the new stuff. Thank you very much!

Sent from my Windows Phone


From: Steven Murawskimailto:[email protected]
Sent: ‎1/‎3/‎2014 11:47 PM
To: PowerShellOrg/DSCmailto:[email protected]
Cc: jasonmuellermailto:[email protected]
Subject: Re: [DSC] UTF-16 Encoding causes garbage files on Windows (#9)

Sorry for the LONG delay. There is a new version of New-MofFile, which should resolve any outstanding issues.


Reply to this email directly or view it on GitHub:
#9 (comment)

from dsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.