How to debug python CLI that takes stdin?

Another option is to create you own Pdb object, and set there the stdin and stdout. My proof of concept involves 2 terminals, but for sure some work can be merged some kind of very unsecure network server. Create two fifos: mkfifo fifo_stdin mkfifo fifo_stdout In one terminal, open stdout on background, and write to … Read more

Error Message “Xcode alone is not sufficient on Sierra”

Let me explain this myself so people won’t make the same mistakes. When I saw the last line of the error message Error: Xcode alone is not sufficient on Sierra. Install the Command Line Tools: xcode-select –install My thought was: I already have Xcode why the system ask me to “reinstall” it. However, thanks for … Read more

“pod init” creates error that says “You need at least git version 1.8.5 to use CocoaPods”

It needs to set your command line tool version, in your Xcode (Preferences). You can download latest command line tool from Apple Download Portal, if you have paid apple developer account/id. Here are current stable and beta Xcode Tools and supporting command line tool download links. (Ensure you’re logged in using premium developer account on … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)