wget/curl large file from google drive

WARNING: This functionality is deprecated. See warning below in comments. Have a look at this question: Direct download from Google Drive using Google Drive API Basically you have to create a public directory and access your files by relative reference with something like Alternatively, you can use this script: https://github.com/circulosmeos/gdown.pl

Cannot send a content-body with this verb-type

Don’t get the request stream, quite simply. GET requests don’t usually have bodies (even though it’s not technically prohibited by HTTP) and WebRequest doesn’t support it – but that’s what calling GetRequestStream is for, providing body data for the request. Given that you’re trying to read from the stream, it looks to me like you actually want to get the response and read the response stream … Read more

Create Hyperlink in Slack

Is there a way to create a hyperlink without it auto resolving? I simply want some text I type to be clickable to some url when I post in slack. I don’t see a way to do this yet.

Make error: missing separator

As indicated in the online manual, the most common cause for that error is that lines are indented with spaces when make expects tab characters. Correct where \t is TAB (U+0009) Wrong where each . represents a SPACE (U+0020).

Why should I use core.autocrlf=true in Git?

The only specific reasons to set autocrlf to true are: avoid git status showing all your files as modified because of the automatic EOL conversion done when cloning a Unix-based EOL Git repo to a Windows one (see issue 83 for instance) and your coding tools somehow depends on a native EOL style being present in your file: for instance, a code generator hard-coded to detect native EOL … Read more

Process exists with ExitCode 255

Exit code 255 sounds like a .NET exception within the tool (target application) you’re running. You’ll not be able to catch this exception in your code. I would register a debugger for the target application to see what exception it throws: Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options Create a key with the name of the executable you’re … Read more

Pandas DataFrame: replace all values in a column, based on condition

You need to select that column: So the syntax here is: You can check the docs and also the 10 minutes to pandas which shows the semantics EDIT If you want to generate a boolean indicator then you can just use the boolean condition to generate a boolean Series and cast the dtype to int this will convert True and False to 1 and 0 respectively: