Troubles uninstalling oh-my-zsh?

Have you tried just running the commands from uninstall script by hand? It’s really straight forward: https://github.com/robbyrussell/oh-my-zsh/blob/master/tools/uninstall.sh. For the most part it just removes OMZ and attempts to restore a back up file: rm -rf ~/.oh-my-zsh rm ~/.zshrc cp ~/.zshrc.pre-oh-my-zsh ~/.zshrc source ~/.zshrc

How do you use python-decouple to load a .env file outside the expected paths?

I figured it out. Instead of importing decouple.config and doing the usual config(‘FOOBAR’), create a new decouple.Config object using RepositoryEnv(‘/path/to/env-file’). from decouple import Config, RepositoryEnv DOTENV_FILE = ‘/opt/envs/my-project/.env’ env_config = Config(RepositoryEnv(DOTENV_FILE)) # use the Config().get() method as you normally would since # decouple.config uses that internally. # i.e. config(‘SECRET_KEY’) = env_config.get(‘SECRET_KEY’) SECRET_KEY = env_config.get(‘SECRET_KEY’) Hopefully … Read more

C# App.Config with array or list like data

The easiest way would be a comma separated list in your App.config file. Of course you can write your own configuration section, but what is the point of doing that if it is just an array of strings, keep it simple. <configuration> <appSettings> <add key=”ips” value=”z,x,d,e” /> </appSettings> </configuration> public string[] ipArray = ConfigurationManager.AppSettings[“ips”].Split(‘,’);

Tensorflow object detection config files documentation

As mentioned in the configuration documentation, configuration files are just Protocol Buffers objects described in the .proto files under research/object_detection/protos. The top level object is a TrainEvalPipelineConfig defined in pipeline.proto, and different files describe each of the elements. For example, data_augmentation_options are PreprocessingStep objects, defined in preprocessor.proto (which in turn can include a range of … Read more

webpack 5 angular polyfill for node.js crypto-js

I had the same issue, this is the working solution i found on git hub. https://github.com/ChainSafe/web3.js/issues/4070 run in your project directory: npm install crypto-browserify stream-browserify assert stream-http https-browserify os-browserify tsconfig.json Add this in:”compilerOptions”: { […] } “paths” : { “crypto”: [“./node_modules/crypto-browserify”], “stream”: [“./node_modules/stream-browserify”], “assert”: [“./node_modules/assert”], “http”: [“./node_modules/stream-http”], “https”: [“./node_modules/https-browserify”], “os”: [“./node_modules/os-browserify”], }

How to change memory per node for apache spark worker

When using 1.0.0+ and using spark-shell or spark-submit, use the –executor-memory option. E.g. spark-shell –executor-memory 8G … 0.9.0 and under: When you start a job or start the shell change the memory. We had to modify the spark-shell script so that it would carry command line arguments through as arguments for the underlying java application. … Read more

tech