How to always use ignore-platform-reqs flag when running composer?

It’s recommended to fake php version, rather than ignore platform requirements. Add “platform”:{“php”:”5.5″} to your ~/.composer/config.json or use composer config -g -e to edit it. An example of sufficient config to fake php version: { “config”: { “platform”:{ “php”:”5.5″ } } } It may have much more options though. UPDATE: starting from v2.3.0 you can … Read more

Configuring Vim for C++

Code complete: Omni completion or Clang autocomplete or YouCompleteMe Real time syntax checking: Syntastic Switching between source and header file: A plugin Snippets: Snipmate or UltiSnip Search for reference of variables, functions, classes, etc.: Cscope Go to definition: Ctags or part of YouCompleteMe subcommands mentioned above Refactoring tools: Refactor, lh-refactor Useful text objects: Arg text … Read more

Dart SDK is not configured

I had the same problem after importing a flutter project from git. These are the steps to solve the problem. File->Settings->Language & Framework->Flutter Choose flutter SDK path: the first time we install flutter, we choose the location where the flutter should be installed. Choose this location. Click OK and the android studio will refresh. Carry … Read more

Configuration required to get Sencha ExtJS TreeGrid example working

if you inspect treegrid.js you’ll see that it requires treegrid.json (JSON-formatted data file). when you visit http://24.177.214.232:8888/examples/tree/treegrid.json (which is the path where treegrid.js expects treegrid.json) you’ll see, that there is no such file. fix the path or create a data file : ) EDIT you can find proper JSON here: http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/tree/treegrid.json

App.config connection string relative path

You can specify a relative path as described in Lefty’s answer. However this will be relative to the current working directory, which will not necessarily be the directory containing your executable. One way round this is to modify the connection string before using it, e.g. In app.config: connectionString=”data source={AppDir}\data\EmailDatabase.sqlite In your code: ConnectionStringSettings c = … Read more

How do I configure Apache2 to allow multiple simultaneous connections from same IP address?

I discovered the answer to my problem. It turns out others have encountered this difficulty before: Simultaneous Requests to PHP Script The key detail is that file-based sessions in PHP cause all requests from the same client to be processed sequentially in a queue, rather than in parallel. In order to solve this problem, it … Read more