get all the urls in html file (local or on server).

2014-02-17 1 min read Bash Fedora

To use this, you will need the lynx tool, so install that first.

sudo yum install lynx

Now, to get list of all the URLs in local html file or some URL, just execute this:

lynx -dump -listonly

 

Continue reading

cgroups – use to control your cpu and memory

2014-01-06 2 min read Fedora Firefox Learning

cgroups is a kernel feature and with userspace utilities, we can use the feature to control the cpu and memory for per process. So, lets first install the required tools.

sudo yum install libcgroup-tools

Now, we need to enable the service.

sudo systemctl enable cgconfig.service
sudo systemctl enable cgred.service

cgconfig.service is to enable configuration for cgroups and
cgred.service is to enable configuration for cgroups for processes depending on the name.

Continue reading

Firefox troubleshooting

2013-03-11 1 min read Firefox

Here are few quick tips on getting to see what could be wrong with firefox.

Config entries – about:config

Support Information – about:support

Details on config entries – http://kb.mozillazine.org/About:config_entries

Reset firefox profile – https://support.mozilla.org/en-US/kb/reset-firefox-easily-fix-most-problems

Firefox profiles – https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data

 

Continue reading

Taking screenshot in firefox.

2013-02-03 1 min read Firefox

Couple of days back, I was trying to take screenshot with Firefox. As usual I started out with searching for plugins which could take a screen shot for the whole page and not just the visible portion of the page. Installed couple of them, some did not work. Finally I found something called Development Bar.

So, here is a simple way to take a screenshot. Press “Shift+F12”. This will bring up a bar in the bottom of the firefox window. To take a screenshot, type:

Continue reading

Change the firefox theme without restarting.

2010-09-27 1 min read Firefox

How often you wished that you could change the theme for firefox without restarting. Well sometime back Mozilla came up with Light weight themes called personna’s but if that is not sufficient for you and you still want to change the theme and do not want to restart then you should install this theme.

Once you install this theme, you will not note any change (Don’t forget to restart after installing the theme.)

Continue reading

FastestfoxLite - Disable prefetching and make firefox really fast.

2010-06-14 1 min read Firefox

If you are stuck with firefox performance, then you should try this addon:

https://addons.mozilla.org/en-US/firefox/addon/9148/<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://blog.taragana.com/index.php/archive/how-to-make-firefox-blazing-fast-in-a-jiffy-fasterfox-add-on/">How to make Firefox blazing fast in a jiffy: fasterfox add-on (taragana.com) <li class="zemanta-article-ul-li"><a href="http://www.cloudspace.com/blog/2010/06/03/html5-link-prefetching-or-the-most-dangerous-tag/">HTML5 Link Prefetching (or &#8221;The Most Dangerous Tag&#8221;) (cloudspace.com) <li class="zemanta-article-ul-li"><a href="http://www.ghacks.net/2010/05/15/configure-prefetch-and-superfetch-with-tweakprefetch/">Configure Prefetch and Superfetch With TweakPrefetch (ghacks.net) <li class="zemanta-article-ul-li"><a href="http://www.ghacks.net/2010/06/10/fix-firefox-with-last-pass-not-responding/">Fix Firefox With Last Pass Not Responding (ghacks.net) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/zemified_c2.gif" alt="Enhanced by Zemanta" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">

Continue reading

List all the installed firefox addons from the bash script

2010-05-18 1 min read Bash Fedora Linux

Here is a one-line that would help you get the <a class="zem_slink freebase/en/mozilla_firefox" title="Firefox" rel="homepage" href="http://www.mozilla.com/en-US/firefox/">Firefox addons in the bash script:

grep -hIr \<em:name ~/.mozilla/firefox/*.default/extensions|sed &#8217;s#\s*##&#8217;|sed &#8217;s#.*\(>.*<\).*#\1#&#8217;|sed &#8217;s/[<\|>]//g&#8217;|sort -u<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://www.ghacks.net/2010/05/16/firefox-3-6-4-build-4-released/">Firefox 3.6.4 Build 4 Released (ghacks.net) <li class="zemanta-article-ul-li"><a href="http://www.webmonkey.com/2010/05/first-look-firefox-4-preview-delivers-speed-revamped-interface/">First Look: Firefox 4 Preview Delivers Speed, Revamped Interface (webmonkey.com) <li class="zemanta-article-ul-li"><a href="http://www.ghacks.net/2010/05/15/protect-firefox-bookmarks-with-link-password/">Protect Firefox Bookmarks With Link Password (ghacks.net) <li class="zemanta-article-ul-li"><a href="http://www.huffingtonpost.com/2010/05/12/mozilla-firefox-4-upgrade_n_573062.html">Firefox 4 Upgrade Offers Simpler Design, More Privacy Control (huffingtonpost.com) <li class="zemanta-article-ul-li"><a href="http://www.readwriteweb.com/archives/mozilla_talks_firefox_4_sleeker_interface_better_privacy_controls.php">Mozilla&#8217;s Plans for Firefox 4: Faster, Sleeker Interface, Better Privacy Controls (readwriteweb.com) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/6a3ffd4a-91cf-47e3-85ff-7dc3b27ffd7d/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b89.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">

Continue reading
Older posts