Posts

Wordpress not showing image on firefox showing display none in image css style

Wordpress not showing image on firefox showing display none in image css style Wordpress not showing image or it is showing under image  style="display: none !important; . If you try to remove it and again it add the display:none in your image. Here is the solution. Firefox only loads some images or not showing any image, while other browsers load them all Here is the solution: If you are using Firefox with AdBlock Plus Extension in your browser? If yes, try to disable it and try again. I think that is the proble. If this works, Do not forget to comment on this post

How to create zip and unzip in linux or ubuntu?

Zip and unzip in linux or ubuntu You only have to run this command to make a zip of a folder zip -r application.zip application Application is the folder name of the current folder. This command will create zip of that folder Now Unzip command It is very simple just run command for unzip unzip application.zip It will unzip the folder in current folder

How to exclude a folder in sublime Search for a Directory?

Image
How to exclude a folder in sublime Search for a Directory? You can exclude .deploy or .meteor folder while searching in a directory or exclude any folder which you want from a directory To exclude follow these point   Add -(Dash) in the starting of your directory Add *(asterisk) after your folder which you want to exclude Press Ctrl+shift+F put the example string in Where text box where you have mention your searching directory Example: /home/sagar/Desktop/mywork, -/home/sagar/Desktop/ mywork /.deploy/*, -/home/sagar/Desktop/ mywork /.trash/* Above example show that sublime will search a keyword inside mywork directory but will exclude .deploy and .trash folder from directory

How to Upgrade Node.js to latest version?

Upgrading Node.js to latest version You can check your node version via this Command node -v current version of node is 0.12.1 till 30Mar 2012 If you want to upgrade the node version then run following command First run this Command sudo npm install n -g where n is version-management Then run this command for specific version sudo n 0.4.12 Or you want to upgrade node to current stable version then run this Command sudo n stable Please note this will not work for Windows

npm ERR! Error: EACCES, mkdir '/home/user/.npm/async/0.9.0'

When i am running npm it show this error that EACCES npm-container: updating npm dependencies -- request... npm ERR! Error: EACCES, mkdir '/home/sagar/.npm/async/0.9.0' npm ERR!  { [Error: EACCES, mkdir '/home/sagar/.npm/async/0.9.0'] npm ERR!   errno: 3, npm ERR!   code: 'EACCES', npm ERR!   path: '/home/sagar/.npm/async/0.9.0', npm ERR!   parent: 'form-data' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! System Linux 3.13.0-24-generic npm ERR! command "/home/sagar/.meteor/packages/meteor-tool/.1.0.40.1o762tv++os.linux.x86_32+web.browser+web.cordova/meteor-tool-os.linux.x86_32/dev_bundle/bin/node" "/home/sagar/.meteor/packages/meteor-tool/.1.0.40.1o762tv++os.linux.x86_32+web.browser+web.cordova/meteor-tool-os.linux.x86_32/dev_bundle/bin/npm" "install" "request@2.53.0" npm ERR! cwd /home/sagar/Desktop/mymeteor/packages/npm-container/.npm/package-new-acq805 npm ER

After installed Symfony2 it is showing 404 when I access app.php?

In Symfony2, when i run my application locally on app_dev.php, everything works fine. However, when I access app.php it shows the error Oops! An Error Occurred The server returned a "404 Not Found". Something is broken. Please e-mail us at [email] and let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for I figured out and found a simple solution. May this will work for you. just open your src\AppBundle\Controller\DefaultController.php Then you can see there in file for Home router /**    * @Route("/app/example", name="homepage") */ So the error is due to this route just change it like this /**      * @Route("/", name="homepage") */ Then go to the cache folder app\cache delete the prod folder then refresh the page

I Changed root password for phpMyAdmin, now I can't access MAMP

I Changed root password for phpMyAdmin, now I can't access MAMP This is main problem with MAMP user that when they new in MAMP they changed root password. When they go to phpMyAdmin then they can not access the MAMP Now there is a small and fast way to change the password from console of MAC Open you Console first Then run this command /Applications/MAMP/Library/bin/mysql -uroot -p It will ask for your changed password(current password) Enter password: Enter the password or if you set it as blank then just enter without typing any key. It will show something like this on your console which means you are connected now to MYSQL server via command line Welcome to the MySQL monitor.  Commands end with ; or \g. Your MySQL connection id is 10 Server version: 5.5.38 Source distribution mysql>   Now you need to use mysql table where is username and password are saved run this command use mysql; Now run update query to change