tag:blogger.com,1999:blog-15547364894792143922024-03-19T04:57:31.010+00:00The Freedom Blog - Technology HacksThis blog is for Free Thought and occasionally, for the thoughts of the author of this blog! Technology and Open Source tools. Hacks from the world of Information Technology and my occasional rants.Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.comBlogger142125tag:blogger.com,1999:blog-1554736489479214392.post-86041927915991980312023-05-17T16:12:00.002+00:002023-05-18T11:46:50.952+00:00Share mouse keyboard between Mac and Windows without KVM<p>Here's a problem that really got me flustered for some time. I was using a Mac OSX Ventura (13.x) from work and also a personal Windows 11 but I wanted to use them at the same time - when I'm taking a break from work - for example. However I wasn't aware of how to get my input streamed to both of them and switch between then whenever I like. After a lot of research I was able to find something that worked and that was free and open source!</p><p>I could have bought a KVM switch, but why spend money when technology and FOSS can solve my problem.</p><span><a name='more'></a></span><p>Okay, so without delaying any further, here's the magic word - Barrier. It works across all major open / closed source Operating Systems and you can find the project here on Github - <a href="https://github.com/debauchee/barrier" target="_blank">https://github.com/debauchee/barrier</a>.</p><p>I've assumed both the computers are connected via a common LAN network. You could just insert an ethernet cable between the two for doing that.</p><p>A one time setup is needed to create the SSL fingerprint but that is pretty straightforward. Then configure the client with the IP of the server (the machine with the keyboard and mouse attached).</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhopDKYN0IXlKANCD1upg550g91xraa73DQrTaKptTt2k2UxxrWsbVI7sdjjIc5bYnndfzzrw2vnbhPFpyJ8Bxz1BI1PFPKyembRQQbmSjvMGOMljotizVxtUSt_-JzBhPqnVk7h7zCoR1LO5xngfu8GQCDYt99-NIqM4wtJaxgBku1FiyXkXNHWNYp/s384/2023-05-17%2017_07_17-Barrier.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="384" data-original-width="349" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhopDKYN0IXlKANCD1upg550g91xraa73DQrTaKptTt2k2UxxrWsbVI7sdjjIc5bYnndfzzrw2vnbhPFpyJ8Bxz1BI1PFPKyembRQQbmSjvMGOMljotizVxtUSt_-JzBhPqnVk7h7zCoR1LO5xngfu8GQCDYt99-NIqM4wtJaxgBku1FiyXkXNHWNYp/s320/2023-05-17%2017_07_17-Barrier.png" width="291" /></a></div><div><br /></div>And the server can be configured interactively. Just add the name of the client on the server and we are good to go!<div><br /></div><div>Note that there are a few bugs and for some time development on the project is stagnant, if you have any other better suggestions feel free to leave a comment. Thanks.<br /><p><br /></p><p></p><div class="separator" style="clear: both; text-align: center;"><br /><br /></div><br /><br /><br /><br /><p></p><p></p><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><br /><p></p></div>Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-11310606902726525682022-05-12T14:45:00.010+00:002023-03-31T14:07:43.077+00:00[OFF] Settling down in the UK (England) from India<p>It was quite a whirlwind ride for me to get settled finally in the UK after being offered to do so around in late November 2021. My employer, Apple, helped me a lot and frankly it has been so smooth for me so far since the 4 months that I landed here. The VISA process took around 1 month and after coming here I was able to get a rented apartment, bought a car on finance, got a credit card, setup my apartment and got my booster COVID-19 shot!</p><p>Some of the absolute essentials that folks who have moved to the UK with a job must have and are different from how it works in India -</p><p>1. Renting an apartment. The process of renting here is very transparent and the deposit is held with a Deposit Protection Service, so it's never a unilateral decision of not paying back the deposit held. I'm looking at you Bangalore land-lords!</p><p>2. SIM card - Of course, one of the first things you need to survive in the UK is phone number. You can get one from the airport, unlike in India, you don't need to provide your Adhaar or Voter ID card for this (or any form of ID, you can get it in a vending machine)! Any provider is fine, do check if they have 5G.</p><a name='more'></a>3. Apartment utilities - Things like Council tax (tax on the apartment paid out to the government), the power bill, water bill and the gas bill (gas is needed for heating and for cooking which arrives in pipes) are always set to the name of the tenant. In India, it's never the case and you're stuck not having any identity proof as a tenant. These are paid monthly and it's up-to you, the tenant, to register with these services.<br /><p></p><p>4. Credit card - Once you've arrived in the UK you will have ZERO credit! Your credit score in India does not matter. This means you won't be eligible for any credit cards. American Express however, has a wonderful <a href="https://www.americanexpress.com/en-gb/company/about/moving-abroad/?intlink=us-CMS-GCRunitedkingdom" target="_blank">programme</a> which allows your card to be ported over to the UK. Thus, I was able to start building my credit within 14 days of my arrival in London.</p><p>5. Bank account - Opening a bank account is tricky since they mostly require proof of residence, which in turn needs a bank account to pay your deposit from. However, I was able to open a <a href="https://join.monzo.com/c/wvkl7v4" target="_blank">Monzo</a> account pretty quickly and thanks to my employer, HSBC UK was pretty prompt in opening a Checking account for me within a month. Oh and Monzo delivered the debit card to me in like 3 days at my temporary accommodation.</p><p>6. Buying a car on finance - This is again one of the things that require a credit score. However, my employer helped me out here. They got me in touch with a Finance Company that provides finance to folks like me who have no credit in the UK. The company that helped me procure my car was Oracle Finance in association with Palmdale Motors who helped me with the car search.</p><p>7. NHS - getting registered with the NHS or the national health services, is pretty important since healthcare in the UK is free for all residents. This usually requires your tax id, i.e., the National Insurance number to get registered. The NI number can be found on the back of your BRP or biometric residence permit. This can be done entirely online. If you do try to reach them on phone, please be patient. The waits might be long, but they do work for those who are patient.</p><p>8. HMRC - HM Revenue and Customs are the next important place to get registered with <a href="https://www.gov.uk/log-in-register-hmrc-online-services" target="_blank">online</a>. If your Tax code needs changing, this can be done online or via a phone call. They will usually get in touch with you via post using the address provided by your employer. My employer provided them with an Address which wasn't even the office I was supposed to be going to, so I had to change it. It's a simple process and can be done online as well.</p><p>9. Register to vote - India is part of the commonwealth and this all Indians are eligible to vote if they are a resident of the UK. I've heard that this also affects your credit score positively, so this is something you should <a href="https://www.gov.uk/register-to-vote" target="_blank">register online</a> as soon as you can.</p><p>10. TV & Internet - Unlike India, TV and Internet connection installation can take between 4-6 weeks here in the UK. So where-ever you're planning to move, register with the provider well in advance. There's a 14-day money back guarantee for all services, keep that in mind. Check a comparison website to find out what speeds you can expect in the area where you move. A quicker option might be a 5G dongle like this - <a href="https://www.three.co.uk/store/broadband/home-broadband">https://www.three.co.uk/store/broadband/home-broadband</a></p><p>It's remarkable that most citizen services can be accessed online and they all work! Coming from India this is a welcome surprise. One might think that India is the tech capital of the world but it's also pretty corrupt when it comes to citizen services. I was able to do everything online along with a couple of hour long phone calls.</p><p>I've been meaning to write down my experiences after coming to the UK for quite some time but I wasn't sure if I was settled yet. I mean, there was so much I didn't know.</p><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRCPpmFbmh2cjXsJ0A0rL8Hp7_pnI3E42pN7m-0_jaYS5a-3x_f1b4xE0l1r_I2ufAjw-olGpqN9RaTEzNSC4ajNn8VG4ZW8SMBHJLlpKuFtfHEqOmH8utFXdHgc6ZFoIkQfm3pOS7wD5kKXyhKOdZuaqIgSfko0fF_ZEAW35hTdwLuvUJFnqUCSwj/s4000/IMG_1745.JPG" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="4000" data-original-width="3000" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRCPpmFbmh2cjXsJ0A0rL8Hp7_pnI3E42pN7m-0_jaYS5a-3x_f1b4xE0l1r_I2ufAjw-olGpqN9RaTEzNSC4ajNn8VG4ZW8SMBHJLlpKuFtfHEqOmH8utFXdHgc6ZFoIkQfm3pOS7wD5kKXyhKOdZuaqIgSfko0fF_ZEAW35hTdwLuvUJFnqUCSwj/s320/IMG_1745.JPG" width="240" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;">At Stonehenge</td></tr></tbody></table><p>Let me know what other information might be helpful to share and I will surely try my best.</p>Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-24940479606362708972022-03-15T11:02:00.005+00:002022-03-15T11:02:49.712+00:00share keyboard mouse across 2 or more laptops<p><span style="font-family: verdana;"> In my last work place - ClearedIn, I had a strange problem of having too many laptops. Initially I started off working on a beautiful Acer Laptop (Aspire 5) with Windows 10 installed but then soon realized the laptop is of no use when doing a lot of computation tasks, i.e., joining a video call on teams when chatting on slack and simultaneously working on code. So I got another laptop - hp Pavilion this time, which was way better than the Acer one. However now I had a problem, I had 2 laptops and I wanted to use both at the same time.</span></p><p><span style="font-family: verdana;">I was using 2 keyboards and 2 mice. It was a pretty messy situation, but I did feel very important! Now when I had to take a break on my personal laptop, which is by the way a Lenovo Thinkpad p52 running Windows, I had another set of keyboard and mouse. Now don't forget the monitors too. I was in a mess.</span></p><p><span></span></p><a name='more'></a><span style="font-family: verdana;">I wasn't sure there was a solution to this problem. I wanted to use the same set of input devices, i.e., the keyboard and mouse for all the devices. Monitors are okay since I'd need separate spaces to look at each anyway.</span><p></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjgziEHkUUGU0dkeqYwHEVfaTDdt_EDge6Mqh6p2_pBxM3tQ_fRhXfZ-y_s0fgj4ae1-0FAn98Pm0stSJe26VnFFE7j25PBWTAhQhgXLZEwMjUhq0gsq899RfsklAy7rRaDvhsJe9ELLe76cAMVZM3bwo1qj8LlRqinqkIjj6jV0jLrIfF9VfGTqsVb=s225" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="225" data-original-width="225" height="132" src="https://blogger.googleusercontent.com/img/a/AVvXsEjgziEHkUUGU0dkeqYwHEVfaTDdt_EDge6Mqh6p2_pBxM3tQ_fRhXfZ-y_s0fgj4ae1-0FAn98Pm0stSJe26VnFFE7j25PBWTAhQhgXLZEwMjUhq0gsq899RfsklAy7rRaDvhsJe9ELLe76cAMVZM3bwo1qj8LlRqinqkIjj6jV0jLrIfF9VfGTqsVb=w132-h132" width="132" /></a></div><span style="font-family: verdana;">So what saved me? Microsoft garage mouse without borders! A cool project from microsoft that helps me share my input devices that rescued me from my misery. Here's the link - <a href="https://www.microsoft.com/en-gb/download/details.aspx?id=35460">https://www.microsoft.com/en-gb/download/details.aspx?id=35460</a></span><p></p><p><span style="font-family: verdana;">To quote Microsoft<br /></span></p><p><span style="background-color: white; color: #505050; font-family: wf_segoe-ui_normal, Tahoma, Verdana, Arial, sans-serif; font-size: 20px;"></span></p><blockquote><p><span style="background-color: white; color: #505050; font-family: wf_segoe-ui_normal, Tahoma, Verdana, Arial, sans-serif; font-size: 20px;">Mouse without Borders (<a href="http://aka.ms/mm">http://aka.ms/mm</a>) is a product that makes you the captain of your computer fleet by allowing you to control up to four computers from a single mouse and keyboard. This means that with Mouse without Borders you can copy text or drag and drop files across computers</span></p><p></p></blockquote><p><span style="font-family: verdana;">So MS saved the day!</span></p>Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-77298121895919521592022-03-02T13:35:00.008+00:002022-04-07T10:52:34.858+00:00[OFF] 2022 - for good or for worse<p><span style="font-family: verdana;">It's 2022, two years since the outbreak of COVID-19 global pandemic, which has now subsided into an endemic in various countries.</span></p><p><span style="font-family: verdana;">There is a lot that happened in the last 2 years that hasn't happened in a 100 years, and there's something else that we thought would never happen in a long long time, especially after World War II and the massive repercussion that had on the world. Well, Russia, one of the super-powers of the world, invaded Ukraine - a neighbouring country that was created after USSR was broken down in 1991. The term that Russia uses as a replacement of invasion is "Military Operation".</span></p><p><span style="font-family: verdana;">Amidst all of the terrible news going around the world, 2021 / 2022 hasn't been too bad for me personally. After a brief period of joblessness post COVID in 2020 I got a job with an US based startup, ClearedIn, such that I was able to work from home for the next couple of years.<span></span></span></p><a name='more'></a><p></p><p><span style="font-family: verdana;">Following that, I was blessed with a baby daughter last year. One more addition to the world of COVID babies! To be honest, I wasn't fully ready but I never know if someone can be fully ready for such an event. We did plan for this though and this was a life changing event for me personally.</span></p><p><span style="font-family: verdana;">Earlier this year, the startup was working for, </span><span style="font-family: verdana;">ClearedIn,</span><span style="font-family: verdana;"> was eventually acquired by a large conglomerate and the employees were all offered jobs with the golden handcuff! It was a great experience for everyone and my first when a startup gets acquired. Too bad I didn't exercise the stock options I was allocated - a mistake in hindsight.</span></p><p><span style="font-family: verdana;">However I didn't join the large conglomerate but instead I was able to land a job with Apple UK in London! They paid for relocation for me, my wife and my daughter, and they were super supportive to help us settle down here. So yeah, now I am living in a new country, which is in a new continent where I have never been to earlier, being exposed to a new culture, with a newly born baby and a new mother.</span></p><p><span style="font-family: verdana;">A lot of novelty considering I am now 34 years old, approaching 40, expecting a mid-life crisis much earlier.</span></p><p><span style="font-family: verdana;">London is cold, but the people here are pretty warm. The amount of help I have received so far has been tremendous. Here's a picture of me on the London eye - a huge merry go round in the centre of the city.</span></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEg7S1K6jOZ1ii4jKkM9WKknPhtg2v450J4HCkHRyN6c53_dPqLYiRLVhL2ZJ8-wtN99-MnSaK6T8vmtFKuHgZDkbW5GBQBjSJ0-IjAN3t7h9cGMrntiBkAcfw9n5fK6ogUZRD3P2VuKs88IAoyq4WMGq5Uj87Q4ZjkXFKliGWY-H__ieGEyj-txiCfe=s4032" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="4032" data-original-width="3024" height="320" src="https://blogger.googleusercontent.com/img/a/AVvXsEg7S1K6jOZ1ii4jKkM9WKknPhtg2v450J4HCkHRyN6c53_dPqLYiRLVhL2ZJ8-wtN99-MnSaK6T8vmtFKuHgZDkbW5GBQBjSJ0-IjAN3t7h9cGMrntiBkAcfw9n5fK6ogUZRD3P2VuKs88IAoyq4WMGq5Uj87Q4ZjkXFKliGWY-H__ieGEyj-txiCfe=s320" width="240" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><span style="font-family: verdana;">It's tough initially as an expat into the UK, the main problem being one doesn't know who to trust and your credit score is non-existent which means it's almost impossible to buy something with credit. However, it gets easier I hear and after one month in the UK, I am slowly getting the hang of things here. My wife doesn't complain about the cold so much now, my daughters seems to have adjusted well and I can go out in the constant drizzle without complaints!</span><p></p><p><span style="font-family: verdana;">There's a lot going on in the world right now to be expressing any joy and even though it's not happening here, we can feel it. My company is a global organisation and there are folks who are affected. Nobody in my team but quite a lot in the company overall.</span></p><p><span style="font-family: verdana;">I have hope and I know if you keep trying you will succeed. Peace shall triumph.</span></p>Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-14039567385504974452021-06-19T15:03:00.005+00:002021-06-19T15:03:59.836+00:00Screenshot editor cum manager in windows 10<p><span style="font-family: verdana;">The default screenshot tool in Windows 10 is a lot better than the older ones for sure, but it doesn't really provide the kind of usability that other 3rd party screen shot editors provide.</span></p><p><span style="font-family: verdana;">Today, I'm sharing my favorite tool for screenshot management in Windows 10 and it's free to use and easy to use: <a href="https://getgreenshot.org/" target="_blank">GreenShot</a></span></p><p><span style="font-family: verdana;">Here's some of the reasons why I love this tool so much.</span></p><p><span></span></p><a name='more'></a><span style="font-family: verdana;">First reason: integrates well with print screen button and provides a nice interface when doing a screenshot. Here's an example</span><p></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxr97mNMCq6CdDpIlN_ux76UQ6JIQ_KJ3LO6Mrc_o4Mkm2-a-ZBcV-g5YoAXIoe7B_5pkKVv0OPy1UXwG_-hKVNb8da8WYZ5I8HqNaw4bfu47r08Uxtlh8r2P28wzU_js0kS3M00iXGhc/s2048/IMG_1731.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1536" data-original-width="2048" height="223" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxr97mNMCq6CdDpIlN_ux76UQ6JIQ_KJ3LO6Mrc_o4Mkm2-a-ZBcV-g5YoAXIoe7B_5pkKVv0OPy1UXwG_-hKVNb8da8WYZ5I8HqNaw4bfu47r08Uxtlh8r2P28wzU_js0kS3M00iXGhc/w297-h223/IMG_1731.jpg" width="297" /></a></div><p><span style="font-family: verdana;">You can select the region you want to crop and take a snap of that area.</span></p><p><span style="font-family: verdana;">What's more - is next you can edit the picture or save it or copy it to your clipboard.</span></p><p><span style="font-family: verdana;">Here's a full menu of all the options:</span></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrLeMDhaqEUxuthv4o6S6ij3GdR3hOlVv-6_tVgBqBHH5LxS_Kh8DKkEA9-nULwFgEzIb7jf366i4AMAezoc78GQWbMkOq7b8mEJwnjGXTSuKcVTLwpQR0rZOXl87YBVAt74sZ50ftQps/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="309" data-original-width="346" height="309" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrLeMDhaqEUxuthv4o6S6ij3GdR3hOlVv-6_tVgBqBHH5LxS_Kh8DKkEA9-nULwFgEzIb7jf366i4AMAezoc78GQWbMkOq7b8mEJwnjGXTSuKcVTLwpQR0rZOXl87YBVAt74sZ50ftQps/w348-h309/image.png" width="348" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><span style="font-family: verdana;">And the inbuilt editor has some cool options, the one I like best, is the one to obfuscate a region of the screenshot so that personal information isn't present.</span><div><span style="font-family: verdana;"><br /></span></div><div><span style="font-family: verdana;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM8DKmGTxK2mid9f-2M5UG2Ik9iw_bxRUahMzHpZDCTbolkeUq7bMrmwlUjRowBzIPjk9x6uw-7Qj4aL6JEW_-olDKi71yUYoi1qDE4Hh906TZ6WPLt0dkMhdDvJd-7yZyRpTkmgEjwnY/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="708" data-original-width="842" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM8DKmGTxK2mid9f-2M5UG2Ik9iw_bxRUahMzHpZDCTbolkeUq7bMrmwlUjRowBzIPjk9x6uw-7Qj4aL6JEW_-olDKi71yUYoi1qDE4Hh906TZ6WPLt0dkMhdDvJd-7yZyRpTkmgEjwnY/w411-h240/image.png" width="411" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">And this is what happens</div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGzsvPdxe1-Nn46abKyouor-RYUy0-OtWy4T8adeHjcafIR3D5RjXtKh3UlU5qXX4_rzs0VXSriQEgF_GxPkDdLe4nL2xmPUlQLIQ-Kcmsu76dK-Pkwv8ME0LdQJ0Rbtbnn13k-aTnkbA/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="483" data-original-width="575" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGzsvPdxe1-Nn46abKyouor-RYUy0-OtWy4T8adeHjcafIR3D5RjXtKh3UlU5qXX4_rzs0VXSriQEgF_GxPkDdLe4nL2xmPUlQLIQ-Kcmsu76dK-Pkwv8ME0LdQJ0Rbtbnn13k-aTnkbA/" width="286" /></a></div><br /><br /></div>checkout the pixelated data!</span></div><div><span style="font-family: verdana;"><br /></span></div><div><span style="font-family: verdana;">Let me know if you liked this tool or not in the comments and if it helped improve your productivity.</span></div><div><span style="font-family: verdana;"><br /></span></div><div><span style="font-family: verdana;"><br /></span><p></p><p><span style="font-family: verdana;"><br /></span></p></div>Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-56845506151425424902021-05-05T13:44:00.011+00:002021-05-05T14:39:12.241+00:00Software jobs in Kolkata West Bengal<p> A few days I witnessed the re-election of the local state government in my country. The fight was as usual brutal and crass, with the main opponents being the currently ruling party, headed by the nation's only woman chief minister of a state, against the party that is in power at the national level, headed by a new entrant leader with a promise of change and development. The state has been marred with accusations of not being able to provide infrastructure to facilitate jobs for the youth for a lot of years now. I, being a computer software engineer, have faced similar issues as well. I have had to travel cross country to get a job that I thought I deserved doing. Scarcity of Software jobs is a reality to me in this state of West-Bengal and for many others who have migrated outside the state even though they would rather stay at home.</p><p>Post-COVID-19, the situation has changed and I'm at my home state, working from home which is incidentally, a luxury that few can afford in these testing times, outside of the IT-sector. I'm part of a new young start-up, ClearedIn, where we're trying to tackle online spammers and make the web a safer place. It's been more than a year I'm working from home, at Howrah (a town near the major city Kolkata), which is where my roots are from. For the past few years I've been trying to find a job near my home town, and I've never been successful but it seems like from those failures, I've learned quite a bit. This post is dedicated to those who are still trying and I'd like to list out companies that hire IT professionals.</p><p>In completely random order here some that I have compiled.<span></span></p><a name='more'></a><p></p><p><br /><span style="font-size: large;">1. Karmabhumi Job Portal by WB Government</span><br /><br />This portal was started by the west-bengal government recently and I got a few calls from this as well.<br /><br />Website: <a href="https://www.blogger.com/#">https://karmobhumi.nltr.org/</a><br /><br /><span style="font-size: large;">2. PWC - Pricewaterhouse Coopers Service</span><br /><br />PricewaterhouseCoopers is a multinational professional services network of firms, operating as partnerships under the PwC brand (from wikipedia). They are multinational company with various openings for Software professionals.<br /><br />Current listings: <a href="https://www.blogger.com/#">https://www.pwc.in/careers/sdc-kolkata-jobs.html</a><br /><br /><span style="font-size: large;">3. Ericsson</span><br /><br />They are global telecommunications company with a headquarters in Sweden.<br /><br />Browse latest openings here: <a href="https://www.blogger.com/#">https://jobs.ericsson.com/search/?page=1&jobPipeline=careersite&utm_source=ericsson.com&utm_medium=referral&utm_campaign=search_widget&q=&locationsearch=Kolkata&optionsFacetsDD_shifttype=</a><br /><br /><span style="font-size: large;">4. Emami Frank Ross Group</span></p><p>Some of the current openings are for Full-Stack developers and AWS developers both contractual and permanent.</p><p>Current jobs: <a href="https://www.randstad.in/jobs/s-information-technology/west-bengal/">https://www.randstad.in/jobs/s-information-technology/west-bengal/</a></p><p><span style="font-size: large;">5. Applied Research Works</span></p><p>Also known as Cozeva they are based in the health-care sector in Kolkata and the USA.</p><p>Look for openings here: <a href="https://corp.cozeva.com/india-team-2/">https://corp.cozeva.com/india-team-2/</a></p><p><span style="font-size: large;">6. Polaris Networks</span></p><p>Look for current openings here: <a href="https://www.polarisnetworks.net/careers.html">https://www.polarisnetworks.net/careers.html</a></p><p><span style="font-size: large;">7. DataSutram</span></p><p>Funded by 100x.VC they are a fast growing startup originating from Kolkata's Jadavpur University.</p><p>Checkout their team and openings here: <a href="https://www.datasutram.com/team">https://www.datasutram.com/team</a></p><p><span style="font-size: large;">8. Hyland Software</span></p><p>Newly setup in Kolkata, they are hiring aggressively. They are headquartered in the USA.</p><p>Jobs site for Hyland: <a href="https://careers-hyland.icims.com/jobs/search?ics_geolocation=Kolkata%2C%20West%20Bengal%2C%20IN">https://careers-hyland.icims.com/jobs/search?ics_geolocation=Kolkata%2C%20West%20Bengal%2C%20IN</a></p><p><span style="font-size: large;">9. BitCanny</span></p><p>This is a start-up that I had a short stint with some years back - which didn't work out as I was trying to working part-time. However, they seem to be always hiring smart developers in the field of Software Engineering.</p><p>Website: <a href="https://www.bitcanny.com/">https://www.bitcanny.com/</a></p><p><span style="font-size: large;">10. Lexmark</span></p><p>They are a printer company and is very well known across the world.</p><p>Website to look for current openings: h<a href="ttps://www.lexmark.com/en_in/careers/job-search.html?jobsearch=&location=kolkata&area=">ttps://www.lexmark.com/en_in/careers/job-search.html?jobsearch=&location=kolkata&area=</a></p><p><span style="font-size: large;">11. Alumnus Software</span></p><p>This is a IoT based company.</p><p>View current openings here: <a href="https://www.alumnux.com/careers/">https://www.alumnux.com/careers/</a></p><p><span style="font-size: large;">12. British Telecom</span></p><p>UK based telecommunications company.</p><p>View openings here: <a href="https://bt.taleo.net/careersection/external/jobsearch.ftl?lang=en&keyword=">https://bt.taleo.net/careersection/external/jobsearch.ftl?lang=en&keyword=</a></p><p><span style="font-size: large;">13. TechWeirdo</span></p><p>Kolkata based product-start-up looking to make it's mark.</p><p>View their current openings on linked here: <a href="https://www.linkedin.com/company/techweirdo-in/jobs/">https://www.linkedin.com/company/techweirdo-in/jobs/</a></p><p>And also on cutshort.io: <a href="https://cutshort.io/company/techweirdo-seRQ6OBA">https://cutshort.io/company/techweirdo-seRQ6OBA</a></p><p><span style="font-size: large;">14. Industry Prime</span></p><p>They are based in Kolkata and are makers of "Purchase & Store Management Software".</p><p>Hiring via cutshort: <a href="https://cutshort.io/company/industryprime-IJoF6xku?populate_company=true">https://cutshort.io/company/industryprime-IJoF6xku?populate_company=true</a></p><p><span style="font-size: large;">15. IBM</span></p><p>Pretty sure anyone in computer science would have heard of them. They are a US based company - one of the oldest software companies of the world.</p><p>Look for jobs here: <a href="https://www.ibm.com/in-en/employment/professionals/#jobs?%23jobs=&job-search=Kolkata">https://www.ibm.com/in-en/employment/professionals/#jobs?%23jobs=&job-search=Kolkata</a></p><p><span style="font-size: large;">16. SIBIA Analytics</span></p><p>Head-Quartered in the USA, they are an analytics company.</p><p>Look for jobs here: <a href="https://www.sibiaanalytics.com/career">https://www.sibiaanalytics.com/career</a></p><p><span style="font-size: large;">17. CBNITS</span></p><p>Look for jobs here: <a href="https://www.cbnits.com/career">https://www.cbnits.com/career</a></p><span><!--more--></span><p><b>The usual suspects have also been included here</b></p><p></p><p></p><p><span style="font-size: large;">TCS</span><br /><br />Tata Consultancy services - they do campus hiring from many Kolkata engineering colleges. They are a services based company.<br /><br />The "TCS Innovation Labs" is an arm of this company that does R&D in engineering.<br /><br /><span style="font-size: large;">CTS</span><br /><br />Cognizant - they too do campus hiring from various Kolkata engineering colleges and are head-quartered in the USA. They are a services based company.</p><span><!--more--><br /></span><div><span style="font-size: large;">Finally</span><br /><br />Post COVID-19, companies have moved to a remote work-environment and I'm sure this will help out all of my budding colleagues, juniors or seniors alike who would like to come back to their home-town.<br /><br /></div><div>For my readers, please do comment and let us know of any others that I can include in this post.</div>Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-74247019009834097152021-04-15T11:58:00.007+00:002021-04-15T16:15:08.696+00:00Microsoft Windows Linux<div><span style="font-size: medium;">Linux on Windows</span></div><div><br /></div>It's 2021 and we've seen the world-wide COVID-19 pandemic.. and now I discovered Windows Sub-system for Linux, yes, Windows support for Linux. Guess it took a global pandemic for Microsoft to get Linux run on Windows!<div><br /></div><div>Well, it's not really Linux, and for purists, this is more of an emulation, kind of like docker, but for Windows. However it feels fast and almost native. Good enough to support most user-mode programming languages out there. The support started from Windows 10 version 20262, so to get started, install Windows 10 and keep upgrading until this version is reached.<span><a name='more'></a></span></div><div><br /></div><div>Here's an official document from Microsoft that would help to guide: <a href="https://docs.microsoft.com/en-us/windows/wsl/install-win10">https://docs.microsoft.com/en-us/windows/wsl/install-win10</a> </div><div><br /></div><div>There are caveats of course. All life is not rosy after installing WSL. I installed Kali Linux and that seems to be installable via the Microsoft Store! Most major distributions are present and more are on the way.</div><div><br />
<div class="separator" style="clear: both; text-align: center;"><img alt="" border="0" data-original-height="868" data-original-width="1813" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjppN6ckN90Q9c-TXFZuJkOcAao7b8PVDyvnLwFWBSGklE-Rn5KJ0IN6-nhkkMTRSBMRMBDjHlZ5EKfgoi_0KAQUgJoka6B7sEhA0_wJtw9qATATc18RQYWLtUNMKOcKrUI8gahMsMtTPg/s320/2021-04-15+17_19_18-Microsoft+Store.png" width="320" /></div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;">As you can see from the above screenshot, the support is really impressive!</div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;">One of the import issues with WSL is that the file-system is accessible via a remote share but applications don't play well with NIX-style symbolic links. However navigation works well and file-permissions are what you would expect coming from the other world. There are a few editors that work well with symbolic links, and you might have guessed it already, yes, it's Microsoft's own VSCode! If you're planning to use any of the Jetbrains' IDEs, the latest versions work well with WSL without dealing with symbolic links though.</div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;">Overall it's a real boost for a windows developer to be able to use both the Linux and Windows environments together.</div><div class="separator" style="clear: both;"><br /></div><div class="separator" style="clear: both;">Concerns? Comments? Leave them down here and I'll try and respond to them quickly!</div>
</div>Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-22788470696430703212020-08-08T12:26:00.000+00:002020-08-08T12:26:35.951+00:002020<div dir="ltr" style="text-align: left;" trbidi="on">
The year 2020 is at it's mid way with today being the second week of August. There's been a lot going on this year and as a departure from the usual technical posts I decided to write something about what is going on with my life. I do that occasionally but haven't done for quite a few months now (or years?).<br />
<br />
I'm at home, with my parents, the place of my birth, and I'm here now for around 4 good months. Since 2011, when I left home to go to NIT Durgapur, for doing my Masters in Technology after getting a disastrous score in GATE (the entrance examination), I have never spent more than 2 weeks living with them here. Here in Howrah. The twin city of Kolkata.</div><span><a name='more'></a></span><div dir="ltr" style="text-align: left;" trbidi="on"><br /></div><div dir="ltr" style="text-align: left;" trbidi="on">A lot has changed since then. I can now realize that I have grown older and so have they. I am 32 years old now, about the age when my father had me. About the age, when my mother gave birth to my sister, even older actually. Recently, one of my younger cousin brothers had a daughter, that means he is now a father. Many of my friends are already parents, some are proud mothers and some, happy fathers. The tables have turned! It seems like, something I have run away from, all my life, has finally caught up with me. All without me realizing that I am losing this race.<br />
<br />
It's been 9 years since I have stayed at home for so long. In 2013, after college had ended, and before leaving for Mumbai, one of my very close friends had come to my house and told me that this is the time I get to live, before I join the rat race. He told me to relish this time. Of course, he was experienced and had done the 9-5 dance before me, but I wasn't too sure of what he meant. So what changed now? Oh well, a world-wide pandemic happened, and they call it Novel Corona Virus aka COVID-19.</div><div dir="ltr" style="text-align: left;" trbidi="on"><br /></div><div dir="ltr" style="text-align: left;" trbidi="on">I left a dream company that I was working for, Goldman Sachs in March this year after working with one of the best colleagues I have ever worked with. There I got the best managers and the worst technologies to work on. Well maybe not all that bad but it was an experience I will cherish all my life. Last year in December, I had got an offer from a Germany based AI-start-up, a pretty good one actually. I kind of stalled them and decided to join in 2020. Well, that didn't go well. Thanks to COVID, all the German embassies are closed and now I am left searching for a job! I stalled them long enough and well, the going went tough.</div><div dir="ltr" style="text-align: left;" trbidi="on"><br /></div><div dir="ltr" style="text-align: left;" trbidi="on">A curious time for me since 2013 I haven't been unemployed for more than a week or 2 maybe. I am not unemployed for over a month and this has been a completely new experience for me. For the first time I am responding to recruitment agencies and actually talking with them. I am also pro-actively applying for jobs with recruitment agencies. I am sending messages to recruiters via Whatsapp. I hang my head in shame, but hey, what shame when you can't put food on the table?</div><div dir="ltr" style="text-align: left;" trbidi="on"><br /></div><div dir="ltr" style="text-align: left;" trbidi="on">Things aren't so bad, I have decent savings and no real expenses, as I am living with my parents. Also I don't have the COVID so that makes me pretty happy. I setup my AWS free tier and happily hacking away at new technologies on a t2.micro. I've connected with a lot of folks, found some time to actually do a course on Coursera (no the free one, I am still the stingy dude I was). I'm doing some stock trading, that I wasn't allowed to while at Goldman. Spoiler: I'm not that good at it. I'm doing a lot of algorithm practice, giving some interviews and learning that, well my time with Slang really sucked. For the uninitiated, Slang is the name of an internal language at Goldman, kind of like Hack, at Facebook but it's architecture made me wish that I could kill myself every-time I opened the blue screen of death. However, the money they paid me, stopped me from ever having suicidal thoughts. In fact it was quite the opposite of that. I was having happy thoughts all the time! I would perhaps have gone honeymooning with Slang if I could. Well, to be honest, that and of course the folks around me were surely the best people I ever worked with. If there's someone I look up to now, it's surely "Bindi-man" who made work = play.</div><div dir="ltr" style="text-align: left;" trbidi="on"><br /></div><div dir="ltr" style="text-align: left;" trbidi="on">For now though, I am back in my parent's house, in my old room with an old monitor and my Lenovo Thinkpad, that I always wanted since I first used it in Direct, and a truckload of nostalgia. I'm looking to start something up, not sure what, but there's an urge coming from within me, to stay and take the risk. There's also someone in me (no no, I don't eat people, it's probably my alter-ego or something)... who tells me to walk the known path, do what I do since that works for me.</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">NB:</div><div dir="ltr" style="text-align: left;" trbidi="on">What do you think I will do? Leave a comment and let's talk.</div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com6tag:blogger.com,1999:blog-1554736489479214392.post-72125126705155631252019-07-27T17:34:00.000+00:002019-07-27T17:34:00.691+00:00The Techgig C Skill Test<div dir="ltr" style="text-align: left;" trbidi="on">
I used to consider myself to be pretty good in C, so I decided to try out the world's biggest programming contest platform, TechGiG (Look here: <a href="https://www.techgig.com/">https://www.techgig.com</a>), or so they claim to be. I wonder why I hadn't dabbled in this platform all this years since the platform seems to be existing for quite some time now. I do remember some 5-6 years ago I had dabbled a bit in the website and then stopped, I wonder why, can't really recall.<br />
<br />
So I decided to give it a spin. I decided to try out the TechGig Skill test. Here's what I found while attempting the test.<br />
<br />
There were 25 questions and I got 6 wrong and 19 correct. I wonder which ones I got wrong. Also considering some multiple choice answers didn't really answer the question. Also, I really wonder what a Java Question was doing in a C Skill test! Take a look:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIvFqwvzKl4xMBNPRT9OHPcQOteu5_4Jrvg3p7ClnqLnfEMyZ2NmGmWEknCzvrVarmbTGtuiQaOr-h5_nMXj6Z5eDeXy6iLPtC3o1S5Ry8ASn6_QB8roU65QY4tw2jK920upd-2IXFt0M/s1600/Techgig+java.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="417" data-original-width="1324" height="125" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIvFqwvzKl4xMBNPRT9OHPcQOteu5_4Jrvg3p7ClnqLnfEMyZ2NmGmWEknCzvrVarmbTGtuiQaOr-h5_nMXj6Z5eDeXy6iLPtC3o1S5Ry8ASn6_QB8roU65QY4tw2jK920upd-2IXFt0M/s400/Techgig+java.png" width="400" /></a></div>
<br />
Being the Java n00b, I might have messed that up. Moving on to one of the brilliant CHTML Questions in recent times.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOp6mbRf41guZYN3XZ9C0MdkpXfb-cwWesVKYcgnP5fbXxFfLcXESW8B1UaZHRv4Sq22Aojr7Cznz07Owwquszph7oOM51PSZt452mlhtfNEQ_A9yXZRYjJBBB1RF0E203FND4TXovmO4/s1600/techgig+c+bitwise+mess.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="483" data-original-width="1203" height="160" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOp6mbRf41guZYN3XZ9C0MdkpXfb-cwWesVKYcgnP5fbXxFfLcXESW8B1UaZHRv4Sq22Aojr7Cznz07Owwquszph7oOM51PSZt452mlhtfNEQ_A9yXZRYjJBBB1RF0E203FND4TXovmO4/s400/techgig+c+bitwise+mess.png" width="400" /></a></div>
<br />
That's an amazing blend of HTML and C. Amazing HTML coding skills are the feature of the tests in TechGig, since this sort of goof-up is pretty common.<br />
<br />
Let's move on to the wrong answers now. I got this wrong apparently:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIDEhoG_SSLZ5PR3GUykiN3Y-dMB27csTbTGDDrc_Z3l-3mhOuCygPr9tgFIVvjMBHKUJGuX-okpp73l-FiiwBqjEKx1Q7FM99XP7z099pdqmScvyMIjL1IBH7aBEMB-j_P02rAZA-KNU/s1600/techgig+incorrect+ideone.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="571" data-original-width="1163" height="196" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIDEhoG_SSLZ5PR3GUykiN3Y-dMB27csTbTGDDrc_Z3l-3mhOuCygPr9tgFIVvjMBHKUJGuX-okpp73l-FiiwBqjEKx1Q7FM99XP7z099pdqmScvyMIjL1IBH7aBEMB-j_P02rAZA-KNU/s400/techgig+incorrect+ideone.png" width="400" /></a></div>
<br />
Well, I do pride myself in such questions, but seems like I have forgotten how printf handles the parse string! Well, what does ideone think?<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsSYvfdXUYGGl5OKba3iC9stdga0MhtdE8D9lNEiR0T-p2XrkKGaIT_RCbBAH5QmMjpdd33pY2bNf_3VyX8YO7iU2VTjl-NSV15PhE2JiHo8v83zgpEB1G0UC0n5aHDwSLX8ucl8bsPL0/s1600/techgig+ideone+1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="480" data-original-width="798" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsSYvfdXUYGGl5OKba3iC9stdga0MhtdE8D9lNEiR0T-p2XrkKGaIT_RCbBAH5QmMjpdd33pY2bNf_3VyX8YO7iU2VTjl-NSV15PhE2JiHo8v83zgpEB1G0UC0n5aHDwSLX8ucl8bsPL0/s400/techgig+ideone+1.png" width="400" /></a></div>
<br />
Dear! O Dear! Ideone might have got it wrong too! Wait, maybe TechGig was wrong? Dare I say that!<br />
<br />
Let's move to the next incorrect answer by me. Here we go:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitXc0zWbT68zz6jcsQdyeTSRw1J7lDyD2tx4RKPejC-Lke3Nu0F8NyM9PLcP-ZWbDvkTl4DPL5oty_FSIcZvML_VnSydJIQfi8a_lD75U-iso2OTNasKkrjUIPvWILDzKs21pVRJPKJmI/s1600/techgig+incorrect+2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="542" data-original-width="763" height="283" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitXc0zWbT68zz6jcsQdyeTSRw1J7lDyD2tx4RKPejC-Lke3Nu0F8NyM9PLcP-ZWbDvkTl4DPL5oty_FSIcZvML_VnSydJIQfi8a_lD75U-iso2OTNasKkrjUIPvWILDzKs21pVRJPKJmI/s400/techgig+incorrect+2.png" width="400" /></a></div>
<br />
Well, well, well. Seems like I've forgotten the basics of pointers! :( What does ideone think then ?<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBIXVDb7y7tLNUdG51kAwxlNKjKlKv0FvU1XrdSTz4DTPySALMiSrp_Ddit_0UL6MuKc_lFxTs-mjKJUotsyVNmyYTuoAVWXLWzX_G_vi4hFnH_RGBhiRH_qI7emdTxYIlQCjvjyX2EhE/s1600/techgig+ideone+2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="572" data-original-width="754" height="302" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBIXVDb7y7tLNUdG51kAwxlNKjKlKv0FvU1XrdSTz4DTPySALMiSrp_Ddit_0UL6MuKc_lFxTs-mjKJUotsyVNmyYTuoAVWXLWzX_G_vi4hFnH_RGBhiRH_qI7emdTxYIlQCjvjyX2EhE/s400/techgig+ideone+2.png" width="400" /></a></div>
<br />
I think I've caught on by this point. I'm quite a C n00b also. Shall we see the next incorrect answer by me ?<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdDKEGOvMxGBsSQYZ-nE8oTuHuA4nNeBD0jxtl1tgfEOMGPSlEk6udiFDcHVFJnPSglxB0yAvxkIaMpzaJyK0V5PzToXK-r1R6MZaFjArAAlcxACrGItUnj3DFwkDABCXLylVJzINrcXE/s1600/Screenshot+from+2019-07-27+22-58-18.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="587" data-original-width="1032" height="227" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdDKEGOvMxGBsSQYZ-nE8oTuHuA4nNeBD0jxtl1tgfEOMGPSlEk6udiFDcHVFJnPSglxB0yAvxkIaMpzaJyK0V5PzToXK-r1R6MZaFjArAAlcxACrGItUnj3DFwkDABCXLylVJzINrcXE/s400/Screenshot+from+2019-07-27+22-58-18.png" width="400" /></a></div>
<br />
This was quite tricky, so it's possible I might have messed up here. But really ?<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNUCWil68W7E7fcHHnNGG1IQqSpTUq5eDSFAVHVXJW_AVo2IAgG1GpQpZA1V0y4y3Hlg76WVLIFCHqCKPtQZjSh0gOh-EPsMJEgjPGwr2W-VTZ27r5pgJgTctULoX-EeG-2_gfSniI6q8/s1600/Screenshot+from+2019-07-27+22-58-26.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="505" data-original-width="804" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNUCWil68W7E7fcHHnNGG1IQqSpTUq5eDSFAVHVXJW_AVo2IAgG1GpQpZA1V0y4y3Hlg76WVLIFCHqCKPtQZjSh0gOh-EPsMJEgjPGwr2W-VTZ27r5pgJgTctULoX-EeG-2_gfSniI6q8/s400/Screenshot+from+2019-07-27+22-58-26.png" width="400" /></a></div>
<br />
By this point I'm convinced that the compiler used by ideone is perhaps broken. Or maybe it's TechGig that sucks?<br />
<br />
I'll leave it to you, the reader to figure that out.</div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-1867307144264370912018-12-23T13:21:00.000+00:002018-12-23T14:14:43.780+00:00Open numbers in whatsapp without saving as contact<div dir="ltr" style="text-align: left;" trbidi="on">
<h3 style="text-align: left;">
Whatsapp Number Opener </h3>
Say you want to make a whatsapp conversation with someone for temporary purposes but in order to do that you need to add that person as a contact first. Now adding someone as a contact is by itself a security risk as you can potentially expose your display picture and status to that person. If this is someone with whom you are involved in a transaction, then you'd not want to save this contact just for one time communication. Well, then what is the solution? How do you text this person without saving their number first?<br />
<br />
<a name='more'></a><br />
<br />
Well, this is the solution guys. Whatsapp already have an API to do this, but that involves modifying the URL and pasting on the address bar. I believe that's too much of work. <br />
<br />
So to make you folks lazier than ever, I've developed: "<a href="https://whatsapp-send-no.herokuapp.com/" target="_blank">Whatsapp Number Opener</a>".<br />
<br />
There a million sites telling us how to do this manually. I
just think this is too much of work. <br />
<br />
What this does, is simply what every other website asks the user to do: Go to this URL: https://api.WhatsApp.com/send?phone=number. The only difference, is that, this page has an input box for entering the phone number with the International calling prefix.<br />
<br />
So well, a lazy version of what those blogs ask us to do! Here's a screenshot:<br />
<br />
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdllN4A1AxlLuLmT19DdE4tAMIhGBSdiUzCMgl5pNybLuqmHXurvRishowvORyTmKYhp7_x3ui3UV3BKflRiB7zOSbZ8oBbo26seLGUgAA29xoz2jnwjrvmLYYLWLoh2_nXkHQATDhzac/s1600/IMG_8211.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="901" data-original-width="750" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdllN4A1AxlLuLmT19DdE4tAMIhGBSdiUzCMgl5pNybLuqmHXurvRishowvORyTmKYhp7_x3ui3UV3BKflRiB7zOSbZ8oBbo26seLGUgAA29xoz2jnwjrvmLYYLWLoh2_nXkHQATDhzac/s320/IMG_8211.PNG" width="266" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: left;">
Do leave a comment if you found this useful! Thanks!</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
PS: It's open source, and the code is here: <a href="https://github.com/rghose/whatsapp-number-opener">https://github.com/rghose/whatsapp-number-opener</a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Disclaimer: Phone numbers are not collected nor stored. Once you load the website, any data you provide is solely on your device. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br /></div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com3tag:blogger.com,1999:blog-1554736489479214392.post-64851894768316230122018-08-05T11:37:00.000+00:002018-08-05T11:45:50.077+00:00Multi-protocol Google Talk, Facebook Messenger on Pidgin with App passwords<div dir="ltr" style="text-align: left;" trbidi="on">
With the new control in privacy across the social media websites, multi-protocol chat clients like Pidgin have had some tough times. This post aims to solve the problem with tools from this new era of the privacy conscious Web. For those who are unaware, Pidgin, is a chat client which aggregates most social media protocols like XMPP (Gtalk), Jabber, Facebook, ICQ, IRC, into one compact interface.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8Xxwdudz59vY5dEIoibLWmpRoXhGqCt09sy3-1ej9UPrbUGi3pnsyQD1LMPXVzpGrow0e5DXrPG8S9ybYGsTo6Iejv_GK20TAmxcURd9V2rxhGdmb7nbw3Ave9qvraXy0Al1qoznno2E/s1600/pidgin+chat+retnet.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="596" data-original-width="422" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8Xxwdudz59vY5dEIoibLWmpRoXhGqCt09sy3-1ej9UPrbUGi3pnsyQD1LMPXVzpGrow0e5DXrPG8S9ybYGsTo6Iejv_GK20TAmxcURd9V2rxhGdmb7nbw3Ave9qvraXy0Al1qoznno2E/s200/pidgin+chat+retnet.png" width="140" /> </a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
We'll go through this blog, the process to add app-passwords in Google and Facebook so that it works with Pidgin.</div>
<h3 class="separator" style="clear: both; text-align: left;">
Google Talk App Password Generation:</h3>
<div class="separator" style="clear: both; text-align: left;">
Sign in here: https://myaccount.google.com/apppasswords</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Step 1, select the app </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFQwapg7S-Hpof5HCgjPorJiiEjduByb_-K0Z6qINwh083dL-7Muw8O3pewMKj8Ob5Yw1uFN_7NaBaJTO_1YDpDejgXZYwNsysjtu0fzFm47HbQY5KRWgR79q5BnDXhRG2Bi_R3zA74wQ/s1600/Selection_002.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="520" data-original-width="756" height="220" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFQwapg7S-Hpof5HCgjPorJiiEjduByb_-K0Z6qINwh083dL-7Muw8O3pewMKj8Ob5Yw1uFN_7NaBaJTO_1YDpDejgXZYwNsysjtu0fzFm47HbQY5KRWgR79q5BnDXhRG2Bi_R3zA74wQ/s320/Selection_002.png" width="320" /></a></div>
<br />
Step 2: Use Other (custom name) <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWjhi4TZI2ffq1RWod748C4H-QcfpaIlEni1UXXJvALLe5_ZlvsAcqS444ukd3l0Qo3D6N4y3n8UHj2pCPssl7qv3mmnBX0gmZiYB7DTTJhc0bWN01WW5IbwI5iScJfB7hooztVXWQIaY/s1600/Selection_001.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="526" data-original-width="743" height="226" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWjhi4TZI2ffq1RWod748C4H-QcfpaIlEni1UXXJvALLe5_ZlvsAcqS444ukd3l0Qo3D6N4y3n8UHj2pCPssl7qv3mmnBX0gmZiYB7DTTJhc0bWN01WW5IbwI5iScJfB7hooztVXWQIaY/s320/Selection_001.png" width="320" /> </a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Step 3: Give a name, I already have pidgin, so used this, for you, use "Pidgin" and click on generate.</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuhgx1dcvFLm2h34knIeT9W56Z3lCKFFKm3lUVF2TRKdK3GAqyNeb-F-xnAKJ-DJhsnZBBdnCV6mu161m3bMEh4Glr-uQWObrqme2_E9YbkO6goGEE_C_XsVE8_7_tvboy2iCvLpkJuFg/s1600/Selection_003.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="150" data-original-width="647" height="74" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuhgx1dcvFLm2h34knIeT9W56Z3lCKFFKm3lUVF2TRKdK3GAqyNeb-F-xnAKJ-DJhsnZBBdnCV6mu161m3bMEh4Glr-uQWObrqme2_E9YbkO6goGEE_C_XsVE8_7_tvboy2iCvLpkJuFg/s320/Selection_003.png" width="320" /> </a></div>
<div class="separator" style="clear: both; text-align: left;">
Step 4: After generating you will get this window, copy the app password</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinQ536w0ZFgsBt5RtYNSydwFWsR-bTWE5b5iraMoZvM7nwlbIJeFzwW5De33-455H6UNlra3VIfJMwpJelo9IHufoXmmTAtdcbERCLqn8eHbu1GTM3OELFyuWI_y5kHspHwPk966wKQMo/s1600/Selection_004.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="445" data-original-width="643" height="221" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinQ536w0ZFgsBt5RtYNSydwFWsR-bTWE5b5iraMoZvM7nwlbIJeFzwW5De33-455H6UNlra3VIfJMwpJelo9IHufoXmmTAtdcbERCLqn8eHbu1GTM3OELFyuWI_y5kHspHwPk966wKQMo/s320/Selection_004.png" width="320" /></a></div>
Step 5: Use the generated password in Pidgin with your Gmail username as usual.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2ASYFwWpcy220jD-b0155owzUuXj3Jr9SKIsbnM94DBs5Pf0N2y7SJwI_m44heXJc1V0uQ3c4TbkBHtUu0oB8mnbGXFEE7uBNAIqHfcouFmC4-9Yk3FwjEdU34hUyHoe9-rKRg6pxxBQ/s1600/Selection_005.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="614" data-original-width="396" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2ASYFwWpcy220jD-b0155owzUuXj3Jr9SKIsbnM94DBs5Pf0N2y7SJwI_m44heXJc1V0uQ3c4TbkBHtUu0oB8mnbGXFEE7uBNAIqHfcouFmC4-9Yk3FwjEdU34hUyHoe9-rKRg6pxxBQ/s320/Selection_005.png" width="206" /></a></div>
<br />
<h3 style="text-align: left;">
Now for Facebook App password generation.</h3>
<br />
Step 1: Open facebook settings<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp8rwjNRlnSQTq1v-5zWaCQbCYnnRn4krslmD9uzmNiNVbda_vDDqy8OXogh33DhgSPdZSgn-T39Ag3uyUNXxialkiHBXCrbDIwJ2XFTtbBo-T17RX8PDvBXnaCnN45oMC0NrH0f6qRUQ/s1600/Selection_007.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="372" data-original-width="1092" height="136" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp8rwjNRlnSQTq1v-5zWaCQbCYnnRn4krslmD9uzmNiNVbda_vDDqy8OXogh33DhgSPdZSgn-T39Ag3uyUNXxialkiHBXCrbDIwJ2XFTtbBo-T17RX8PDvBXnaCnN45oMC0NrH0f6qRUQ/s400/Selection_007.png" width="400" /> </a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Step 2: Go to security and Login </div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRewCe0CKWqRCxsEg7gIsHrT81cG9grfmYESBXwDhZzlwdWcjNWyvn-9x9l3rotJFiUtiBS8LZu_UtRAhPWi86eEJGa-J-RUfi-aaGUa3sxwvHjefMdrmziQOkxa2Q7EjVco2ktCXt9cQ/s1600/Selection_008.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="471" data-original-width="518" height="290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRewCe0CKWqRCxsEg7gIsHrT81cG9grfmYESBXwDhZzlwdWcjNWyvn-9x9l3rotJFiUtiBS8LZu_UtRAhPWi86eEJGa-J-RUfi-aaGUa3sxwvHjefMdrmziQOkxa2Q7EjVco2ktCXt9cQ/s320/Selection_008.png" width="320" /></a></div>
<br />
Step 3: Scroll down to App Passwords under Two-factor Authentication and click on generate an App Password <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0NDsv_fcvcf7j2Qdxo7OC0arMpEzaXtG_p72SytbJ72l7QfRQmr800eubaZqXzOUYL4HEDUaTDBQ3xDO4e1ng9dBZmZ1ciRk-ahCjFRcYfENmC2TMXQvLHV4IehhOSlsqdqIRusCQwH0/s1600/Selection_009.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="438" data-original-width="807" height="173" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0NDsv_fcvcf7j2Qdxo7OC0arMpEzaXtG_p72SytbJ72l7QfRQmr800eubaZqXzOUYL4HEDUaTDBQ3xDO4e1ng9dBZmZ1ciRk-ahCjFRcYfENmC2TMXQvLHV4IehhOSlsqdqIRusCQwH0/s320/Selection_009.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
Step 4: Apply similar steps and use a name for this after entering your password for additional authentication, if any.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiePf5PPq7zd2pTwIMcJ6gT1jFBJ51NrnC6LqqJoUfZwckNTehMRotoSe37B22Py1Y0qjm5-O4s8iYK8fs-qsJIZ9BNA7lnjhLiaagqqu81sSf2D4IHqzvAmHXvnRBW9h8ioxEewvSjSg/s1600/Selection_010.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="376" data-original-width="783" height="191" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiePf5PPq7zd2pTwIMcJ6gT1jFBJ51NrnC6LqqJoUfZwckNTehMRotoSe37B22Py1Y0qjm5-O4s8iYK8fs-qsJIZ9BNA7lnjhLiaagqqu81sSf2D4IHqzvAmHXvnRBW9h8ioxEewvSjSg/s400/Selection_010.png" width="400" /> </a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXqHTto1QA6LVcjJvAbYiA-Jy10DDB65b6N7ahI3jdh5Zi3yzXmH5UL4wtnpL7WJ_6gVOXmR8qxHdneFc5ElWoSVdJN0TN76hsOctcHNQ5fLy5gnswc3Og-_1k7tEWEeSkkriALvJ9ZSE/s1600/Selection_011.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="355" data-original-width="773" height="182" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXqHTto1QA6LVcjJvAbYiA-Jy10DDB65b6N7ahI3jdh5Zi3yzXmH5UL4wtnpL7WJ_6gVOXmR8qxHdneFc5ElWoSVdJN0TN76hsOctcHNQ5fLy5gnswc3Og-_1k7tEWEeSkkriALvJ9ZSE/s400/Selection_011.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
Step 5: Use the generated password in Facebook app in pidgin.<br />
<br />
Enjoy!<br />
<br />
<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: center;">
</div>
<br /></div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com2tag:blogger.com,1999:blog-1554736489479214392.post-35320482194690621302018-05-22T19:08:00.001+00:002018-05-22T19:08:43.427+00:00Clipboard Manager for Windows - Ditto<div dir="ltr" style="text-align: left;" trbidi="on">
After my post on Clipboard Management <a href="http://rahul-ghose.blogspot.in/2011/06/clipboard-management.html">here</a>, which was basically clipboard managers on Linux and Unix-ly operating systems, here's one on Windows.<br />
<br />
This cheeky sounding software is named Ditto and is a blessing for all Windows Users.<br />
<br />
Here's a screenshot:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirae3TMhh8LE8xu6OcQtRlDUlR_oeSQaZolcUo2FiNkrLPN-5_0Qd-P55baUCtcr_YnARCNBY8kyei39r9TWhMtHxwEk27xOYwaQ_3ss-GRVUvvDSO3uZ625d-93asy-oKhAGWPflY10g/s1600/ditto-screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="323" data-original-width="327" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirae3TMhh8LE8xu6OcQtRlDUlR_oeSQaZolcUo2FiNkrLPN-5_0Qd-P55baUCtcr_YnARCNBY8kyei39r9TWhMtHxwEk27xOYwaQ_3ss-GRVUvvDSO3uZ625d-93asy-oKhAGWPflY10g/s320/ditto-screenshot.png" width="320" /></a></div>
<br />
So what this does, is keep track of your last copied items! Works with images as well.<br />
<br />
Download ditto from <a href="https://sourceforge.net/projects/ditto-cp/files/Ditto/3.21.223.0/DittoSetup_64bit_3_21_223_0.exe/download">here</a> or from the Ditto Project page: <a href="https://ditto-cp.sourceforge.io/">https://ditto-cp.sourceforge.io/</a><br />
<br />
Enjoy!</div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-29748201525445845172018-05-20T12:02:00.001+00:002018-05-20T16:29:01.164+00:00ConEmu - A better windows command prompt<div dir="ltr" style="text-align: left;" trbidi="on">
So this is a little article and a software review for one of my indispensable Windows Utilities, that is still relevant in the Windows 10 world - <a href="https://conemu.github.io/">ConEmu</a>. The terminal emulator, which is a large improvement over the Windows CMD, is a must have utility for anyone working on (or stuck on) any of the Microsoft Windows based operating systems. Whats even better, is that, this is Open Source.<br />
<br />
So if you are looking for an alternate command prompt, take a look here:<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5RWm8kf9oVCVqG5gO99SHrvHUtilcXx5iii48iMkofzmb75CfFbOQld2Ia6tAYCoN4HWTpUGzeIpqDcZLeTKspgo2sravecluUYS3FmKz5fOaicn9hIpEYFStzrEN1AbE_5V3Jz1tgEk/s1600/2018-05-20+17_25_42-C__Users_rahul_Desktop_code_codejam2018_1_1.py+-+Notepad%252B%252B.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="435" data-original-width="645" height="267" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5RWm8kf9oVCVqG5gO99SHrvHUtilcXx5iii48iMkofzmb75CfFbOQld2Ia6tAYCoN4HWTpUGzeIpqDcZLeTKspgo2sravecluUYS3FmKz5fOaicn9hIpEYFStzrEN1AbE_5V3Jz1tgEk/s400/2018-05-20+17_25_42-C__Users_rahul_Desktop_code_codejam2018_1_1.py+-+Notepad%252B%252B.png" width="400" /> </a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Cool features include, multiple tabs, configurable history and of course the animation when it opens or closes!</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
For more screenshots go <a href="https://conemu.github.io/en/Screenshots.html">here</a>. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
To download a binary go to the website: <a href="https://conemu.github.io/en/Downloads.html">https://conemu.github.io/en/Downloads.html</a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<br /></div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-10689552108582837832017-09-01T23:07:00.003+00:002017-09-10T07:33:49.350+00:00[off] a poetry in the lovely city of bangalore<div dir="ltr" style="text-align: left;" trbidi="on">
<br /><br />It has been a while I have had the heart or the mind to write some rhyming lines comprising of a poem, not that I have been particularly busy but maybe I was just fighting some battles that made me feel so. Bangalore, the silicon valley of India, the Garden City as they say it, is a beautiful city. The weather pleases me like no other city of this country, it is remarkable that I have to come back to the city from where I had started my professional journey.<br /><br />So on a lovely rainy night I decided to try myself and type down some words in random order. Trying to sound lyrical and, to understand the beauty in words and expression.<br /><br />So here goes, a poem untitled, as below<br /><br />Its 4 am and the perfect time to get lonely,<br />As the world sleeps it comes to me very clearly<br />the silence wasn't meant for the deaf<br />the darkness wasn't meant for the blind<br />it is but the feelings inside of us<br />that we are destined to find.<br />Of course does that mean we can?<br />Is it so easy and effortless a task,<br />Sometimes senses fail us, comprehension we lose<br />The life in our blood from the bruises ooze<br />drop into the darkness we cannot see<br />fly into the noise we cannot hear<br />drown into the depths we cannot swim<br />nobody is here nor will be, my dear.<br /><div class="" data-block="true" data-editor="6e2fc" data-offset-key="2f9s4-0-0" style="background-color: white; color: #1d2129; font-size: 14px; white-space: pre-wrap;">
<div class="_1mf _1mj" data-offset-key="2f9s4-0-0" style="direction: ltr; font-family: inherit; position: relative;">
</div>
</div>
<div>
<br /></div>
</div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-79729416590421374042017-07-07T07:34:00.000+00:002017-07-07T07:36:14.543+00:00Logging PF Firewall on Mac OSX<div dir="ltr" style="text-align: left;" trbidi="on">
Steps to enable logging for pfctl utility on newer osx like Yosemite, Sierra:<br />
<br />
Firstly,<br />
<br />
Add "log" to all rules in "/etc/pf.conf" or which ever PF configuration file you have.<br />
<br />
Also set the logging interface with:<br />
<br />
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">set loginterface pflog0</span></blockquote>
<br />
on the top of the PF config file.<br />
<br />
Create a virtual interface with:<br />
<br />
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">sudo ifconfig pflog0 create</span></blockquote>
<br />
Now start viewing packets which match the rules you logged with this:<br />
<br />
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">sudo /usr/sbin/tcpdump -lnettti pflog0</span></blockquote>
<br />
At the end do:<br />
<br />
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">sudo ifconfig pflog0 create</span></blockquote>
</div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-64745747771938837652017-06-26T06:15:00.000+00:002017-07-03T13:25:18.730+00:00Fast download with Golang<div dir="ltr" style="text-align: left;" trbidi="on">
Hey all, people keep saying about how great the concurrency is in golang. To be honest, I am pretty much a novice in this.<br />
<br />
So just wrote a download accelerator in golang using it's much awesome parallel feature, the source of which can be found here: <a href="https://github.com/rghose/go-parallel-downloader">https://github.com/rghose/go-parallel-downloader</a><br />
<br />
Here are a few results:<br />
<br />
<table border="1">
<tbody>
<tr><td>URL Downloaded</td><td>Time taken by wget</td><td>Time taken by Golang</td></tr>
<tr><td>http://get.videolan.org/vlc/2.2.5.1/macosx/vlc-2.2.5.1.dmg</td><td>1m3.375s</td><td>0m26.609s</td></tr>
</tbody></table>
<br />
This was with GOMAXPROCS=2, threads = 5 with Chunk Size = 10 KB<br />
<br />
So well, the chunk size of download did make a lot of difference, since the number of connections to download the thing would decrease, too many connections does not help in speed up<br />
<br />
<br /></div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-70767927958090638242017-06-20T11:53:00.001+00:002017-06-20T11:57:29.880+00:00Get brightness levels on jailbroken ios devices<div dir="ltr" style="text-align: left;" trbidi="on">
One liner:<br />
<br />
<span style="font-family: "courier new" , "courier" , monospace;">idevicediagnostics ioreg IOPower | grep -A7 '<key>brightness</key>' | tail -n1 | egrep -o '\d+'</span><br />
<br />
Explanation:<br />
<br />
<span style="font-family: "courier new" , "courier" , monospace;">idevicediagnostics ioreg IOPower</span><br />
<br />
This gives a lot of hardware info!</div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-15386448125575057472017-05-15T10:14:00.000+00:002017-06-09T07:07:05.396+00:00ADB Disable bluetooth on non-rooted devices<div dir="ltr" style="text-align: left;" trbidi="on">
Here's a script to disable Bluetooth from non-rooted devices:<br />
<br />
adb shell <<__eof<br />
input keyevent KEYCODE_WAKEUP;<br />
wm dismiss-keyguard;<br />
am start -a android.bluetooth.adapter.action.REQUEST_DISABLE;<br />
is_open=`dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp' | grep 'com.android.settings/com.android.settings.bluetooth.RequestPermissionHelperActivity'|wc -l`<br />
if [ $is_open = 0 ]; then exit; fi<br />
sleep 1;<br />
input keyevent KEYCODE_DPAD_RIGHT;<br />
input keyevent KEYCODE_DPAD_RIGHT;<br />
input keyevent KEYCODE_ENTER;<br />
exit;<br />
__EOF<br />
<br />
No warranties!</div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-9735057129349872982017-05-11T14:06:00.003+00:002017-05-11T14:08:52.197+00:00Install mp4box on centos<div dir="ltr" style="text-align: left;" trbidi="on">
Google behaved rather strangely today when I wanted to see how to install "Mp4Box". Yum search gave naught, so I decided to google this. On the hindsight maybe I needed better yum search fu for this.<br />
<br />
As I was searching through the ways of installing MP4Box on Fedora / Centos I came up with installation instructions that asked me to build the application from source. Even the official website: https://gpac.wp.imt.fr/mp4box/ provides no explanation on how to do it. They just have the official windows, debian and ios installers. It also offers an explanation to build from source on other linux-es.<br />
<br />
While all this confusion is going round, the dude who had the requirement to simple and install gpac, since that is the name of the project! Well, guess what, it worked. So, here's how you install MP4Box on Fedora or CentOS :<br />
<a name='more'></a><br />
<blockquote class="tr_bq">
sudo yum install gpac</blockquote>
<br />
Oh and btw, it can be found in the "rpmfusion-free" repository.</div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-3203431785159125632017-04-28T08:59:00.000+00:002017-05-03T07:45:00.171+00:00RVM Ruby Execution with launchctl on osx<div dir="ltr" style="text-align: left;" trbidi="on">
<div>
This addresses a problem that goes like this:</div>
<div>
<br /></div>
<div>
You want to create a launch file for launchd (launchctl) to run a ruby file periodically or as a daemon.<br />
<br />
Various solutions to this problem include creating an RVM alias for the particular ruby version you want to use. Here I present a working version without aliases, just uses the default RVM Ruby. Please not that, for me, the default rvm ruby is 2.2.5.</div>
<div>
<br /></div>
When you create a sample plist file like this:<br />
<pre><textarea style="height: 329px; margin: 0px; width: 623px;"><plist version="1.0">
<dict>
<key>Label</key>
<string>com.yourdomain.projectname</string>
<key>ProgramArguments</key>
<array>
<string>/Users/rahul/.rvm/rubies/ruby-2.2.5/bin/ruby</string>
<string>test.rb</string>
</array>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false>
</false></dict>
<key>RunAtLoad</key>
<true>
<key>StartInterval</key>
<integer>21600</integer>
</true></dict>
</plist>
</textarea>
</pre>
<div>
<br />
<pre style="color: #708284; font-family: monospace, monospace; letter-spacing: -1px; margin-bottom: 0.5em; margin-left: 0.4em; margin-top: 0.5em; overflow: auto; white-space: pre-line; word-wrap: break-word;"></pre>
<div>
The rvm environment does get initialized. You get lots of gem issues.</div>
<div>
<br /></div>
The trick here lies in not running ruby but:<br />
<div>
<br />
rvm-shebang-ruby<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #6a8759; background-color: #2b2b2b}
</style></div>
</div>
<div>
<br /></div>
<div>
Simply use:<br />
<textarea style="height: 300px; margin: 0px; width: 604px;"><plist version="1.0">
<dict>
<key>Label</key>
<string>com.yourdomain.projectname</string>
<key>ProgramArguments</key>
<array>
<string>/Users/rahul/.rvm/rubies/ruby-2.2.5/bin/rvm-shebang-ruby</string>
<string>test.rb</string>
</array>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false>
</false></dict>
<key>RunAtLoad</key>
<true>
<key>StartInterval</key>
<integer>21600</integer>
</true></dict>
</plist>
</textarea>
</div>
<div>
<br /></div>
<div>
Ruby and RVM environments are now correctly updated.</div>
<div>
<br /></div>
<div>
Yeah and you don't need to create any aliases. It will work perfectly fine.</div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-80769182486911414742016-12-14T10:07:00.001+00:002020-08-11T10:12:40.269+00:00Clash of Clans on laptop computer<div dir="ltr" style="text-align: left;" trbidi="on">
Okay this seems to be a click-bait but really not. Android Developers would know how painful it is to get the default android emulator up and running, not considering the pain that eventually follows when the actual application begins to run. It takes ages for the emulator to run even in a decent configuration PC or MacBook.<br />
<br />
Now, I wasn't sure this could be done until my sister brought up the topic. She plays Clash of Clans on her laptop! Wow!<br />
<br />
So, I decided to google. I knew about genymotion but it's a paid service, and then here's one emulator which actually worked for me on Mac OSX - <a href="http://bstk.me/o15UbYSzu" target="_blank">BlueStacks</a>.<br />
<br />
Check this out:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqBH5WOO7axsy9CdWninSN0yc4DfKVHfCkpyZYt4IzL0ScbHXZbzmttDd69UxEvVmC6Tpw4-y4aHh1NunFO5bM9tTATW7fBv-IlKiW71sCDin-6T_OjiSyGURFa89wqzfdjQYbAszCLzY/s1600/Screenshot+at+Dec+14+15-35-36.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqBH5WOO7axsy9CdWninSN0yc4DfKVHfCkpyZYt4IzL0ScbHXZbzmttDd69UxEvVmC6Tpw4-y4aHh1NunFO5bM9tTATW7fBv-IlKiW71sCDin-6T_OjiSyGURFa89wqzfdjQYbAszCLzY/s400/Screenshot+at+Dec+14+15-35-36.png" width="400" /></a></div>
<br />
Pretty cool huh!?</div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-66791440267426621902016-12-07T08:09:00.001+00:002016-12-08T10:12:36.440+00:00Makkhichoose attempts to bring flights search<div dir="ltr" style="text-align: left;" trbidi="on">
For a few days I noticed "hello from flights js" on my browser console. I would assume some rougue extension somewhere and ignored it to the point where it really got very annoying. I finally tracked down the extension to this: "gllmlkidgbagkcikijiljllpdloelocn"<br />
<br />
To get the folder location of chrome extensions, according to <a href="http://stackoverflow.com/questions/14543896/where-does-chrome-store-extensions">this answer</a>, I first checked out, <a href="chrome://version/">chrome://version/</a> for my <b>Profile Path</b>.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6m-sgtDXr0tnY3htyvw25eSJ4BcVPbhBf99OPHgccegla6cs8ZBT7mlBIHQDRUDORq8xe_Q1-XOFNdjoGoeBLNzPoe1NLt8nFggHQwCXR0auidIGS4GZjsGR0ZlvHMM_BLjk_28Oi4bY/s1600/makkhilogo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6m-sgtDXr0tnY3htyvw25eSJ4BcVPbhBf99OPHgccegla6cs8ZBT7mlBIHQDRUDORq8xe_Q1-XOFNdjoGoeBLNzPoe1NLt8nFggHQwCXR0auidIGS4GZjsGR0ZlvHMM_BLjk_28Oi4bY/s200/makkhilogo.png" width="186" /></a></div>
<br />
<br />
I was able to track this down to being the Makkhichoose extension which I regularly use for tracking prices on various e-commerce websites, like <a href="http://amazon.in/">amazon</a>, <a href="http://paytm.in/">paytm</a>, <a href="http://shopclues.com/">shopclues</a>, <a href="http://myntra.com/">myntra</a> and <a href="http://flipkart.com/">flipkart</a>.<br />
<br />
Okay... A moment of silence for me and my covert stinginess.<br />
<br />
Now then that is over, we can proceed further. So apparently MakkhiChoose is trying out a new flights based comparison tool as well!<br />
<br />
Here are a few samples:<br />
<blockquote class="tr_bq">
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">console.log('hello from flights js');</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">// var mmt_domestic_page__previous_url='';</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">// function mmt_domestic_page_url_watcher(){</span></blockquote>
<div>
</div>
</blockquote>
<br />
And for cleartrip as well:<br />
<br />
<blockquote class="tr_bq">
<div>
<span style="font-family: "courier new" , "courier" , monospace;">//cleartrip parsing</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace;"><br /></span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace;">var ct_domestic_page_load_checker_timer;</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace;"><br /></span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace;">function ct_domestic_page_load_checker(){</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>console.log('executing load_checker');</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>var url_params=window.location.search.replace('?','').split('&').reduce(function(s,c){var t=c.split('=');s[t[0]]=t[1];return s;},{});</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if( (url_params['page']=='loaded' && window.location.href.match('cleartrip.com/flights/results?') && ($('.loaderContainer:eq(-1)').css('display')=="none")) ){</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span>console.log(window.location.href);</span></div>
<div>
</div>
</blockquote>
<br />
Also http://www.easemytrip.in/<br />
<br />
<span style="font-family: "courier new" , "courier" , monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span> url: "http://emtxml.bookeasytrip.com/emtxml.asmx",</span><br />
<span style="font-family: "courier new" , "courier" , monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span> processData: false,</span><br />
<span style="font-family: "courier new" , "courier" , monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span> // url: "http://shades.makkhichoose.com/analytics/logextensionfeedback",</span><br />
<span style="font-family: "courier new" , "courier" , monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span> data: xml_req,</span><br />
<span style="font-family: "courier new" , "courier" , monospace;"><span class="Apple-tab-span" style="white-space: pre;"> </span> contentType: "application/soap+xml",</span><br />
<div>
<br /></div>
<br />
Seems like they are on to something!<br />
<br />
In my bout of hacking their sources, I found a neat "What-is-my-IP" clone. Here it is:<br />
<br />
<blockquote class="tr_bq">
<span style="font-family: "courier new" , "courier" , monospace;">curl "http://search.makkhichoose.com/getip"</span></blockquote>
Happy hacking!<br />
<br />
<br /></div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com1tag:blogger.com,1999:blog-1554736489479214392.post-90298802352407736382016-12-05T07:48:00.003+00:002016-12-07T08:15:41.442+00:00Selenium ChromeDriver Install Script<div dir="ltr" style="text-align: left;" trbidi="on">
Hello Folks,<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnshExPJPPWr8xXDVvkAc07SItJrGhRO4AehowTJqQE9bb8eZsucZl5fMEB18GxXPUVAHR0Kf1IZOYAYqGGjl_JiKGhrnXDvWZ0pNGH1mOZiBoIdMtO57_yvF4203yq0UibLGzcPo0l34/s1600/selenium-chrome.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnshExPJPPWr8xXDVvkAc07SItJrGhRO4AehowTJqQE9bb8eZsucZl5fMEB18GxXPUVAHR0Kf1IZOYAYqGGjl_JiKGhrnXDvWZ0pNGH1mOZiBoIdMtO57_yvF4203yq0UibLGzcPo0l34/s1600/selenium-chrome.png" /></a></div>
<br />
<br />
As I was trying to instruct someone how to install Selenium Webdriver on OSX, I realised that there were no good scripts to automate this task. There were instructions, sure, but none of the were a copy and paste solution. Not that I encourage copy-paste, I found this rather inconvenient though.<br />
<br />
So here's a script install selenium chromedriver for any unix osx or windows computers (assuming cygwin) -<br />
<br />
<script src="https://gist.github.com/rghose/106ae71639c6f9ce9076a260a5614b94.js"></script>
In case, the github plugin did not work the URL is here:<br />
<br />
<a href="https://gist.github.com/rghose/106ae71639c6f9ce9076a260a5614b94">https://gist.github.com/rghose/106ae71639c6f9ce9076a260a5614b94</a><br />
<br />
Enjoy!</div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-43343101768615402262016-11-24T08:59:00.001+00:002016-12-07T08:16:14.932+00:00Showing Images on the terminal<div dir="ltr" style="text-align: left;" trbidi="on">
So I just found a <a href="https://gist.github.com/mpasternacki/974e29d1e3865e940c53">post</a> on <a href="https://news.ycombinator.com/news">Hacker News</a> where someone installed FreeBSD on their Mac, apparently because of this cool terminal thingy called <a href="https://www.enlightenment.org/about-terminology">Terminology</a>. It can apparently show images on the terminal, using something called the EFL (Enlightenment Foundation Libraries), which are basically a set of graphics libraries on the Enlightenment Window Manager. Now being the lazy dude I am, I decided I am not going to spend hacking UEFI today, rather why not spend hacking iTerm instead? I know iTerm shows me beer emoji when I do brew installs.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRszH0QqfbjcHdALwZNY2f2eR1om3Bqau0UPid7kYYNnqzE_iFmffVrRCWS_5AA3-z3r_3JOGVQD0RiQviJadEgokjYwqL9TszCNgbfbNemfUVKDOGx-ud9JEmemTTW8Y61T99b2uxxlc/s1600/Screenshot+at+Nov+24+14-21-08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRszH0QqfbjcHdALwZNY2f2eR1om3Bqau0UPid7kYYNnqzE_iFmffVrRCWS_5AA3-z3r_3JOGVQD0RiQviJadEgokjYwqL9TszCNgbfbNemfUVKDOGx-ud9JEmemTTW8Y61T99b2uxxlc/s1600/Screenshot+at+Nov+24+14-21-08.png" /></a></div>
<br />
So surely, there must be some way of showing images right?<br />
<br />
Well here we go:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoEtT2Q1ZcC79Pe8ZBHXOMv9qr_kD1_8Fnl-JvqEPFmghrnNFiDsLlqy01SxmyZpdVd21-1ig9gQUtcRM2xtx4oNNX4sx1qs5mNAz2Xum7w7SGMXUO0oS7ZAzMNwrX6fj7HB6RRBeGwag/s1600/lo-and-behold.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="278" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoEtT2Q1ZcC79Pe8ZBHXOMv9qr_kD1_8Fnl-JvqEPFmghrnNFiDsLlqy01SxmyZpdVd21-1ig9gQUtcRM2xtx4oNNX4sx1qs5mNAz2Xum7w7SGMXUO0oS7ZAzMNwrX6fj7HB6RRBeGwag/s400/lo-and-behold.png" width="400" /></a></div>
<br />
Right on! Here's the amazing script which does this: <a href="https://raw.githubusercontent.com/gnachman/iTerm2/master/tests/imgcat">https://raw.githubusercontent.com/gnachman/iTerm2/master/tests/imgcat</a><br />
<br />
Happy Hacking!</div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0tag:blogger.com,1999:blog-1554736489479214392.post-22082295506187454982016-01-08T12:15:00.000+00:002016-12-07T08:16:57.091+00:00One line youtube video downloader<div dir="ltr" style="text-align: left;" trbidi="on">
Okay, so this might be illegal in certain places. I just decided to try this out for fun, and here we have it, download youtube videos with 1 line of shell script (and some perl)<br />
<br />
The script looks like this:<br />
<blockquote class="tr_bq">
curl -H 'Upgrade-insecure-requests: 1' -H 'Cache-control: max-age=0' -H 'Accept-language: en-US,en;q=0.8,bn;q=0.6' -H 'Accept-encoding: gzip, deflate, sdch' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36' "https://www.youtube.com/watch?v=II3L1noJlYQ" | gunzip | egrep -o 'https%3A%2F%2F[^\.]*\.googlevideo.com%2F[^,\]*' | perl -pe 's/\%(\w\w)/chr hex $1/ge' | head -n1 | xargs wget -O out.video</blockquote>
<div>
One line.</div>
<div>
<br /></div>
<div>
Get it here:</div>
<div>
<br />
<a href="https://github.com/rghose/youtube-downloader">https://github.com/rghose/youtube-downloader</a></div>
<div>
<br /></div>
</div>
Rahul Ghosehttp://www.blogger.com/profile/00742756207536622524noreply@blogger.com0