Comment by Michael Paulukonis on can push/pull from terminal not from VS...
I also unchecked, exited terminal, didn't work, rechecked, exited terminal - and then it worked. TURN IT OFF AND THEN ON AGAIN!!! :scream:
View ArticleAnswer by Michael Paulukonis for Why functional languages?
Most applications are simple enough to be solved in normal OO waysOO ways have not always been "normal." This decade's standard was last decade's marginalized concept.Functional programming is math....
View ArticleAnswer by Michael Paulukonis for Clear all content in XmlTextWriter and...
You'd think there would be an intuitive way to do this, but....A solution I found suggests the following:// make a StringWriter, and fill it with junkStringWriter sw = new...
View ArticleAnswer by Michael Paulukonis for Problem in loading Magick.dll for module...
I had the exact same problem... nearly pulled my hair out over it.Can't load 'C:/Perl/site/lib/auto/Image/Magick/Magick.dll' for module Image::MagickThen I remembered a note we had in our wiki, and...
View ArticleAnswer by Michael Paulukonis for OpenXML - Writing a date into Excel...
Try indicating it is a CellValues.String type, instead of a CellValues.Date type.UseDataType = new EnumValue<CellValues>(CellValues.String) // goodinstead ofDataType = new...
View ArticleWhat's the difference between (string[] args) and...
I'm inheriting maintenance on several console application that are entered, naturally, with static void Main(string[] args). However, the code ignores the args array, and instead reads the command-line...
View ArticleHow can I add the VS Command Prompt to Visual Studio 2010 C# Express?
When I install "real" editions, the command prompt exists as a tool, but not in the express edition?How can I open the special command prompt, and have easier access to the various command-line tools...
View ArticleAnswer by Michael Paulukonis for Moving javascript file to external reference...
Move the code that is currently inside of your script tag to a separate file, say side.js: $(document).ready(function() { $('#mainTable').DataTable( {"ajax": "jsonData","columns": [ { "data": "level"...
View ArticleAnswer by Michael Paulukonis for Saving the auth token and using it
If what you are posting is JSON, then it looks like the access-token is accessible via body.X-GSAccessToken
View ArticleWhy would the Excel Interop remove an image after processing a file?
Excel Interop is removing images from processed files.I’m using the Excel Interop, no third-party components are present (that I'm aware of).The workflow is -- create a copy (target) of a file...
View ArticleAnswer by Michael Paulukonis for Where is Developer Command Prompt for VS2013?
I used a modified version of this answer - based on my experiences adding it to VS 2010:Select Tools>>External Tools in Visual StudioClick AddTitle: I use Visual Studio Command &Prompt&P...
View ArticleAnswer by Michael Paulukonis for Node.js won't install on Windows 7 x64
I the exact same error in Windows 10.After launched my shell, making sure I was running as administrator, it worked.
View ArticleLINQ throws exception in deployed code, not in IDE
My LINQ statement (query? variable? expression?) is throwing an exception when it's enumerated (.ToList() or foreach) [see below].In most environments.This error does not occur when I run from...
View ArticleJavascript bookmarklet stopped working in Firefox 41
In Firefox 41, bookmarklets (bookmarks with a javascript: URL, e.g. javascript: alert("it works"), run from a click or a keyword) stopped working. Is there any solution to use javascript: bookmarks in...
View ArticleAnswer by Michael Paulukonis for Javascript bookmarklet stopped working in...
According to ghacks, Mozilla wanted the feature removed from about:config and only re-settable via extension:The browser.newtab.url preference has no exposed UI, is not really supported, and is abused...
View ArticleAnswer by Michael Paulukonis for Javascript bookmark stopped working in...
NOTE: this solution no longer appears to work as of FF41. See JS Bookmarklets stopped working in Firefox 41.If you first load almost any URL, including about:blank, then a Javascript bookmark will work...
View ArticleAnswer by Michael Paulukonis for vba: Dictionary passed to function acting as...
You would have to build a copy method, make a complete copy of the dictionary, and then make modifications on the copy.Assigning to a new variable just assigns the original reference to the new...
View ArticleJavascript 'First or Default' function for 'associative arrays'/objects
Is there a better way to do this?I'm storing values in what some would erroneously call an associated array:The tokens object stores.... tokens and a count of documents using that token on a per-db...
View ArticleIs there a Perl equivalent for Emacs' ido-completion?
I've built a number of work-specific helper functions that could be useful for other members of my team&mdash. But I've written them all in Emacs' Elisp, and getting them to convert from Notepad++...
View ArticleIs there a benefit to using @Url.Content("~")
I'm new to MVC4/razor2, and I think understand the general benefit of using @Url.Content and @Url.Action- if my routing or virtual directory changes, magic-url-strings are correctly rendered.I'm...
View Article