Any way to install Stata packages offline? [closed] - stata

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I'm using Stata on a remote desktop that doesn't have access to the Internet, and need to install a package. I want to download it to my hard-drive and manually install it while on the remote desktop, but I don't know where to download packages online. Any help is appreciated.

If you search google for ssc package_name usually a link for ideas.repec.org will come up and you can download all of the files manually from there.
(Estout example: https://ideas.repec.org/c/boc/bocode/s439301.html).
You will have to put these files in a directory that Stata looks for ado files in, you can find these directories using the command sysdir. I would recommend saving them to the personal folder.

Assuming that the question means that you wish to transfer commands available on the SSC from a machine with the internet to a machine without the internet, you could:
1: Copy the file from SSC using the ssc copy command on the PC connected to the internet. See the last example here:
ssc copy whitetst.ado
2: Load the resulting .ado file into your remote desktop (see here for info on where Stata will look for .ado files).

Related

Can't uninstall programm [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 11 months ago.
Improve this question
First: In case this is the wrong forum please let me know and I'll try to ask somewhere else for advice :-) .
Now to my question: I installed an App / Program and I'm unable to uninstall it. It is a very annoying program which always asks me to update it but I don't use it and just want to get rid of it. When I go to the Control Panel it only offers me the option to change the program but not to uninstall it. When I click change it opens an installation Window which gives me the option to repair, modify or remove files from my PC but when I click any option it just tells me that there are no files on my PC.
Moreover, I've also tried to enter this line in Command prompt and it says that the program was uninstalled successfully but it still continues to be on my pc.
wmic:root\cli>product where name="Autochartist MetaTrader Expert Advisor" call uninstall
Please, can somebody tell me what to do in order to get rid of the program and everything related to it? Thank you! (The program is called Autochartist MetaTrader Expert Advisor)
Well, my best bet is that you install Microsoft Uninstalling (or something of the sort) here. You'll just have to grab the Autochartist MetaTrader Expert Advisor in the list it will give (if it is present. If it isn't, then it will not work) and it should uninstall.

What is registry equivalent for Linux? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
Recently I have been involved in code porting from Windows to a Linux. I came across so many windows functions which retrieve registry keys and edit it. I am not sure what can be the equivalent approach for Linux. I know registry is just a windows database which stores data in "Key=value" format. I am thinking about INI file. Other than this is there anything that is more efficient?
I am not asking from a storage perspective. My question is related to registry equivalent in Linux. How can we achieve registry structure in Linux?
A typical way to store configuration in Linux per user is to store it in /home/username/.someapp, where someapp is the name of your program. I love this in Linux actually because when I move to another computer, all I have to do is save/move my home directory, and that will save all my configuration.
On Windows, the registry has a user part HKEY_CURRENT_USER, and others that represent any user, such as HKEY_LOCAL_MACHINE, being global for the whole system. For the user part, you should put the configuration in the user directory like I explained before, because it shouldn't require any super-user privileges. The local machine part you can choose either to also put in the user directory, where then every user will have separate configuration, or put it in something like /var/lib/someapp, but keep in mind that it'll be read-only then.
With all this, keep in mind that you should create your own configuration format, or use some library, such as libconfig, XML or JSON.
Linux has XDG Base Directory specification. If you want to use config file(s) for your app (doesn't matter which format you prefer - INI, JSON, YAML, SQLite database, etc), please store it in directory $XDG_CONFIG_HOME/your_app_name
Usually many software take the config files in the /etc, but it's a static configuration as I think. If you have something changed configuration from the software (by user or after something external) it's good idea to put it into /var/lib/(your_project_short_name)/(your_project_config_files) I suppose, as it do Mysql, Postgresql for the database files and the Postgresql's config files etc.

Record computer sounds with PulseAudio and C/C++ [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 6 years ago.
Improve this question
Is there a way to record all the sound that is played on a Linux Machine using PulseAudio? E.g. like Stereomix in Windows.
I dont want a complete Program, I just need some entry point to start my researches. Somehow I do not find very much regarding this topic.
So if anyone has informations on this topic (of course this can be tips, hints or maybe open source programs that do this), please let me know!
I researched this exact problem yesterday, so I have some steps you can try. I was using Ubuntu 15.04.
Install pavucontrol, and run it.
Go to the "Recording" tab.
Run a command like this in a shell, arecord -f cd | hexdump -Cv | grep '0000 ', and you should see a new entry appear in the pavucontrol recording tab. You might see non-zero data if your microphone is enabled.
Run YouTube or something in the background to generate sound.
Click the drop-down item next to "ALSA Capture from" and switch 'Built-in Audio Analog Stereo' to 'Monitor of Built-in Audio Analog Stereo'. You should see non-zero data in the arecord session.
From there, its a matter of writing code to record audio using the ALSA api. You can use arecord as a reference.
The system (mine anyway) somehow remembers the "from" setting between invocations of arecord, even though the item in the Recording tab comes and goes.

Github & Trello lists [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I'm working on a project that's just about done.
Now I just need a list that shows all the things I've worked on. Luckily I've been using Github and Trello to keep track of all my work.
Does anyone know how to get a simple list of commits/activities from any of these 2 services?
I just need a simple list like this:
Date:
Title:
Description:
I'm working on a Mac but I'm using the Github client.
Github: In the terminal, you can navigate to the folder that you are working in and type git log. It will give you a list of commits. If you would like to save it in a text file you could typegit log > commits.txt.
Trello: In Trello you can go to the board you are working on and select print form the menu. This will give you a list of activities.

Can anybody recommend an app in google drive for editing c++ files? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I store my school programming work on google drive. From home I just access the google drive file on my computer, but I can't do that from school.
Can anybody recommend an app for editing cpp files in google drive? Preferably free, poor college student and all that.
I found drivecode, but it doesn't seem to work with cpp files and on header files it's not doing any markup.
Neutron Drive seems like exactly what I need, but it's not free.
Alternatively, any suggestions on another cloud-based development platform that I could use would work too.
screw Google driver, for single files use
https://gist.github.com/
http://collabedit.com/
for large project as said above, start learning mercurial. later you will need it professionally.
In light of the comments under the question, I think the best option is actually to use a service like gitHub, mercurial, bazaar, or svn, because of the availability of version control in those platforms.
You might also want to try out Google Code, it's not quite as advanced as GIT and hopefully it's not blocked either. Also, you already have a Google account, so you won't have to make a new account for anything.
Google Code allows full editing capabilities online, but you can also create a repository using it and download your code when you're ready to compile. You may need to learn a little bit about it before you can start, but once you upload your code you can edit it all right there, and it also formats automatically, making it better than Drive.
If Google Code is in fact blocked, I would also suggest trying GIT or some other service, but they're a little more advanced. Google Code has served me well for simple projects in the past.
Go to http://code.google.com