Is there a function to resize terminal? [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I searched around a lot but found just how to get terminal size, but not how to resize it.
Are there any solutions?
I tried with \e[8;50;100t but it doesn't work on windows.

You will have to use the Windows API to do that. Here a Stack-Overflow answer that gives you the correct API calls needed to do that: How do you programmatically resize and move windows with the Windows API?
From Go you can call the Windows API either using CGO or using syscall. Here an article that uses syscall which is easier to get started: https://medium.com/#justen.walker/breaking-all-the-rules-using-go-to-call-windows-api-2cbfd8c79724
Note that you should always protect a file using Windows specific commands with a build flag. This won't work for other OSs. If you need this to work for other OSs, too, you need to implement different versions for the OSs you want to support.

Related

Is there a built-in Windows command-line editor? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
When I connect to a 64-Bit Windows server via PowerShell e.g., is there some built-in command-line tool that allows text editing (assuming that I cannot/do not want to install software)?
For Linux, e.g., I can expect that there is vi installed on virtually every system. For old DOS/Windows version, there has been edit.exe which seems not to be there anymore.
(not enough reputation to comment, so will do it here)
As far as I know, there's not a built-in editor; however, a workaround would be to use:
type CON>myfile.txt
As explained here, this will forward the input in the console to your file. Not nice, not powerfull, but it may help sometimes.
Please note this WON'T work through Powershell, but you may use it with winrs -r:server cmd or with psexec.

Any Redis like DB that can be used on both Windows and Mac OS? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
We are a group developing a web application backend using Node.js, and we found RedisDB is really very helpful because of its sortedList, hash tables and so on.
But our problem is that Redis DB is not officially supported on Windows System. Our group members who are using the Windows system have trouble trying to install it. Could someone give a hand to show us how could we get round this problem? Or is there any other Redis like DB that can be used on both Windows and Mac OS?
Thanks in advance!
You can easily find the answer searching a bit (google, stackoverflow, ...)
Redis on Windows
On StackOverflow
On MSDN

Where can I find an executable created with "shoes" as an example of Ruby GUI windows desktop app [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Before learning Shoes I want to see some real example of a Ruby GUI windows desktop app using "Shoes". Please point me to some downloadable example for Ruby GUI windows desktop app using "Shoes" library.
The Shoesrb Site where you will find information about the project.
Samples are in the repository. As far as executables, it is simply Ruby. Depending on the operating system you are using depends on how you signify an 'executable'.

Where can I find documentation on Skype Desktop API? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
The Skype desktop API was being closed, but they've reversed that decision. I'm now not able to register as a developer (http://developer.skype.com/) as they're 'not accepting new registrations'.
I need to start looking into this as I want to develop a call recording component for Mac (and Windows, but most importantly Mac).
So is there a mirror for the documentation somewhere so that I know how this works? And is there any example code for this?
A comment in this question seems to imply that they provide both tracks of audio readily so I believe that once I can get this info, it should be quite a simple task!
Turns out the Wayback Machine has my answer:
http://web.archive.org/web/20130607130426/http://dev.skype.com/desktop-api-reference
Who would have thought it? ;)

IM clients (or plugins) with code formatter / highlighter [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Can anybody recommend an IM client (Linux / Mac preferred) that either support natively, or via a plugin the ability to format & highlight blocks of code that are pasted in chat windows? I'm constantly pasting and receiving blocks of code in my client (Adium at the moment) where I copy them out into an editor to perform the formatting to make it readable.
I know I can't be the only one that shuttles snippets of code around to others like this, so I figure someone must have done this already, but my searches are coming up with nothing. Please someone help me before I throw my hands up and just start another time-sink project myself :)
You could also take a look at http://collabedit.com/

Resources