Can homebrew formula accept options that has values?
i.e.: brew install somepkg --daemon-user=_www
We can then use _www, to modify a plist,
or even use inreplace to replace
default user in some .conf
I know that there is already a question asking that exact problem,
but no-one seems to know :(
Related
introduction:
In this thread (https://github.com/NixOS/nixpkgs/issues/47201), in order to fix my problem, it is said to add this 2 lines.
services.xserver.enable = true
virtualisation.docker.enable = true;
to
/etc/nixos/configuration.nix
Now my question:
I used to work with the sudoers file. And in this link it said to NEVER edit it with a text editor. Because an improper syntax can leave you with a broken system.
Can an improper syntax have big repercussions on nix?
Is there a way to avoid it like visudo.
Editing your nixos configuration is much less risky than editing your sudoers file. So you don't have to hesitate to edit it with a normal text editor or worry about having syntax errors. After using Nixos for a few years now the only thing that went 'wrong' for me is messing up a config and my build process attempted to build packages that would have taken very long (but it was easy to cancel this).
If there are any syntax errors it'll just return an error. And in the worst case where you mess things up you should be able to just rollback to previous config with nixos-rebuild switch --rollback. Or boot back into the previous working generation.
Was trying to install Homebrew on new mac, clicked on the wrong link here https://github.com/Homebrew/install, the one which sets the 2 exports HOMEBREW_BREW_GIT_REMOTE and HOMEBREW_CORE_GIT_REMOTE, so I accidentaly set both of these to '...'. Is there a way to unset them, or is homebrew forever broken for me?
PS: StackOverflow didn't like the title for some unexplained reason, so I added the 'quality standards' in caps, thats somehow fine...
Solved it by formating the mac to factory settings & getting macincloud account. Don't buy crApple products unless you hate yourself
unset HOMEBREW_BREW_GIT_REMOTE unset HOMEBREW_CORE_GIT_REMOTE resets those
environment variables
Does anyone know of a good place to find changelogs for Fedora packages? I'm looking to parse some data from these changelogs and have had difficulty finding anything reliable.
My current thinking is to parse the RPM spec files for the data I'm interested in (date, version #, etc.), but I have been unable to find any good pre-existing libraries to do this.
Additionally, fedora's website outlines standards for these changelogs:
* date developer_name version_num
- entries
However, in my findings many spec files are inconsistent within this format and miss fields (typically the version number).
Anybody have any good ideas on this subject?
If just looking for version, date, etc., you might try parsing yum info <packagename> or rpm -qip <packagename>.
If you specifically need something from the change log, then try yum-changelog plugin or rpm -q --changelog <packagename>. (Not sure, but when using yum-changelog it might add that info to the sqlite database used by yum. Then you could just query that info.)
I don't know of any kind of web service that you could gather this info from.
In this question at HHVM poor performance it mentions changing the JitWarmupRequests value for HHVM. But is there a command or way to see all default set values for all HHVM options ?
Similar to how mysql server can see all set values via mysqladmin variables command ?
No there is no way to do this in HHVM. I'm working on it, but nothing yet.
I don't know how to explain it very well, so that's why an image value is more than one thousand words, I hope my screenshot help.
Thank you.
EDIT:
As you can see in the first id init, I'm pointing to a rectangle that has some information about id init constructor/method/selector, but this information comes from apple NSObject init I guess, and I want my constructor/method/selector prompts extra information while selecting in the method fill helper, as you can see in the second id initWithGPSPointNum ... there is no information, because I don't know how to put there the information I want.
The help hints come from the installed docsets.
You can generate and install docsets for your own custom classes and install them in Xcode to get this extra information as well as auto-completion.
One way that is convenient is appledoc
This uses a convenient and familiar syntax, and produces web formatted output as well as docsets and can even be configured to generate and install the docsets automatically.