Uncategorized
Downgrade npm to an older version
Just replace @latest with the version number you want to downgrade to. I wanted to downgrade to version 3.10.10, so I used this command: If you’re not sure which version you should use, look at the version history. For example, you can see that 3.10.10 is the latest version of npm 3
Set size of WordPress thumbnail post
I create function to get post thumbnail by category ID. this is the code: I want set the size of the thumb to 800px by 500px with wordpress functions.Thanks
How to not-analyze in ElasticSearch?
Check you here, https://www.elastic.co/guide/en/elasticsearch/reference/1.4/mapping-core-types.html, for further info.
Source Tree doesn’t launch after installation
This solved the issue for me. Cause The most likely reason for this error is that the user.config file for SourceTree has been corrupted. You can confirm this by locating the file in this location: C:\Users\<User>\AppData\Local\Atlassian\SourceTree.exe_<random_string>\<version_number> If this is the cause, when you open the file, it will be full of <NULL> values. Resolution If the user.config file is … Read more
textarea’s rows, and cols attribute in CSS
width and height are used when going the css route.
What is a blob URL and why it is used?
Blob URLs (ref W3C, official name) or Object-URLs (ref. MDN and method name) are used with a Blob or a File object. src=”blob:https://crap.crap” I opened the blob url that was in src of video it gave a error and i can’t open but was working with the src tag how it is possible? Blob URLs can only be generated internally by the … Read more
Uploaded successfully to Heroku Local but getting 503 error once pushed to Heroku live
Once you have created a new heroku app with heroku create then ensure you have added a database and configured your Mean app with the settings defined on mean.io To add a MongoDB database to your Heroku app with: heroku addons:create mongolab:sandbox Add the Mongodb string to the production env in server/config/env/production.js. You can find this string using … Read more
PHP – Indirect modification of overloaded property
Nice you gave me something to play around with Run Output Class Used Edit : New Array Support as requested Output Modified Class