tag:blogger.com,1999:blog-37369037044337268722024-03-19T04:15:26.060-07:00The world of LinuxFor Safer Tomorrow!Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-3736903704433726872.post-80601458635013323182023-01-25T03:28:00.003-08:002023-01-25T03:28:30.927-08:00FIXED : ChatGPT is at capacity right now<p> <span style="background-color: white; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 30px;">ChatGPT is at capacity right now</span></p><p><span style="background-color: white; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 30px;"><br /></span></p><p><span style="background-color: white; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 30px;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjxkvEMZdJl-cogy3nWov1LUh2Y6_tKIbNl5EcYpMOy_KfktntEwA5QXI44270goMCQn3IFfd51hL9EpUbMLjNFkaOdv_7oMzw9b46RX5tgYHEpsMkmYU8UQztln5pblYpDHmg_DBswR7h5Ja8OpJVutXb8Mrc5YhUtTmRBhoZZZzV8tPiOQEwRAhUVTQ" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="183" data-original-width="275" height="272" src="https://blogger.googleusercontent.com/img/a/AVvXsEjxkvEMZdJl-cogy3nWov1LUh2Y6_tKIbNl5EcYpMOy_KfktntEwA5QXI44270goMCQn3IFfd51hL9EpUbMLjNFkaOdv_7oMzw9b46RX5tgYHEpsMkmYU8UQztln5pblYpDHmg_DBswR7h5Ja8OpJVutXb8Mrc5YhUtTmRBhoZZZzV8tPiOQEwRAhUVTQ=w409-h272" width="409" /></a></div><br /><span style="font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 30px;">Chat GPT has taken the world by storm ever since it became available to the public.</span><p></p><p><span style="background-color: white; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 30px;">What is this?</span></p><p>ChatGPT is, quite simply, the best artificial intelligence chatbot ever released to the general public. It was built by OpenAI, the San Francisco A.I. company that is also responsible for tools like GPT-3 and DALL-E 2, the breakthrough image generator that came out this year.</p><p><span style="background-color: white; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 30px;">How to fix </span> <span style="background-color: white; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 30px;">ChatGPT is at capacity right now ?</span></p><p><span style="background-color: white; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 30px;">There are many reason behind chat GPT unavailability. Refer to below list.</span></p><p><span style="background-color: white; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 30px;">1. You should not be accessing chatGPT from </span><span style="font-family: Söhne, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Helvetica Neue, Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;"><span style="font-size: 30px;">Russia, China, Egypt, Iran, Ukraine as its not available in these countries yet. You need to use VPN. </span></span></p><p><span style="font-family: Söhne, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Helvetica Neue, Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;"><span style="font-size: 30px;">2. If you are seeing "ChatGPT is at capacity right now" then just keep refreshing the page or access it during off-peak hours. </span></span></p><p><span style="font-family: Söhne, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Helvetica Neue, Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;"><span style="font-size: 30px;">3. I have also experienced that ChatGpt team banned all aws IP's. Meaning you can't access ChatGpt from aws instances. You will get Access Denied error code 1020. Here also you need to use good VPN. Try using Opera browser with their in-built VPN feature (its free of cost) </span></span></p><p><span style="font-family: Söhne, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Helvetica Neue, Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;"><span style="font-size: 30px;">4. Also do try chatGPT from browsers incognito/private mode. Because there will be no cache, cookies saved while accessing chatGPT. </span></span></p><p><span style="font-family: Söhne, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Helvetica Neue, Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;"><span style="font-size: 30px;">5. Do provide your email id at "Get notified when we're back". This will send you email once it gets free.</span></span></p><p><span style="font-family: Söhne, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Helvetica Neue, Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;"><span style="font-size: 30px;"><br /></span></span></p><p><br /></p><div class="flex flex-col gap-6" style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: flex; flex-direction: column; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; gap: 1.5rem;"><div class="flex" style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; display: flex;"></div></div><p><span style="background-color: white; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 30px;"></span></p>Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com1tag:blogger.com,1999:blog-3736903704433726872.post-59890775310751743042019-07-04T03:07:00.002-07:002019-08-14T01:57:43.065-07:00How to loop through the content of a file in Bash [SOLVED]<div dir="ltr" style="text-align: left;" trbidi="on">
<script async="async" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3241753286156583",
enable_page_level_ads: true
});
</script>
<div dir="ltr" style="text-align: left;" trbidi="on">
I saw that many people face the problem to loop through the file content in Bash.<br />
I have some solutions for this. There are many ways through you can achieve this.<br />
You can choose the one which suits you.<br />
<br />
<b>Option No.1</b><br />
<pre class="lang-sh prettyprint prettyprinted" style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="kwd" style="border: 0px; box-sizing: inherit; color: #101094; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">while</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> IFS</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">=</span><span class="str" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">""</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> read </span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">-</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">r p </span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">||</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">[</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">-</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">n </span><span class="str" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">"$p"</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">]</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
</span><span class="kwd" style="border: 0px; box-sizing: inherit; color: #101094; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">do</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
printf </span><span class="str" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">'%s\n'</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="str" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">"$p"</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
</span><span class="kwd" style="border: 0px; box-sizing: inherit; color: #101094; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">done</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> peptides</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">.</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">txt</span></code></pre>
If your file has leading whitespace, interpretting backslash sequences, and you want to skip the trailing line then above solution is for you.<br />
<br />
<br />
<b>Option No. 2</b><br />
<pre class="lang-sh prettyprint prettyprinted" style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="com" style="border: 0px; box-sizing: inherit; color: #858c93; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">#!/bin/bash</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
filename</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">=</span><span class="str" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">'peptides.txt'</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
echo </span><span class="typ" style="border: 0px; box-sizing: inherit; color: #2b91af; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Start</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
</span><span class="kwd" style="border: 0px; box-sizing: inherit; color: #101094; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">while</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> read p</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">;</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="kwd" style="border: 0px; box-sizing: inherit; color: #101094; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">do</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
echo $p
</span><span class="kwd" style="border: 0px; box-sizing: inherit; color: #101094; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">done</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> $filename</span></code></pre>
above option is a while loop option. Single line at a time. Input redirection.<br />
<br />
<br />
<b>Option No. 3</b><br />
<pre class="lang-sh prettyprint prettyprinted" style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="com" style="border: 0px; box-sizing: inherit; color: #858c93; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">#!/bin/bash</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
filename</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">=</span><span class="str" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">'peptides.txt'</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
exec </span><span class="lit" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">4</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">$filename
echo </span><span class="typ" style="border: 0px; box-sizing: inherit; color: #2b91af; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Start</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
</span><span class="kwd" style="border: 0px; box-sizing: inherit; color: #101094; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">while</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> read </span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">-</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">u4 p </span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">;</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="kwd" style="border: 0px; box-sizing: inherit; color: #101094; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">do</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
echo $p
</span><span class="kwd" style="border: 0px; box-sizing: inherit; color: #101094; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">done</span></code></pre>
Above one is also in while loop: Single line at a time:<br />
Open the file, read from a file descriptor (in this case file descriptor #4).<br />
<br />
<br />
<b>Option No. 4 </b><br />
<pre class="lang-sh prettyprint prettyprinted" style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><pre class="lang-sh prettyprint prettyprinted" style="border-radius: 3px; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="kwd" style="border: 0px; box-sizing: inherit; color: #101094; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">while</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> IFS</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">=</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> read </span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">-</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">r line</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">;</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="kwd" style="border: 0px; box-sizing: inherit; color: #101094; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">do</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
echo </span><span class="str" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">"$line"</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
</span><span class="kwd" style="border: 0px; box-sizing: inherit; color: #101094; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">done</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">file</span></code></pre>
</pre>
Above option is with simple while loop. You need to set the <span style="background-color: #eff0f1; color: #393318; font-family: "consolas" , "menlo" , "monaco" , "lucida console" , "liberation mono" , "dejavu sans mono" , "bitstream vera sans mono" , "courier new" , monospace , sans-serif; font-size: 13px;"><b>IFS</b> </span>properly, otherwise you will loose the indentation. Also always use the <span style="background-color: #eff0f1; color: #393318; font-family: "consolas" , "menlo" , "monaco" , "lucida console" , "liberation mono" , "dejavu sans mono" , "bitstream vera sans mono" , "courier new" , monospace , sans-serif; font-size: 13px;"><b>-r</b></span> option with read. NEVER EVER use the for loop for reading lines.<b> </b><br />
<b><br /></b>
<b><br /></b>
I hope these options are helpful for you. <span style="background-color: white; color: #333333; font-family: "arial" , "helvetica" , sans-serif; font-size: 14.85px;">😃</span><br />
<br />
Let me know your feedback!<br />
<br />
Thanks for reading!<br />
Amit<br />
<b><br /></b>
<b><br /></b>
<b><br /></b>
<b><br />Tags: </b><a href="https://yeslinux.blogspot.com/2019/07/how-to-loop-through-content-of-file-in.html" target="_blank">Read the content of file through bash</a>, <a href="https://yeslinux.blogspot.com/2019/07/how-to-loop-through-content-of-file-in.html" target="_blank">loop through content of file bash</a>, <a href="https://yeslinux.blogspot.com/2019/07/how-to-loop-through-content-of-file-in.html" target="_blank">bash read file</a><br />
<b><br /></b>
<b><br /></b>
<b><br /></b></div>
</div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com4tag:blogger.com,1999:blog-3736903704433726872.post-50623617640482420912019-04-25T01:47:00.001-07:002019-08-14T02:03:22.265-07:00How to symlink a file in Linux? [SOLVED]<script async="async" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3241753286156583",
enable_page_level_ads: true
});
</script>
<div dir="ltr" style="text-align: left;" trbidi="on">
<b><span style="font-family: "arial" , "helvetica" , sans-serif;">How to create symlink for a file/directory ?</span></b><br />
<br />
Today I will show you how to create a symlink to a file or folder.<br />
In linux, a<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"> </span><b style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 16px;">symbolic link</b><span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;">, also known as a </span><b style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 16px;">symlink</b><span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"> or a </span><b style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 16px;">soft link</b><span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;">, is a special kind of file (entry) that points to the actual file or directory on a disk (like a shortcut in Windows)</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><br /></span>
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;">So lets create one: </span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><br /></span>
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;">in order to create a new symlink try below</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;"><br /></span>
<br />
<pre style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; color: #242729; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;">ln -s /path/to/file /path/to/symlink
</code></pre>
<div>
<code style="border: 0px; box-sizing: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"></code><br />
<div style="background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
<code style="border: 0px; box-sizing: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><br /></code></div>
<code style="border: 0px; box-sizing: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;">
</code>
<div style="background-color: white; border: 0px; box-sizing: inherit; clear: both; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
<code style="border: 0px; box-sizing: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span style="font-family: "arial" , "helvetica" , sans-serif;">To create or update a symlink:</span></code></div>
<code style="border: 0px; box-sizing: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;">
<div class="post-text" itemprop="text" style="border: 0px; box-sizing: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.3; margin: 0px 0px 5px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; width: 665.281px;">
<pre style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;">ln -sf /path/to/file /path/to/symlink
</code></pre>
</div>
<div class="grid mb0 fw-wrap ai-start jc-end gs8 gsy" style="align-items: flex-start !important; border: 0px; box-sizing: inherit; display: flex; flex-wrap: wrap !important; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; justify-content: flex-end !important; line-height: inherit; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px; margin-top: -4px; padding: 0px; vertical-align: baseline;">
<time datetime="2009-12-23T09:52:24" itemprop="dateCreated" style="background-color: white; border: 0px; box-sizing: inherit; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"></time><br />
<div class="grid--cell mr16" style="background-color: white; border: 0px; box-sizing: inherit; color: #242729; flex: 1 1 100px; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 4px 0px; padding: 0px; vertical-align: baseline;">
</div>
</div>
<div style="font-weight: inherit;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div>
<span style="font-family: "arial" , "helvetica" , sans-serif;"><b>How to list all symlink in a directory ?</b></span></div>
<div style="font-weight: inherit;">
<span style="font-family: "arial" , "helvetica" , sans-serif;">Now you have created a symlink. To see present symlink for current directory you can try below command:</span></div>
<div style="font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-weight: inherit;">
<br /></div>
<div>
<div class="post-text" itemprop="text" style="border: 0px; box-sizing: inherit; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.3; margin: 0px 0px 5px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; width: 671px;">
<pre style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;">ls -la /var/www/ | grep "\->"
</code></pre>
</div>
<div class="grid mb0 fw-wrap ai-start jc-end gs8 gsy" style="align-items: flex-start !important; border: 0px; box-sizing: inherit; display: flex; flex-wrap: wrap !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; justify-content: flex-end !important; line-height: inherit; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px; margin-top: -4px; padding: 0px; vertical-align: baseline;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"></span><br />
<div style="background-color: white; border: 0px; box-sizing: inherit; clear: both; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
<span style="font-family: "arial" , "helvetica" , sans-serif;">This will list all the links present in the current directory.</span></div>
<span style="font-family: "arial" , "helvetica" , sans-serif;">
</span>
<div style="font-weight: inherit;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<span style="font-family: "arial" , "helvetica" , sans-serif;">
<div style="font-weight: inherit;">
Let me know if this resolves your problem 😃</div>
<div style="font-weight: inherit;">
<br /></div>
<div style="font-weight: inherit;">
<br /></div>
<div style="font-weight: inherit;">
<br /></div>
<div style="font-weight: inherit;">
Tags:</div>
<div>
<b><a href="https://yeslinux.blogspot.com/2019/04/how-to-symlink-file-in-linux-solved.html" target="_blank">how to create symbolic link to file</a></b></div>
<div>
<b><a href="https://yeslinux.blogspot.com/2019/04/how-to-symlink-file-in-linux-solved.html" target="_blank">how to create a symbolic link to folder</a></b></div>
<div>
<b><a href="https://yeslinux.blogspot.com/2019/04/how-to-symlink-file-in-linux-solved.html" target="_blank">how to create a symbolic link to directory</a></b></div>
<div>
<b><a href="https://yeslinux.blogspot.com/2019/04/how-to-symlink-file-in-linux-solved.html" target="_blank">how to create symlink to file</a></b></div>
</span><time datetime="2014-09-09T18:02:58" itemprop="dateCreated" style="background-color: white; border: 0px; box-sizing: inherit; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"></time><br />
<div class="grid--cell mr16" style="background-color: white; border: 0px; box-sizing: inherit; color: #242729; flex: 1 1 100px; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: inherit; line-height: inherit; margin: 4px 0px; padding: 0px; vertical-align: baseline;">
</div>
</div>
</div>
</code></div>
</div>
</div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com0tag:blogger.com,1999:blog-3736903704433726872.post-65658465483783614542019-04-19T05:08:00.000-07:002019-08-14T02:00:19.357-07:00Search in all files for specific string on Linux [SOLVED]<script async='async' src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'/>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3241753286156583",
enable_page_level_ads: true
});
</script>
<div dir="ltr" style="text-align: left;" trbidi="on">
If you want to search a word in all of your files on your linux you need to run grep command. This command has some parameters. All explained below:<br />
<br />
<pre class="lang-sh prettyprint prettyprinted" style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">grep </span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">-</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">rnw </span><span class="str" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">'/path/to/somewhere/'</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">-</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">e </span><span class="str" style="border: 0px; box-sizing: inherit; color: #7d2727; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">'pattern'</span></code></pre>
<ul style="background-color: white; border: 0px; box-sizing: inherit; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1em 30px; padding: 0px; vertical-align: baseline;">
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0.5em; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;"><code style="background-color: #eff0f1; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;">-r</code> or <code style="background-color: #eff0f1; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;">-R</code> is recursive,</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0.5em; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;"><code style="background-color: #eff0f1; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;">-n</code> is line number, and</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0.5em; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;"><code style="background-color: #eff0f1; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;">-w</code> stands for match the whole word.</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;"><code style="background-color: #eff0f1; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;">-l</code> (lower-case L) can be added to just give the file name of matching files.</li>
</ul>
<div style="background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
Along with these, <code style="background-color: #eff0f1; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;">--exclude</code>, <code style="background-color: #eff0f1; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;">--include</code>, <code style="background-color: #eff0f1; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;">--exclude-dir</code> flags could be used for efficient searching:</div>
<ul style="background-color: white; border: 0px; box-sizing: inherit; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1em 30px; padding: 0px; vertical-align: baseline;">
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0.5em; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;"><div style="border: 0px; box-sizing: inherit; clear: both; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px; vertical-align: baseline;">
This will only search through those files which have .c or .h extensions:</div>
<pre style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 1em; margin-top: 0.5em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;">grep --include=\*.{c,h} -rnw '/path/to/somewhere/' -e "pattern"
</code></pre>
</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0.5em; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;"><div style="border: 0px; box-sizing: inherit; clear: both; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px; vertical-align: baseline;">
This will exclude searching all the files ending with .o extension:</div>
<pre style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 1em; margin-top: 0.5em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;">grep --exclude=*.o -rnw '/path/to/somewhere/' -e "pattern"
</code></pre>
</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;"><div style="border: 0px; box-sizing: inherit; clear: both; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px; vertical-align: baseline;">
For directories it's possible to exclude a particular directory(ies) through <code style="background-color: #eff0f1; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;">--exclude-dir</code>parameter. For example, this will exclude the dirs dir1/, dir2/ and all of them matching *.dst/:</div>
<pre style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 1em; margin-top: 0.5em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;">grep --exclude-dir={dir1,dir2,*.dst} -rnw '/path/to/somewhere/' -e "pattern"
</code></pre>
</li>
</ul>
<div style="background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
This works very well for me, to achieve almost the same purpose like yours.</div>
<div style="background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;">
For more options check <code style="background-color: #eff0f1; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;">man grep</code></div>
</div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com1tag:blogger.com,1999:blog-3736903704433726872.post-88964639496189242572019-04-19T04:44:00.000-07:002019-08-14T02:04:58.524-07:00There appears to be trouble with your network connection. Retrying... [SOLVED] <script async='async' src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'/>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3241753286156583",
enable_page_level_ads: true
});
</script>
<div dir="ltr" style="text-align: left;" trbidi="on">
So recently I was facing an issue while adding Yarn package to my application. Every time I was doing Yarn add it was showing me error like <b>There appears to be trouble with your network connection</b>. So problem is, this happens when your network is too slow or the package being installed is too large, and yarn just assumes it's a network problem. Lets try increasing Yarn network timeout!<br />
<br />
To resolve this problem all you need to do is:<br />
<br />
<pre style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;">yarn add <yourPackage> --network-timeout 100000</code></pre>
<br />
<br />
Now if problem still exists then you need to add proxy.<br />
To add proxy just do below.<br />
<br />
<pre style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; color: #242729; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;">$ yarn config set proxy http://your_company_proxy_url:port
$ yarn config set https-proxy http://localhost:3128
example $ yarn config set https-proxy http://proxy.example.com:8080</code></pre>
<br />
Add a comment below if problem still exists :) Will be happy to help you!<br />
<br />
<br />
<div class="grid mb0 fw-wrap ai-start jc-end gs8 gsy" style="align-items: flex-start !important; border: 0px; box-sizing: inherit; display: flex; flex-wrap: wrap !important; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; justify-content: flex-end !important; line-height: inherit; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px; margin-top: -4px; padding: 0px; vertical-align: baseline;">
<time datetime="2018-07-24T22:32:06" itemprop="dateCreated" style="background-color: white; border: 0px; box-sizing: inherit; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"></time></div>
</div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com37tag:blogger.com,1999:blog-3736903704433726872.post-44880866485370981532015-07-16T00:53:00.001-07:002019-08-14T01:59:02.750-07:00Google News Reader using javascript and jQuery<script async='async' src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'/>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3241753286156583",
enable_page_level_ads: true
});
</script>
<div dir="ltr" style="text-align: left;" trbidi="on">
Hey everyone,<br />
<br />
Just developed a Google News Reader using google news api.<br />
<br />
So just to sharpen my javascript skills, I have developed this small project.<br />
<br />
<b>What's special ?</b><br />
<br />
<ul style="text-align: left;">
<li>Auto update. If turned on, it will keep on refreshing the news based on selected intervals.</li>
<li>Choose news from various country.</li>
<li>Responsive page design. Page will load as per the device width.</li>
</ul>
<br />
<b>How to download ?</b><br />
<br />
I have created a repository on my <a href="https://github.com/amitnaik/" target="_blank">GitHub</a>.<br />
All you need to do is download the zip.<br />
Click on below link to download google news reader!<br />
<br />
<span style="font-size: x-large;"><a href="https://github.com/amitnaik/news/archive/master.zip" target="_blank">DOWNLOAD NEWS READER</a></span><br />
<br />
<br />
<b>How to use ?</b><br />
<b><br /></b>
Once you download the news reader, just extract the zip and open the index.html file. That's it! you are done!<br />
Enjoy the latest news. Let me know your valuable comments :)<br />
<br />
I am planning to develop more javascript webapp/addon's/modules.<br />
<br />
<br />
<br />
Thanks for reading,<br />
Amit</div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com14tag:blogger.com,1999:blog-3736903704433726872.post-17078460867683341882015-04-06T01:53:00.003-07:002019-08-14T01:59:14.160-07:00GNU/Linux Distribution Timeline<script async='async' src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'/>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3241753286156583",
enable_page_level_ads: true
});
</script>
<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-family: 'Liberation Sans, Arial, Helvetica'; font-size: 32px; font-weight: bold;">GNU/Linux Distribution Timeline</span></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Ladies and gentlemen here is GNU/Linux distribution timeline. Look at my favorite Debian > Ubuntu branch :) so many distributions under that. Feeling great :)</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<h2 style="clear: both; text-align: center;">
<a href="https://upload.wikimedia.org/wikipedia/commons/5/58/Linux_Distribution_Timeline_with_Android.svg" rel="nofollow" target="_blank">Full Screen Image</a></h2>
<div class="separator" style="clear: both; text-align: left;">
</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><span style="margin-left: auto; margin-right: auto;"><a href="https://upload.wikimedia.org/wikipedia/commons/5/58/Linux_Distribution_Timeline_with_Android.svg" target="_blank"><img alt="Click to see full screen" border="0" height="640" src="https://upload.wikimedia.org/wikipedia/commons/5/58/Linux_Distribution_Timeline_with_Android.svg" title="linux distribution timeline" width="136" /></a></span></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><h2>
<a href="https://upload.wikimedia.org/wikipedia/commons/5/58/Linux_Distribution_Timeline_with_Android.svg" rel="nofollow" target="_blank"><span style="color: blue;">Click here to see Full Screen</span></a></h2>
</td></tr>
</tbody></table>
<br /></div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com2tag:blogger.com,1999:blog-3736903704433726872.post-24139742867690908522015-04-02T06:38:00.001-07:002015-04-02T06:54:08.110-07:00Error: Apache shutdown unexpectedly [SOLVED]<div dir="ltr" style="text-align: left;" trbidi="on">
Hello Guys,<br />
<br />
So, I have been installing XAMPP on my office windows 8 machine and it didn't worked in first attempt. I knew it something is wrong with ports/config settings.<br />
When I clicked on 'Start' button of XAMPP control panel, it showed me below error.<br />
<br />
<span style="color: red;">Error: Apache shutdown unexpectedly.</span><br />
<span style="color: red;">This may be due to a blocked port, missing dependencies, </span><br />
<span style="color: red;">improper privileges, a crash, or a shutdown by another method.</span><br />
<span style="color: red;">Press the Logs button to view error logs and check</span><br />
<span style="color: red;">the Windows Event Viewer for more clues</span><br />
<span style="color: red;">If you need more help, copy and post this</span><br />
<span style="color: red;">entire log window on the forums</span><br />
<span style="color: red;"><br /></span>
<span style="color: red;">Problem detected!</span><br />
<span style="color: red;">Port 80 in use by "Unable to open process" with PID 4!</span><br />
<span style="color: red;">Apache WILL NOT start without the configured ports free!</span><br />
<span style="color: red;">You need to uninstall/disable/reconfigure the blocking application</span><br />
<span style="color: red;"></span><br />
<span style="color: red;">or reconfigure Apache and the Control Panel to listen on a different port</span><br />
<div>
<br /></div>
<div>
Please follow the steps to solve this problem:</div>
<div>
<br /></div>
<div>
1) From XAMPP control panel click on Apache 'config' button. </div>
<div>
<br /></div>
<div>
2) Now, httpd.conf file will be opened in text editor. </div>
<div>
<br /></div>
<div>
3) Find (Control + F) <b>Listen 80 </b>replace it to <b>Listen 8080</b></div>
<div>
<b><br /></b></div>
<div>
4) Again find <b>ServerName localhost:80 </b>replace it to <b>ServerName localhost:8080</b></div>
<div>
<b><br /></b></div>
<div>
5) Now save the file and go to XAMPP control panel and click on 'Start' button. </div>
<div>
<br /></div>
<div>
6) Now go to <a href="http://localhost:8080/" rel="nofollow" target="_blank">http://localhost:8080</a> you should see XAMPP index page. </div>
<div>
<b style="font-family: verdana, helvetica; font-size: 12px;">Congratulations: </b><b style="font-family: verdana, helvetica; font-size: 12px;">You have successfully installed XAMPP on your system! :) </b></div>
<div>
<br /></div>
<div>
<br /></div>
<h3 style="text-align: left;">
<b>So how did it worked ?</b></h3>
<div>
Your port 80 was busy and we are now using unique port i.e. 8080</div>
<div>
So remember whenever you are going to access the localhost you will be using it like http://localhost:8080 same for phpmyadmin http://localhost:8080/phpmyadmin/</div>
<div>
<br /></div>
<div>
If you insist with default port 80 then you need to look in your computer and find which installed software is using port 80. </div>
<div>
<br /></div>
<div>
e.g. skype uses default port 80. </div>
<div>
To clear that port, open skype then go to Tools > Options > Advanced > Connection > and in that uncheck 'Use port 80 and 443 for additional incoming connections' option. Then save it and restart the skype. Now your skype will use another unique port. </div>
<div>
Thats how you can clear port 80. </div>
<div>
<br /></div>
<div>
</div>
<div>
<br /></div>
<div>
Helpful ? comments please :)<br />
<br />
<br /></div>
</div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com2tag:blogger.com,1999:blog-3736903704433726872.post-4213404890217271652014-09-16T04:12:00.000-07:002014-09-22T06:52:11.798-07:00Linux Commands Cheat Sheet<div dir="ltr" style="text-align: left;" trbidi="on">
Hi Guys,<br />
<br />
I have an idea! I have created most useful and important linux commands cheat sheet.<br />
<br />
To make it more easy, I have created a short URL. So now you can access this cheat sheet file with simple URL.<br />
<br />
<div style="text-align: center;">
<span style="color: #6aa84f; font-family: Verdana, sans-serif; font-size: x-large;"><a href="http://j.mp/CoolCommands" target="_blank"><b>http://j.mp/CoolCommands</b></a></span></div>
<div style="text-align: center;">
<br /></div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrl5taRARGY2ULxTF-8z1Km41W51SqP-EVFJOYloZ1gwlW-V3Mz-k74_WsJ5a7t9P8lwYpRfhDfi6PTYJ9fduS2MhO_0MlcGClXFMGBkNwu6ha2ZC4brwLVlfFqpMjMaBXllbsZKQRikLg/s1600/YesLinux+Cheat+Sheet.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Linux command cheat sheet" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrl5taRARGY2ULxTF-8z1Km41W51SqP-EVFJOYloZ1gwlW-V3Mz-k74_WsJ5a7t9P8lwYpRfhDfi6PTYJ9fduS2MhO_0MlcGClXFMGBkNwu6ha2ZC4brwLVlfFqpMjMaBXllbsZKQRikLg/s1600/YesLinux+Cheat+Sheet.png" height="640" title="Linux command cheat sheet" width="465" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">CopyLeft Linux Command Cheat Sheet</td></tr>
</tbody></table>
<br />
<b>Note </b>: Click on above image to see full size.<br />
<br />
<br />
<br />
Thanks for reading!<br />
Enjoy and be open<br />
<a href="http://yeslinux.blogspot.com/" target="_blank">Amit Naik</a></div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com6tag:blogger.com,1999:blog-3736903704433726872.post-58124350733975902552014-09-15T06:30:00.001-07:002014-09-18T00:02:31.414-07:00Freedom of Operating System<div dir="ltr" style="text-align: left;" trbidi="on">
Windows! windows everywhere!<br />
<br />
Just open the window and see the magical world of linux.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-qrfOOeDEYHA0PHqbt5twx-bRKN_w7pApoyYcRxtvnibSHgFUptImHC0TLRX1RT0koj04C0TK8arEnxFxNDWIdcm3mM3XgF8GBBv-0Gkh7PQNLCAcRLKjsAgjrS0EWukjIKg0s4uC_RBe/s1600/free-world.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-qrfOOeDEYHA0PHqbt5twx-bRKN_w7pApoyYcRxtvnibSHgFUptImHC0TLRX1RT0koj04C0TK8arEnxFxNDWIdcm3mM3XgF8GBBv-0Gkh7PQNLCAcRLKjsAgjrS0EWukjIKg0s4uC_RBe/s1600/free-world.jpg" height="320" width="242" /></a></div>
<br />
<br />
<br />
That's right! I still remember when I was in my college, I used to wonder that how these operating systems so called as "Linux" are powerful, faster, safer and yet free!! But now after so many years of exploration and usage I can bet that these are the most faster, safer and free (truly free..where you can share its source code with your friend, you can share the bootable disc with your friend).<br />
<br />
Enough said, Lets look at some of the major Linux distributions.<br />
<br />
1) Linux Mint<br />
Download page:<a href="http://www.linuxmint.com/download.php" target="_blank"> http://www.linuxmint.com/download.php</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXklgifwmZGoZK7GJBJhvaSfRifX_76aQX13q4qpsgUp6tPvOiC3jyXSlyY6fvV4ePB3pxXtlAEreCuZU7EDi50ppi6zaCBpE6k9uvbrJn1luMgcFNEchNHb4bsCTGA5mvFbdDWaT3N4NG/s1600/mint.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXklgifwmZGoZK7GJBJhvaSfRifX_76aQX13q4qpsgUp6tPvOiC3jyXSlyY6fvV4ePB3pxXtlAEreCuZU7EDi50ppi6zaCBpE6k9uvbrJn1luMgcFNEchNHb4bsCTGA5mvFbdDWaT3N4NG/s1600/mint.png" height="256" width="320" /></a></div>
<br />
<br />
2) Ubuntu<br />
Download page: <a href="http://www.ubuntu.com/download/desktop/">http://www.ubuntu.com/download/desktop/</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg426SjoLIGwDQAK4I6vWcmHWRITYobz1JI221DWoqMEry-JOTpprJcMsEYhf-6o3s4q2Y1Hsil0mmkkfrUmerHzFUrqSk0wfisOQqcCJkexBg_u7WQFgSshGXkw7m3YoMZyBcTg-k1jENW/s1600/ubuntu.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg426SjoLIGwDQAK4I6vWcmHWRITYobz1JI221DWoqMEry-JOTpprJcMsEYhf-6o3s4q2Y1Hsil0mmkkfrUmerHzFUrqSk0wfisOQqcCJkexBg_u7WQFgSshGXkw7m3YoMZyBcTg-k1jENW/s1600/ubuntu.png" height="256" width="320" /></a></div>
<br />
<br />
3) Debain<br />
Download page: <a href="https://www.debian.org/CD/http-ftp/">https://www.debian.org/CD/http-ftp/</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTby13ze1nunHvCgLl81HTuyCfy9d98yykPf_Ux7D8tPkMCwsYx5z9A9ougyZR4Wvy0l_PS7cwxgwtH7Qsp2QHp0XzS60Dvu6j2oKZOMpn67-Y5v11uPcMGHBlB9fE8x42vKiq89Sv_1Q_/s1600/debian.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTby13ze1nunHvCgLl81HTuyCfy9d98yykPf_Ux7D8tPkMCwsYx5z9A9ougyZR4Wvy0l_PS7cwxgwtH7Qsp2QHp0XzS60Dvu6j2oKZOMpn67-Y5v11uPcMGHBlB9fE8x42vKiq89Sv_1Q_/s1600/debian.png" height="256" width="320" /></a></div>
<br />
<br />
4) Fedora<br />
Download page: <a href="http://fedoraproject.org/en/get-fedora">http://fedoraproject.org/en/get-fedora</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIE_1C0VMq4CrfRgSk8kGg1CrAoZDBCU1jlR_ps3Wb3_21D1XiGYiQZVrXIAFiQFZY15LB5vTYvT_Hxfynrvw69l59VJjddjGbNwCV4O47BaVLrbZlaklmDEV6qaxnie-DQAge30fdNx2V/s1600/fedora.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIE_1C0VMq4CrfRgSk8kGg1CrAoZDBCU1jlR_ps3Wb3_21D1XiGYiQZVrXIAFiQFZY15LB5vTYvT_Hxfynrvw69l59VJjddjGbNwCV4O47BaVLrbZlaklmDEV6qaxnie-DQAge30fdNx2V/s1600/fedora.png" height="240" width="320" /></a></div>
<br />
<br />
5) Open Suse<br />
Download page: <a href="http://software.opensuse.org/">http://software.opensuse.org/</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzFESV5vfFvPfwB0H0MmPvbZr0t7wwDpr1XgnWby88DCCrlPVjtLg_lBdkA2phYcJ-ES_H62pmdChcjCIAitApxqNRBQwErkY3AwFAOGKf5P_-viQta9yult7pr59yiym2gaX1-qx7KeeW/s1600/suse.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzFESV5vfFvPfwB0H0MmPvbZr0t7wwDpr1XgnWby88DCCrlPVjtLg_lBdkA2phYcJ-ES_H62pmdChcjCIAitApxqNRBQwErkY3AwFAOGKf5P_-viQta9yult7pr59yiym2gaX1-qx7KeeW/s1600/suse.png" height="256" width="320" /></a></div>
<br />
<br />
6) Arch Linux<br />
Download page: <a href="https://www.archlinux.org/download/">https://www.archlinux.org/download/</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibZ6gcTnm09CSxClwb2vyf6Lus65W-QEDV5CpLXt4hQZEzRw03bZyM3YrbzrP9ji9_SLEQleq5pEKdUNA6FR81ByfOBj9lzWW79GCNc05X0sWBR9bT00YBhEc-Ufjp0vUEAqzfmCHQZPUV/s1600/arch.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibZ6gcTnm09CSxClwb2vyf6Lus65W-QEDV5CpLXt4hQZEzRw03bZyM3YrbzrP9ji9_SLEQleq5pEKdUNA6FR81ByfOBj9lzWW79GCNc05X0sWBR9bT00YBhEc-Ufjp0vUEAqzfmCHQZPUV/s1600/arch.png" height="256" width="320" /></a></div>
<br />
<br />
7) Mageia<br />
Download page: <a href="https://www.mageia.org/en/downloads/">https://www.mageia.org/en/downloads/</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGd4PC2rvPpmojBb52gImC-0x4wTvIcHdxE0q9d2PoKoCAOpYzk0bGYZjakWkZ8R6acXA33U_yPBnj8MrgYSJGiTlHXZvmFNtI-gwIEVX_MkAHuDZH0MMBm2SL-hVVGWMNyxY33LmmzjUA/s1600/mageia.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGd4PC2rvPpmojBb52gImC-0x4wTvIcHdxE0q9d2PoKoCAOpYzk0bGYZjakWkZ8R6acXA33U_yPBnj8MrgYSJGiTlHXZvmFNtI-gwIEVX_MkAHuDZH0MMBm2SL-hVVGWMNyxY33LmmzjUA/s1600/mageia.png" height="256" width="320" /></a></div>
<br />
<br />
8) Cent OS<br />
Download page: <a href="http://www.centos.org/download/">http://www.centos.org/download/</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr0KlQ4yMQlMTGd2ntx7d55fXFcqgqXfJZhBwXrDqgN6jZ-V9-y9zSWNAfX03qqStVDKtsbNa6fGsa7RamGtDf9ax9Z0gHwYLv9tEbPHrFtdYfoh2237IExVcFop0L8qPOWdMUQabR66_W/s1600/centos.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr0KlQ4yMQlMTGd2ntx7d55fXFcqgqXfJZhBwXrDqgN6jZ-V9-y9zSWNAfX03qqStVDKtsbNa6fGsa7RamGtDf9ax9Z0gHwYLv9tEbPHrFtdYfoh2237IExVcFop0L8qPOWdMUQabR66_W/s1600/centos.png" height="256" width="320" /></a></div>
<br />
<br />
9) PCLinuxOS<br />
Download page: <a href="http://pclinuxos.com/?page_id=10">http://pclinuxos.com/?page_id=10</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHTdMXWxLN934dB7f5XxID6VJ8SZ4IX3Z8Sj2Ti-hOzSyS8XKSntEa__CEKgGfnquBA4wQpTOcgemxfsUc4y6nfBj2DFvoIU4vH8KtxmYgM5EIhwDUmdtMs51u971eqyaM26qSSoKpt3E-/s1600/pclinuxos.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHTdMXWxLN934dB7f5XxID6VJ8SZ4IX3Z8Sj2Ti-hOzSyS8XKSntEa__CEKgGfnquBA4wQpTOcgemxfsUc4y6nfBj2DFvoIU4vH8KtxmYgM5EIhwDUmdtMs51u971eqyaM26qSSoKpt3E-/s1600/pclinuxos.png" height="256" width="320" /></a></div>
<br />
<br />
10) FreeBSD<br />
Download page: <a href="https://www.freebsd.org/where.html">https://www.freebsd.org/where.html</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsN_SkLCx6nt85hkZzbBQOAPiDHuhMOWPNScpNt_FPqjQD_19zSB7W_jxtVZKEAHaROpTO5Ed0o1xYrn0mMBYxcoMZ4AbTQ8nBU4-LWboyzzJVX3W0vKJanqqUAwAobdVepJRlkn1AYgRP/s1600/freebsd.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsN_SkLCx6nt85hkZzbBQOAPiDHuhMOWPNScpNt_FPqjQD_19zSB7W_jxtVZKEAHaROpTO5Ed0o1xYrn0mMBYxcoMZ4AbTQ8nBU4-LWboyzzJVX3W0vKJanqqUAwAobdVepJRlkn1AYgRP/s1600/freebsd.png" height="256" width="320" /></a></div>
<br />
<br />
So what are you waiting for. Just choose your favorite Linux OS and download it today!<br />
Share your experience with the community.<br />
<br />
Thanks for reading.<br />
Enjoy and be open!<br />
<a href="http://yeslinux.blogspot.com/" target="_blank">Amit Naik</a><br />
<br />
<br /></div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com2tag:blogger.com,1999:blog-3736903704433726872.post-81516520999176793302013-10-10T04:22:00.002-07:002014-09-18T00:03:57.832-07:00How to podcast feeds using FeedBurner<div dir="ltr" style="text-align: left;" trbidi="on">
Hey Guys,<br />
<br />
Now I have my very own <b>podcast </b>powered by <b>FeedBurner! </b>You can also burn feeds of your blog or for your website! Process is very simple...<br />
<br />
<b>1)</b> Just go to http://feedburner.google.com/<br />
<b>2)</b> Sign in with your google account and then enter your blog URL at "<strong>Burn a feed right this instant"</strong><br />
<b>3)</b> Make sure you have checked <b>I am a podcaster! </b>option and then hit Next.<br />
<b>4)</b> Next step is 'Identify Feed Source', just keep the selected option and hit Next.<br />
<b>5)</b> Now final step is 'Welcome! Let us burn a feed for you'. Now after this step it will show you your FeedBurner URL. Just save that URL and show it on your blog.<br />
<br />
If you are using FeedBurner then people can subscribe to your feeds.<br />
Other blogs or websites can easily import your posts.<br />
The very important use of FeedBurner is <b>analyze </b>Feeds! You can simply track your feeds. Traffic to your feeds using its tracker. If you are logged in then just visist the admin dashboard.<br />
FeedBurner was acquired by Google Inc. on June<span style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19.1875px;"> </span><span style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19.1875px;">2007. Now it is free of cost. :) </span><br />
FeedBurner is also available in plain XML format. e.g. <a href="http://feeds.feedburner.com/blogspot/WrQrB?format=xml" target="_blank">My blog feeds in XML</a><br />
<br />
Now here, you can do one trick ;) If you are using Firefox (greatest browser ever made) then just visit your XML FeedBurner URL. At the top you will see a dropdown and Subscribe Now button. <br />
Here, just select Live Bookmarks option from dropdown! and hit Subscribe Now button. Now you will see subscribe bookmark popup. Just select your bookmark folder and save it.<br />
Now you will get to see feeds directly in your Firefox's bookmarks menu bar. :) Simply Awesome!<br />
<br />
E.g.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://i.imgur.com/VAk4m4O.png?1" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://i.imgur.com/VAk4m4O.png?1" height="208" width="320" /></a></div>
<br />
<br />
So here is my blog's FeedBurner URL :) <a href="http://feeds.feedburner.com/blogspot/WrQrB">http://feeds.feedburner.com/blogspot/WrQrB</a><br />
Now you can subscribe to my feeds!<br />
<br />
Thanks for reading,<br />
<a href="http://yeslinux.blogspot.com/" target="_blank">Amit Naik</a></div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com11tag:blogger.com,1999:blog-3736903704433726872.post-17361284449602581282013-08-28T03:33:00.001-07:002014-09-18T00:04:08.746-07:00How to Install Ruby on Rails on Ubuntu [SOLVED]<div dir="ltr" style="text-align: left;" trbidi="on">
Hello Everyone,<br />
<br />
Yesterday I have installed the Ruby on Rails on my Ubuntu 12.04. It is really a fun! I think I should share it!<br />
<br />
So following are the steps to install Ruby on Rails on Ubuntu!<br />
<br />
<div style="text-align: left;">
<span style="background-color: white; color: #660000; font-size: large;"><b>1)</b></span> When you are installing something you should always run the</div>
<b><span style="font-size: large;">sudo apt-get update </span></b><br />
This will make sure that we have all packages installed and up to date :)<br />
<br />
<b style="color: #660000; font-size: x-large;">2)</b> After update you should install RVM ( <a href="https://rvm.io/" target="_blank">Ruby Version Manager</a> ) Now, RVM is really a cool unix-like software platform designed to manage multiple installations of Ruby on the same device. You can install RVM using CURL only. So very first, you have to make sure that CURL is installed on your ubuntu.<br />
Just run below command to install CURL<br />
<b><span style="font-size: large;">sudo apt-get install curl</span></b><br />
<b><span style="font-size: large;"><br /></span></b>
Now after CURL you can install RVM with below command<br />
<b><span style="font-size: large;">\curl -L https://get.rvm.io | bash -s stable</span></b><br />
<b><span style="font-size: large;"><br /></span></b>
<br />
<div style="text-align: left;">
<b style="color: #660000; font-size: x-large;">3)</b> Now you have successfully installed Ruby Version Manager! Now lets install Ruby! But wait, before that have you checked the dependencies for RVM ? You can check it with below command</div>
<div style="text-align: left;">
<b><span style="font-size: large;">rvm requirements</span></b></div>
<div style="text-align: left;">
Just resolve the <a href="http://en.wikipedia.org/wiki/Dependency_hell" target="_blank">Dependencies</a> :) It is really a painful procedure! but dependencies may vary from user to user! so you have to solve it on your own!</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<b style="color: #660000; font-size: x-large;">4)</b> Now lets install Ruby! with below command</div>
<div style="text-align: left;">
<b><span style="font-size: large;">rvm install 1.9.3</span></b> </div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
Now you have installed Ruby! Just tell your machine to use 1.9.3 as default with below command</div>
<div style="text-align: left;">
<b><span style="font-size: large;">rvm use 1.9.3 --default</span></b></div>
<div style="text-align: left;">
<b><span style="font-size: large;"><br /></span></b></div>
<div style="text-align: left;">
After setting 1.9.3 as default lets get the Ruby gem. RVM now provides a 'rubygems' CLI command which allows you to change the rubygems version for the installed interpreter. In order to install the most recent RubyGems that RVM knows about you can do. Use below command to install </div>
<div style="text-align: left;">
<b><span style="font-size: large;">rvm rubygems current</span></b></div>
<div style="text-align: left;">
<b><span style="font-size: large;"><br /></span></b></div>
<div style="text-align: left;">
<b style="color: #660000; font-size: x-large;">5)</b> Now we have Ruby installed, all we need to install is Rails! and its dependencies through RubyGems</div>
<div style="text-align: left;">
use below command to install Rails</div>
<div style="text-align: left;">
<b><span style="font-size: large;">gem install rails</span></b></div>
<div style="text-align: left;">
<b><span style="font-size: large;"><br /></span></b></div>
<div style="text-align: left;">
<b style="color: #660000; font-size: x-large;">6)</b> Now finally after installing Rails! you can create your very own application skeleton and start the server!</div>
<div style="text-align: left;">
E.g. <b><span style="font-size: large;">rails new path/to/your/new/application</span></b></div>
<b><span style="font-size: large;">cd path/to/your/new/application</span></b><br />
<b><span style="font-size: large;">rails server</span></b><br />
<b><span style="font-size: large;"><br /></span></b>
You are now running Ruby on Rails! :)<br />
I hope it helped you :)<br />
<br />
<br />
Thanks for reading!<br />
<br />
Enjoy & be open<br />
<a href="http://yeslinux.blogspot.com/" target="_blank">Amit Naik</a><br />
<div style="text-align: left;">
<br /></div>
</div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com1tag:blogger.com,1999:blog-3736903704433726872.post-7341501900772046022013-08-26T01:39:00.004-07:002019-08-14T02:38:33.452-07:00Happy 22nd anniversary Linux! Celebrating 22 glorious years!<script async='async' src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3241753286156583",
enable_page_level_ads: true
});
</script>
<div dir="ltr" style="text-align: left;" trbidi="on">
Hello Everyone,<br />
<br />
Today is 22nd anniversary of Linux! On this occasion let me share the best video of '<b>The story of linux'</b>. This is the power of Linux. <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="https://ytimg.googleusercontent.com/vi/5ocq6_3-nEw/0.jpg" height="266" width="320"><param name="movie" value="https://youtube.googleapis.com/v/5ocq6_3-nEw&source=uds" /><param name="bgcolor" value="#FFFFFF" /><param name="allowFullScreen" value="true" /><embed width="320" height="266" src="https://youtube.googleapis.com/v/5ocq6_3-nEw&source=uds" type="application/x-shockwave-flash" allowfullscreen="true"></embed></object></div>
<br />
Lets celebrate this occasion by downloading your favorite Linux distribution!<br />
There are many linux distributions available. If you want to choose one of them then please go<b> <a href="http://distrowatch.com/" target="_blank">here.</a></b><br />
<b></b><br />
<br />
<br />
<b>Top 3 are::</b><br />
<b>1) <a href="http://distrowatch.com/table.php?distribution=mint" target="_blank">Linux Mint</a></b><br />
<b>2) <a href="http://distrowatch.com/table.php?distribution=ubuntu" target="_blank">Ubuntu</a></b><br />
<b>3) <a href="http://distrowatch.com/table.php?distribution=debian" target="_blank">Debain</a></b><br />
<br />
<br />
Thanks for reading.<br />
Enjoy & Be Open,<br />
<a href="http://yeslinux.blogspot.com/" target="_blank">Amit Naik</a><b><br /></b>
</div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com0tag:blogger.com,1999:blog-3736903704433726872.post-769039931393802432013-08-20T08:16:00.000-07:002019-08-14T02:41:14.164-07:00New XAMPP security concept [solved]<script async='async' src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3241753286156583",
enable_page_level_ads: true
});
</script>
<div dir="ltr" style="text-align: left;" trbidi="on">
Hello Everyone,<br />
<br />
I have just downloaded the new XAMPP 1.8.0. and got the error at localhost/phpmyadmin<br />
<b><br /></b>
<b>New XAMPP security concept:<br /><br />Access to the requested object is only available from the local network.<br /><br />This setting can be configured in the file "httpd-xampp.conf".<br /><br />If you think this is a server error, please contact the webmaster.<br /><br />Error 403<br /><br />localhost</b><br />
<br />
<span style="color: #274e13; font-size: large;">So the <b>solution for this is as follows</b>:</span><br />
<br />
<div style="text-align: left;">
<span style="background-color: white; color: #274e13; font-size: large;">1)</span> Open<b> httpd-xampp.conf </b>which is at <b>/opt/lampp/etc/extra/</b></div>
<div style="text-align: left;">
<b><br /></b></div>
<span style="background-color: white; color: #274e13; font-size: large;">2)</span> Find<b> <Directory "/opt/lampp/phpmyadmin"></b><br />
<b><br /></b>
<span style="background-color: white; color: #274e13; font-size: large;">3)</span> Now just add <b>Require all granted</b> before </Directory><br />
<br />
<span style="background-color: white; color: #274e13; font-size: large;">4)</span> So the code will look like this<br />
<b> <Directory "/opt/lampp/phpmyadmin"><br /> AllowOverride AuthConfig Limit<br /> Order allow,deny<br /> Allow from all<br /> Require all granted<br /> </Directory></b><br />
<span style="background-color: white; color: #274e13; font-size: large;">5)</span> Now finally Restart the xampp with this command<b> /opt/lampp/lampp restart</b><br />
<br />
That's it and you are Done!<br />
<br />
Found it helpful ? <b>Comment's please</b> :)<br />
<b><br /></b>
<b><br /></b>Thanks for reading.<br />
Enjoy & Be Open<br />
<a href="http://yeslinux.blogspot.com/" target="_blank">Amit Naik</a></div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com48tag:blogger.com,1999:blog-3736903704433726872.post-33055611624997670922013-07-15T08:08:00.003-07:002020-12-21T00:14:55.958-08:00Google Map Street View Offroad<script async="async" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3241753286156583",
enable_page_level_ads: true
});
</script>
<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0J563o_hurOiVdtF0mhL4JTXK-06odllaE_8fXb3PdkzGmV1xV2XhJrpUf0wxZEnGKVkoVxqnRG24XVeEcIy3oKAwkmUuU7t2YvV4aw20w7ZzAlH493qJK2N3oIO8bBqx6dJ49K1JWiqd/s1600/G13itVQ.png" style="clear: left; display: inline; margin-bottom: 1em; margin-right: 1em; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0J563o_hurOiVdtF0mhL4JTXK-06odllaE_8fXb3PdkzGmV1xV2XhJrpUf0wxZEnGKVkoVxqnRG24XVeEcIy3oKAwkmUuU7t2YvV4aw20w7ZzAlH493qJK2N3oIO8bBqx6dJ49K1JWiqd/s1600/G13itVQ.png" /></a></div>
<a href="https://en.wikipedia.org/wiki/Google_Maps" target="_blank">Google map</a>! we all are fan of it right ? especially its <a href="https://en.wikipedia.org/wiki/Google_Street_View" target="_blank">street view</a>. All you need to do is drag & drop the little yellow fella on map and you are in street view.<br />
Have you ever imagined how it is done ? well, some of you might know that it is done with Google Street view cars. Like this one<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFFKfRrx2C-sneu9VI9mf6OHecC1JcuDoyQgorF-larJgpRLNCbJCDKNdN-tbPVwysFU6f4iMtqB4LJodgRw0BG5V71BEA4dvW1_L5PEYfNHQP5P2b-1GVuQjGof_CxAMTOxo7KZAc8pgM/s1600/google-maps-fu2.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="292" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFFKfRrx2C-sneu9VI9mf6OHecC1JcuDoyQgorF-larJgpRLNCbJCDKNdN-tbPVwysFU6f4iMtqB4LJodgRw0BG5V71BEA4dvW1_L5PEYfNHQP5P2b-1GVuQjGof_CxAMTOxo7KZAc8pgM/s400/google-maps-fu2.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Well, please ignore the lady and look at the technology. This street view car is though recording 360° views of streets with a High Quality camera on top of it. Most of the people would say "Meh.. I already know this".<br />
But what about places like jungle, volcano side etc. Can google map able to provide us a street view there ? Answer is YES.<br />
<br />
Meet Mr.Chris Fiock who is a Street View Operations Lead at Google (Right) teaching Mr.Jaci Matsuo (middle)Trekker of Hawaii Forest.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsP_heUpg3UACmGL9yaEZaPU-VV-wxqqra_N9r3NxuW2Rq5NZDm2kzoiNT2K1smyeiB7QuHw2nUx4lUuJlbEvsq3ijKCxs6RU1PugWlI89_vV2VnKV38c-tOKZ8LorY_fxLugoyPY3kRHo/s1600/googlepd.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="277" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsP_heUpg3UACmGL9yaEZaPU-VV-wxqqra_N9r3NxuW2Rq5NZDm2kzoiNT2K1smyeiB7QuHw2nUx4lUuJlbEvsq3ijKCxs6RU1PugWlI89_vV2VnKV38c-tOKZ8LorY_fxLugoyPY3kRHo/s400/googlepd.jpg" width="400" /></a></div>
<br />
Now with this cool backpack Street view recorder, Google now able to record some of the wildest areas. When I say "wildest" then it means, you can simply walk in mordor with this one.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfgWv-K9hSsd-g82KtukofjbkBHL3NjL6NozMzSIMqR1GmyDcOEABeVYYZZtfftRK7JOyI0l_svzGWqOI2IffzxzWBEiI2a6tn-JrJy-A6FmQzCEZf5NAzmSm_en8k8gKpg8wDYMFp16Sk/s1600/next1map.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="265" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfgWv-K9hSsd-g82KtukofjbkBHL3NjL6NozMzSIMqR1GmyDcOEABeVYYZZtfftRK7JOyI0l_svzGWqOI2IffzxzWBEiI2a6tn-JrJy-A6FmQzCEZf5NAzmSm_en8k8gKpg8wDYMFp16Sk/s400/next1map.JPG" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0_vh8MxA-9kJzfZtBBQPPj4hKnqnMfWMdPFGuu1qFMeJZcImmfzf2bXCLDBm2sRgCJxMHHCtJTd-wW0D0QpHQQnfJEAOJlc-F6KMi8NmZdCcyv-cXcppVnBFX85gbTDRhOTqhjLnPJVDN/s1600/next3.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0_vh8MxA-9kJzfZtBBQPPj4hKnqnMfWMdPFGuu1qFMeJZcImmfzf2bXCLDBm2sRgCJxMHHCtJTd-wW0D0QpHQQnfJEAOJlc-F6KMi8NmZdCcyv-cXcppVnBFX85gbTDRhOTqhjLnPJVDN/s400/next3.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnax4pQTP-ckawIIvK8Fx5R8NZGjXTDWVyNLw32nPCAVYV9FIacs-ffQR8-OZQvGFGKoEgdlZTAoa5YGSUUDl6kPLFGewTUmY_SZ3B-BSSVvDJ9bIUAcy-lddZP2j7X0VzDNV8c1Hw-WTT/s1600/next4.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnax4pQTP-ckawIIvK8Fx5R8NZGjXTDWVyNLw32nPCAVYV9FIacs-ffQR8-OZQvGFGKoEgdlZTAoa5YGSUUDl6kPLFGewTUmY_SZ3B-BSSVvDJ9bIUAcy-lddZP2j7X0VzDNV8c1Hw-WTT/s400/next4.JPG" width="400" /></a></div>
<br />
<br />
And there is more of it...Examples are below.<br />
<br />
1) Street View Snowmobile<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://maps.google.co.in/help/maps/streetview/images/sv-snowmobile.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="158" src="https://maps.google.co.in/help/maps/streetview/images/sv-snowmobile.png" width="200" /></a></div>
<br />
<br />
<br />
Explore <b>Street View Snowmobile</b> in Google Map click <b><a href="https://maps.google.co.in/maps?ll=50.091726,-122.885021&spn=28.999633,75.761719&z=4&layer=c&cbll=50.091726,-122.885021&panoid=0g-hTX4f7FIgRBuZyT-v5w&cbp=12,202.1,,0,-2.39&utm_campaign=en&utm_medium=et&utm_source=en-et-na-us-gns-svn&hl=en" target="_blank">here</a></b><br />
<br />
<br />
<br />
<br />
<br />
2) Street View Trike<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://maps.google.co.in/help/maps/streetview/images/sv-trike.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="158" src="https://maps.google.co.in/help/maps/streetview/images/sv-trike.png" width="200" /></a></div>
<br />
<br />
<br />
Explore <b>Street View Trike</b> in Google map click <b><a href="https://maps.google.co.in/maps?f=q&source=s_q&geocode=&sll=35.675147,-95.712891&sspn=57.071045,93.603516&ie=UTF8&il=i,Mountain+View,+California&ll=32.771579,-117.190615&spn=0.007154,0.011426&z=17&layer=c&cbll=32.771602,-117.19069&panoid=Hp69b1CYsUt1J5BGJFcHkA&cbp=12,87.7,,0,-9.37&hl=en" target="_blank">here</a></b><br />
<br />
<br />
<br />
<br />
<br />
3) Street View Trolley</div><div dir="ltr" style="text-align: left;" trbidi="on"><br /></div><div dir="ltr" style="text-align: left;" trbidi="on"><br /></div><div dir="ltr" style="text-align: left;" trbidi="on"><img height="143" src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBx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NlFwO2zBj+96mqdJ09a6uoii81OhDzrq6sZDgt1Hv2xM11dWMeKaWBXV1TkykFix22k08wrq6gMNs9MnUxXldRSsEnSJKIANKWBXtdVCR4K8YV1dWMNAz5f3tXd3XV1SfJSIg2aYv4MEV1dQCwRxnYNHYvafuiTsBKn1X+kV1vshigI+2nL0yN/866uptzF2ofwnYSyDmuO909DAUnzA1PuaJsPh0RYUABRoBoABygV1dWbbCkhS6+9LmurqohBp219KYuXNfWurqIGMFtJqNiLmmv1rq6tWDWRGvivK6uoUE//Z" style="margin: auto; text-align: center; user-select: none;" width="215" /> Explore <b>Street View Trolley</b> in Google map click <b><a href="https://maps.google.co.in/maps?f=q&source=s_q&geocode=&spn=35.90509,77.695313&ie=UTF8&hq=Metropolitan+Museum+of+Art,&hnear=New+York&ll=40.780078,-73.963373&spn=0.003989,0.009484&z=17&layer=c&cbll=40.780038,-73.963374&panoid=xayBNuhEVp2uIaUM_zsryg&cbp=12,16.42,,0,-0.09&hl=en" target="_blank">here</a></b></div><div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<br /><br />
<br />
<br />
<br />
<br />
<br />
Coolest part of Google map street view is, it is now open to all. If you are a tourism board, non-profit, government agency, university, research organization or other entity interested in borrowing a Street View Trekker to capture and share imagery from a place you know and care about, please <a href="https://goo.gl/swkt2" target="_blank">Apply Today</a>.<br />
<br />
Thanks for reading! I hope you liked it.<br />
Amit Naik</div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com0tag:blogger.com,1999:blog-3736903704433726872.post-43398169974003201982013-03-07T02:35:00.001-08:002019-08-14T02:09:17.633-07:00Google Chrome's Data Compression Proxy<div dir="ltr" style="text-align: left;" trbidi="on">
<script async="async" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3241753286156583",
enable_page_level_ads: true
});
</script>
<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Hey Guys,<br />
<br />
I was just checking the New Google Chrome for Android. It is really a faster android browser.<br />
Infact Google is now comeup with Data Compression Proxy settings.<br />
<br />
Now you might think <b>what is Data Compression Proxy</b>?<br />
<br />
As per Google this latest Chrome Beta for Android includes an experimental feature to reduce cellular data usage and speed up mobile web browsing,<br />
using proxy servers hosted at Google to optimize website content.<br />
<br />
In Google's internal testing, this feature has been shown to reduce data usage by 50% and speed up page load times on cellular networks!<br />
<br />
You can also enable this awesome feature.<br />
<b>To enable Data Compression Proxy settings do the following steps in your new Beta Chrome browser</b>.<br />
<b>1) </b>Visit chrome://flags in your browser<br />
<b>2) </b>Select “Enable Data Compression Proxy”<br />
Plain and simple. You are done.<br />
<br />
Now after enabling this feature you would be able to reduce overall data usage and speed up the page load times. This feature is performed by Google's massive powerful servers.<br />
Chrome mobile opens a dedicated SPDY connection between your phone and one of the optimization servers running in Google’s datacenters and relays all HTTP requests over this connection.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6n8PSr_NzZRZ3sC7cCz3I3K2DV-tVXDyPByso4i38w3poJNcbgx7JNsDxHNFNigSuwgtCjzqhQu8z1Dd8dibQjALolfGeUgpd-nLQn9Hp73PhR96VUAHXi4YiTmr5RoR89KPitg8EJPOT/s1600/zCCMKaR.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="172" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6n8PSr_NzZRZ3sC7cCz3I3K2DV-tVXDyPByso4i38w3poJNcbgx7JNsDxHNFNigSuwgtCjzqhQu8z1Dd8dibQjALolfGeUgpd-nLQn9Hp73PhR96VUAHXi4YiTmr5RoR89KPitg8EJPOT/s400/zCCMKaR.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<b>SPDY for speed</b></div>
<div class="separator" style="clear: both; text-align: left;">
<b><br /></b></div>
<div class="separator" style="clear: both; text-align: left;">
The connection from the mobile device to the proxy runs over SPDY, an optimized protocol for the Web that is supported by Chrome, Firefox and Opera, and is also the basis for the forthcoming HTTP/2.0 standard being developed in the IETF. For more info on SPDY go to open source Chromium Projects SPDY page >> http://www.chromium.org/spdy</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Thanks for reading,</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Enjoy and Be Open.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
</div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com1tag:blogger.com,1999:blog-3736903704433726872.post-28789255469660344452013-01-21T03:40:00.001-08:002019-08-14T02:08:58.337-07:00PHP BACKDOOR / C99 SHELL<div dir="ltr" style="text-align: left;" trbidi="on">
<script async="async" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3241753286156583",
enable_page_level_ads: true
});
</script>
<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div class="MsoNormal">
PHP BACKDOOR SCRIPT<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Today we will talk about php backdoor ;) <o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Its nothing but cool php script that we can use in order to<o:p></o:p><br />
<br /></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<span style="text-indent: -0.25in;">1)</span><span style="font-size: 7pt; text-indent: -0.25in;">
</span><span style="text-indent: -0.25in;">Travel across directories</span><br />
<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->2)<span style="font-size: 7pt;">
</span><!--[endif]-->View files<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->3)<span style="font-size: 7pt;">
</span><!--[endif]-->Edit files<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->4)<span style="font-size: 7pt;">
</span><!--[endif]-->Download files<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->5)<span style="font-size: 7pt;">
</span><!--[endif]-->Delete files<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->6)<span style="font-size: 7pt;">
</span><!--[endif]-->Edit files<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->7)<span style="font-size: 7pt;">
</span><!--[endif]-->Upload files<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->8)<span style="font-size: 7pt;">
</span><!--[endif]-->Execute MySql queries / commands<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->9)<span style="font-size: 7pt;">
</span><!--[endif]-->Bypass mod_security<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->10)<span style="font-size: 7pt;">
</span><!--[endif]-->Permissions to directory/folders<o:p></o:p></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: .75in; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;">
<!--[if !supportLists]-->11)<span style="font-size: 7pt;">
</span><!--[endif]-->Execute shell commands <o:p></o:p></div>
<div class="MsoNormal" style="margin-left: .5in;">
<br /></div>
<div class="MsoNormal" style="margin-left: .5in;">
In short this is a script which
everyone must have. But always remember it’s a hack don’t upload it on your
server. If you upload it on any apache server anyone can play GOD. So don’t forget to remove from
server when you are done.<o:p></o:p><br />
I have uploaded it on my github.</div>
<div class="MsoNormal" style="margin-left: .5in;">
<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: .5in;">
<br /></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b><br /></b>
<b><br /></b>
<b>LINK: <o:p></o:p><a href="https://github.com/amitnaik/php-backdoor/blob/master/backdoor.php" target="_blank">My GITHUB backdoor script</a></b><br />
<br />
<br />
<br />
<br />
<span style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;">Thanks for reading.</span><br />
<br style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;" />
<span style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;">Enjoy & Be Open</span>
</div>
</div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com31tag:blogger.com,1999:blog-3736903704433726872.post-61800386275822333412012-12-18T12:24:00.001-08:002012-12-18T12:26:14.446-08:00Flush drupal cache from code<div dir="ltr" style="text-align: left;" trbidi="on">
Hey everyone,<br />
<br />
Today I would like to share how to recover a blank drupal website using cache clear. Most of the times we change our websites from one server to another. In drupal when we do that our database tables and files messes the cache settings. But while this is happening in database your websites goes blank or it goes unreachable so in that case you have to run one drupal function which will help you to rebuild the registry, rebuild the menu, rebuild the path.<br />
<br />
All you need to do is put the code either on page--front.tpl.php or on page.tpl.php.<br />
<br />
<br />
<pre class="php" style="-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f6f6f2; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #222222; font-family: 'Bitstream Vera Sans Mono', Monaco, 'Lucida Console', monospace; font-size: 0.923em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17.983333587646484px; margin: 0px; orphans: 2; overflow: auto; padding: 1px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: pre-wrap; widows: 2; word-spacing: 0px;"><code style="background-color: #f6f6f2; background-position: initial initial; background-repeat: initial initial; border: 0px; font-family: 'Bitstream Vera Sans Mono', Monaco, 'Lucida Console', monospace; font-size: 0.923em; line-height: 1.5em; margin: 0px; padding: 1px; vertical-align: baseline; white-space: pre-wrap;"><?php</code></pre>
<pre class="php" style="background-color: #f6f6f2; border: 0px none; color: #222222; font-family: 'Bitstream Vera Sans Mono',Monaco,'Lucida Console',monospace; font-size: 0.923em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17.9833px; margin: 0px; orphans: 2; overflow: auto; padding: 1px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: pre-wrap; widows: 2; word-spacing: 0px;"><code style="background-color: #f6f6f2; background-position: initial initial; background-repeat: initial initial; border: 0px; font-family: 'Bitstream Vera Sans Mono', Monaco, 'Lucida Console', monospace; font-size: 0.923em; line-height: 1.5em; margin: 0px; padding: 1px; vertical-align: baseline; white-space: pre-wrap;"><span class="php-comment" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #666666; font-size: 11px; margin: 0px; padding: 0px; vertical-align: baseline;">// This will Change query-strings on css/js files to enforce reload for all users.</span></code><code style="background-color: #f6f6f2; border: 0px none; font-family: 'Bitstream Vera Sans Mono',Monaco,'Lucida Console',monospace; font-size: 0.923em; line-height: 1.5em; margin: 0px; padding: 1px; vertical-align: baseline; white-space: pre-wrap;"> </code></pre>
<pre class="php" style="background-color: #f6f6f2; border: 0px none; color: #222222; font-family: 'Bitstream Vera Sans Mono',Monaco,'Lucida Console',monospace; font-size: 0.923em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17.9833px; margin: 0px; orphans: 2; overflow: auto; padding: 1px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: pre-wrap; widows: 2; word-spacing: 0px;"><code style="background-color: #f6f6f2; border: 0px none; font-family: 'Bitstream Vera Sans Mono',Monaco,'Lucida Console',monospace; font-size: 0.923em; line-height: 1.5em; margin: 0px; padding: 1px; vertical-align: baseline; white-space: pre-wrap;"> <span class="php-function-or-constant" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #0000aa; font-size: 11px; margin: 0px; padding: 0px; vertical-align: baseline;"><a class="local" href="http://api.drupal.org/api/drupal/includes%21common.inc/function/_drupal_flush_css_js/7" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #0000aa; font-size: 11px; font-weight: bold; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" title="Changes the dummy query string added to all CSS and JavaScript files.">_drupal_flush_css_js</a></span>(); </code><code style="background-color: #f6f6f2; background-position: initial initial; background-repeat: initial initial; border: 0px; font-family: 'Bitstream Vera Sans Mono', Monaco, 'Lucida Console', monospace; font-size: 0.923em; line-height: 1.5em; margin: 0px; padding: 1px; vertical-align: baseline; white-space: pre-wrap;"></code></pre>
<pre class="php" style="background-color: #f6f6f2; border: 0px none; color: #222222; font-family: 'Bitstream Vera Sans Mono',Monaco,'Lucida Console',monospace; font-size: 0.923em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17.9833px; margin: 0px; orphans: 2; overflow: auto; padding: 1px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: pre-wrap; widows: 2; word-spacing: 0px;"><code style="background-color: #f6f6f2; border: 0px none; font-family: 'Bitstream Vera Sans Mono',Monaco,'Lucida Console',monospace; font-size: 0.923em; line-height: 1.5em; margin: 0px; padding: 1px; vertical-align: baseline; white-space: pre-wrap;"><span class="php-comment" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #666666; font-size: 11px; margin: 0px; padding: 0px; vertical-align: baseline;"></span></code><code style="background-color: #f6f6f2; border: 0px none; font-family: 'Bitstream Vera Sans Mono',Monaco,'Lucida Console',monospace; font-size: 0.923em; line-height: 1.5em; margin: 0px; padding: 1px; vertical-align: baseline; white-space: pre-wrap;">
<span class="php-function-or-constant" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #0000aa; font-size: 11px; margin: 0px; padding: 0px; vertical-align: baseline;"><a class="local" href="http://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/registry_rebuild/7" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #0000aa; font-size: 11px; font-weight: bold; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" title="Rescans all enabled modules and rebuilds the registry.">registry_rebuild</a></span>(); </code><code style="background-color: #f6f6f2; background-position: initial initial; background-repeat: initial initial; border: 0px; font-family: 'Bitstream Vera Sans Mono', Monaco, 'Lucida Console', monospace; font-size: 0.923em; line-height: 1.5em; margin: 0px; padding: 1px; vertical-align: baseline; white-space: pre-wrap;"><span class="php-comment" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #666666; font-size: 11px; margin: 0px; padding: 0px; vertical-align: baseline;">//To rebuild module data</span></code><code style="background-color: #f6f6f2; border: 0px none; font-family: 'Bitstream Vera Sans Mono',Monaco,'Lucida Console',monospace; font-size: 0.923em; line-height: 1.5em; margin: 0px; padding: 1px; vertical-align: baseline; white-space: pre-wrap;">
<span class="php-function-or-constant" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #0000aa; font-size: 11px; margin: 0px; padding: 0px; vertical-align: baseline;"><a class="local" href="http://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_clear_css_cache/7" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #0000aa; font-size: 11px; font-weight: bold; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" title="Deletes old cached CSS files.">drupal_clear_css_cache</a></span>(); </code><code style="background-color: #f6f6f2; border: 0px none; font-family: 'Bitstream Vera Sans Mono',Monaco,'Lucida Console',monospace; font-size: 0.923em; line-height: 1.5em; margin: 0px; padding: 1px; vertical-align: baseline; white-space: pre-wrap;"></code><code style="background-color: #f6f6f2; background-position: initial initial; background-repeat: initial initial; border: 0px; font-family: 'Bitstream Vera Sans Mono', Monaco, 'Lucida Console', monospace; font-size: 0.923em; line-height: 1.5em; margin: 0px; padding: 1px; vertical-align: baseline; white-space: pre-wrap;"><span class="php-comment" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #666666; font-size: 11px; margin: 0px; padding: 0px; vertical-align: baseline;">//This will flushes the cached css</span></code>
<code style="background-color: #f6f6f2; border: 0px none; font-family: 'Bitstream Vera Sans Mono',Monaco,'Lucida Console',monospace; font-size: 0.923em; line-height: 1.5em; margin: 0px; padding: 1px; vertical-align: baseline; white-space: pre-wrap;"> <span class="php-function-or-constant" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #0000aa; font-size: 11px; margin: 0px; padding: 0px; vertical-align: baseline;"><a class="local" href="http://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_clear_js_cache/7" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #0000aa; font-size: 11px; font-weight: bold; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" title="Deletes old cached JavaScript files and variables.">drupal_clear_js_cache</a></span>(); </code><code style="background-color: #f6f6f2; border: 0px none; font-family: 'Bitstream Vera Sans Mono',Monaco,'Lucida Console',monospace; font-size: 0.923em; line-height: 1.5em; margin: 0px; padding: 1px; vertical-align: baseline; white-space: pre-wrap;"></code><code style="background-color: #f6f6f2; background-position: initial initial; background-repeat: initial initial; border: 0px; font-family: 'Bitstream Vera Sans Mono', Monaco, 'Lucida Console', monospace; font-size: 0.923em; line-height: 1.5em; margin: 0px; padding: 1px; vertical-align: baseline; white-space: pre-wrap;"><span class="php-comment" style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #666666; font-size: 11px; margin: 0px; padding: 0px; vertical-align: baseline;">//This will flushes the cached js</span></code>
</pre>
<pre class="php" style="background-color: #f6f6f2; border: 0px none; color: #222222; font-family: 'Bitstream Vera Sans Mono',Monaco,'Lucida Console',monospace; font-size: 0.923em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17.9833px; margin: 0px; orphans: 2; overflow: auto; padding: 1px; text-align: start; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: pre-wrap; widows: 2; word-spacing: 0px;"><code style="background-color: #f6f6f2; border: 0px none; font-family: 'Bitstream Vera Sans Mono',Monaco,'Lucida Console',monospace; font-size: 0.923em; line-height: 1.5em; margin: 0px; padding: 1px; vertical-align: baseline; white-space: pre-wrap;">?> </code></pre>
<br />
<br />
Remember that do not put this code in any if else condition just put it either on page.tpl.php or on front page of your drupal site. And then hit the URL in any browser. Then our code will get executed. Our code would then flush the js and css for all users. Then it would rebuild the registry of all modules. Then it would clear the css cache and then js cache.<br />
So now this would defiantly bring the drupal site back on its feet. <br />
<br />
Thanks for reading.<br />
<br />
Enjoy & Be Open</div>
Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com3tag:blogger.com,1999:blog-3736903704433726872.post-46708019683140090382012-06-02T09:37:00.000-07:002012-06-02T10:51:43.501-07:00copy image using wget PHP<div dir="ltr" style="text-align: left;" trbidi="on">
Hello everyone,<br />
I have just written a PHP script to wget any image.<br />
All you need to do is get the full path of your image e.g.<br />
<a href="http://www.google.co.in/images/srpr/logo3w.png">http://www.google.co.in/images/srpr/logo3w.png</a> is path to google logo.<br />
So now lets wget google's logo.<br />
<br />
<br />
<?php<br />
<br />
<br />
$mainimage = "http://www.google.co.in/images/srpr/logo3w.png";<span class="Apple-tab-span" style="white-space: pre;"> </span>//this would be the path of your live image which you want to download<br />
<br />
$thebasename = basename($mainimage);<span class="Apple-tab-span" style="white-space: pre;"> </span>//here we will get logo3w.png i.e. name of file<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
<br />
$filename = explode(".", $thebasename);<span class="Apple-tab-span" style="white-space: pre;"> </span>//explode it with extention<br />
$i=0;<br />
do {<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>if($i > 0) $filename[0]++;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>else $filename[0] = $filename[0].$i;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>$i++;<br />
}while(file_exists("tmp_cover/".$filename[0].".".$filename[1]));<span class="Apple-tab-span" style="white-space: pre;"> </span>//typical do while to check for unique file name<br />
$image_dir = "tmp_cover/";<span class="Apple-tab-span" style="white-space: pre;"> </span>//this will be your directory where you want to save your image<br />
$fresh_file = $filename[0].".".$filename[1];<span class="Apple-tab-span" style="white-space: pre;"> </span>//this is our renamed file if file already exists<br />
$image_drs = $image_dir.$fresh_file;<span class="Apple-tab-span" style="white-space: pre;"> </span>//i have concatinated the path so it becomes easier to use in wget function<br />
system("wget -q \"$mainimage\" -O $image_drs"); //image uploaded with wget -q<br />
<br />
<br />
/*<br />
Notes:<br />
1)Please check if your wget version is wget v1.12 and php is php v5.3.1 or greater.<br />
2)Give full permissions to your files (chmod 777 your_dir) or use filezilla client to give full permission to your folder.<br />
3)I have created tmp_cover folder at /opt/lampp/htdocs with 777 permissions.<br />
/*<br />
<br />
?></div>Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com12tag:blogger.com,1999:blog-3736903704433726872.post-32204332620175336062012-03-28T14:01:00.000-07:002012-03-28T14:05:28.095-07:00see the webpage in 3d with firefox 11.0<div dir="ltr" style="text-align: left;" trbidi="on">
<meta name='keywords' content="how to see 3d webpage in firefox, how to see 3d in firefox, 3d webpage, see 3d page in firefox, firefox 11,firefox 11.0, 3d firebug, see 3d page firebug" />
Hello guys,
<br />
I just saw the brand new <b>firefox</b> which is <b>11.0</b> for windows. It is really the performance browser. <br />
If you install the new <b>firebug</b> it will allow you to view any webpage in 3d mode. Just right click on webpage and select <b>Inspect Element</b>. After that you will see the new firebug bar at the bottom of your page then click on the 3d button which is at the right bottom. Now you are in 3d mode.<br />
To zoom in or zoom out just use <b>control</b> <b>+</b> <b>mouse scroll</b> or to view from different angle just press <b>control key</b> + <b>left mouse key</b> + <b>move the mouse</b> <b>pointer</b>.<br />
<br />
Here are some of the screenshots in 3d mode of <a href="http://yeslinux.blogspot.com/" rel="">my blog</a>.<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7o-nhWyhdEGYlUnZmm6JyP-USFzG2nb6KRJvaY166VQCr59CQldT_BanP8jCAIV1Kkl85u9dBVSaAnbQ4GEFNDh8fKZaW-Ca47jv1AWGzVGpk6fnxeSXLw2J9EY8qKdNEVJmQwueXC5mX/s1600/myblog.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="223" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7o-nhWyhdEGYlUnZmm6JyP-USFzG2nb6KRJvaY166VQCr59CQldT_BanP8jCAIV1Kkl85u9dBVSaAnbQ4GEFNDh8fKZaW-Ca47jv1AWGzVGpk6fnxeSXLw2J9EY8qKdNEVJmQwueXC5mX/s400/myblog.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDJ3tSxWHS8NIizBEohvTdBtGcEZ-OKGf5tH58K2WBJI9vqru3CZvgNlsOIsug1jWEPrYFe-vNNwzou0ZTla6VYTaNIFPQ5yubDjTMQokVg2T-qaZk-lt75PleOYQVtWodh9T-7A2BEuXc/s1600/myblog1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="223" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDJ3tSxWHS8NIizBEohvTdBtGcEZ-OKGf5tH58K2WBJI9vqru3CZvgNlsOIsug1jWEPrYFe-vNNwzou0ZTla6VYTaNIFPQ5yubDjTMQokVg2T-qaZk-lt75PleOYQVtWodh9T-7A2BEuXc/s400/myblog1.png" width="400" /></a></div>
<br />
I think new firebug is kinda cool and really advance. There are lots of new features in it.<br />
<br />
<br />
Enjoy & be open.<br />
long live linux.
</div>Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com0tag:blogger.com,1999:blog-3736903704433726872.post-62180997503072507442012-03-14T08:54:00.000-07:002012-03-14T09:03:34.674-07:00How to install xampp on ubuntu<div dir="ltr" style="text-align: left;" trbidi="on">
<meta name='keywords' content="install xampp in linux, install xampp in ubuntu, install xampp on linux, how to install xampp in linux,how to install xampp on linux" />
Hello Everyone,<br />
Today we will learn how to install xampp in ubuntu.<br />
<br />
1) Simply wget it with this command at terminal<br />
<b>wget http://www.apachefriends.org/download.php?xampp-linux-1.7.3a.tar.gz </b><br />
I hope you are logged in with root.<br />
<br />
2) After downloading the xampp you can cd to desktop with this command<br />
<b> cd Desktop </b>
Now you are at the Desktop.<br />
<br />
3) Enter this command to install xampp in ubuntu<br />
<b> tar xvfz xampp-linux-1.7.3a.tar.gz -C /opt </b><br />
<br />
4) Now your xampp is installed in opt folder. Now in order to create files and folders in htdocs you need to resolve the htdocs
trouble. to give permession to htdocs enter this command <b> sudo chmod 777 -R /opt/lampp/htdocs/ </b><br />
<br />
5) Now if everything is fine with no error then it is time to <b>star the xampp</b> in order to start the xampp please enter
this command <b> sudo /opt/lampp/lampp start </b><br />
<br />
6) So here are some important command to operate xampp from terminal<br />
i) To stop xampp <b> sudo /opt/lampp/lampp stop </b><br />
ii) To restart xampp <b> sudo /opt/lampp/lampp restart </b><br />
<br />
<br />
Now your xampp is installed all you need to do is start working. If you are getting any error while migrating the projects you can always check the <a href="http://yeslinux.blogspot.in/2012/02/how-to-check-error-log-on-xampp-ubuntu.html"> <b>error logs.</b></a><br />
<br />
If you have any problem just <a href="mailto:amitnaik49@gmail.com?subject=Linux%20stuff%20help%20me">
<b>mail me</b></a><br />
<br />
<br />
Enjoy & be open.<br />
long live linux.
</div>Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com7tag:blogger.com,1999:blog-3736903704433726872.post-47303917974133140502012-02-16T07:18:00.000-08:002012-02-16T07:22:59.987-08:00Download Linux system monitor<div dir="ltr" style="text-align: left;" trbidi="on">
Hello All,<br />
<br />
Are you looking for a good system monitor? Then I think <b>conky</b> is the best option. It is very lightweight application. Conky can display this info either as text, or using simple progress bars and graph widgets, with different fonts and colours. To install conky on ubuntu use this command<b> sudo apt-get install conky</b><br />
<br />
<b><span style="font-weight: normal;">After installing conky you can run it from ubuntu's Run application. Press alt + f2 and then type <b>conky </b>Now you will see the conky application.</span></b><br />
<br />
Here's the screenshot of my conky<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://fb.me/uidone" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="400" src="http://i.imgur.com/p2qRj.png" width="383" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Enjoy & be open.<br />
long live linux.<b><span style="font-weight: normal;"></span></b></div>Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com0tag:blogger.com,1999:blog-3736903704433726872.post-12466004966320087142012-02-03T00:41:00.000-08:002019-08-14T02:06:53.928-07:00How to check error log on xampp, ubuntu<div dir="ltr" style="text-align: left;" trbidi="on">
<script async="async" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3241753286156583",
enable_page_level_ads: true
});
</script>
<div dir="ltr" style="text-align: left;" trbidi="on">
Hello all,<br />
Many times we face some errors that we dont know the exact reasons so here is one way through which you can able to see the existing errors or previous errors.<br />
Apache maintains error logs in error_log file which is in /opt/lampp/logs<br />
You can open this file with your favourite text editor.<br />
<br />
<br />
<br />
Enjoy & be open.<br />
long live linux.</div>Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com3tag:blogger.com,1999:blog-3736903704433726872.post-65108651077875972312012-02-01T01:51:00.000-08:002019-08-14T02:07:29.808-07:00microsoft windows 7 vs Ubuntu<script async="async" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3241753286156583",
enable_page_level_ads: true
});
</script>
<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdwjoxANb3a2hcMisf4OnfiBYxCO6Ni6QNtX4SRNa2CS5no9-t1ZKFPfmJUyRq6tdBsrZdEPofc7owEWpD9PfVKcWvD7Z7RTEdoQsdi_eqJCPzgFrqXhRXaI0LAPoiw4w9mNaPdi4y9MPW/s1600/amitnaik.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="214" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdwjoxANb3a2hcMisf4OnfiBYxCO6Ni6QNtX4SRNa2CS5no9-t1ZKFPfmJUyRq6tdBsrZdEPofc7owEWpD9PfVKcWvD7Z7RTEdoQsdi_eqJCPzgFrqXhRXaI0LAPoiw4w9mNaPdi4y9MPW/s320/amitnaik.png" width="320" /></a></div>
<b><br /></b><br />
<b><br /></b><br />
<b><br /></b><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<b>Be smart & choose wisely </b><br />
Fore more infomarmation go here <a href="http://www.ubuntu.com/business/desktop">Ubuntu</a><br />
<br />
<br />
<br />
Enjoy & be open.<br />
long live linux.</div>Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com0tag:blogger.com,1999:blog-3736903704433726872.post-47287173569080557222011-12-07T09:16:00.001-08:002019-08-14T02:07:39.840-07:00Sound Troubleshooting in Linux<div dir="ltr" style="text-align: left;" trbidi="on">
<script async="async" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3241753286156583",
enable_page_level_ads: true
});
</script>
<div dir="ltr" style="text-align: left;" trbidi="on">
<meta name="keywords" content="linux no sounds,Command line for gnome sound preferences,ubuntu support,ubuntu help,ubuntu linux help" />
<meta name="description" content="Command line for gnome sound preferences?" />
wazzup! So today we will troubleshoot Linux sounds.<br />
I know this sucks when you are logged in as root in linux ubuntu and you can not listen the songs. So all you gotta do is to enable pulseaudio. Actually pulseaudio is (formerly Polypaudio) is a cross-platform, networked sound
server commonly used on Linux and FreeBSD operating systems. So to enable this feature you need to enter following command at your terminal <br />
<b>/usr/bin/pulseaudio </b>and then do not close the terminal. So now you can check whether your sounds are working or not. To test sounds you can enter this command <br />
<b>aplay /usr/share/sounds/alsa/Front_Center.wav</b><br />
If it is still not working then you might need to check the settings to check some input output setting enter this command <b>gnome-volume-control</b><br />
<br />
If it is still not working then you have to click on output tab of gnome-volume-control panel you can try other detected available output media.<br />
<br />
And now you are free to use sounds on Linux ubuntu. If you are using your root account daily then you can use this on startup of your linux. If it is ubuntu go to <b>system>>preferences>>Startup applications </b>click on Add button to add this command. <b> </b><br />
<br />
<span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: xx-small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="color: #333333; font-family: Arial,Tahoma,Helvetica,FreeSans,sans-serif; font-size: 15px; line-height: 20px; text-align: left;"><i>Enjoy & be open.<br />long live linux.</i></span></span></div>Amit Naikhttp://www.blogger.com/profile/09252614063039777639noreply@blogger.com0