tag:blogger.com,1999:blog-84139507147622189752024-03-05T11:54:20.277-08:00Knowledge sharing...SKhttp://www.blogger.com/profile/08925115749741101777noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-8413950714762218975.post-69876404129515748612014-12-10T19:43:00.000-08:002014-12-10T19:43:14.839-08:00MAC Applescript to toggle Safari Socks Proxy StateMac Yosemite<br />
<br />
Toggle Socks proxy state in safari using Apple script<br />
<br />
<div style="font-family: Verdana; font-size: 12px; margin-left: 41.6px; text-indent: -41.6px;">
<b>set</b> <span style="color: #4f8f00; font-variant-ligatures: no-common-ligatures;">socksStatus</span> <b>to</b> <span style="color: #012fbe; font-variant-ligatures: no-common-ligatures;"><b>do shell script</b></span> "networksetup -getsocksfirewallproxy Wi-fi | grep Enabled"</div>
<div style="font-family: Verdana; font-size: 12px; margin-left: 41.6px; min-height: 15px; text-indent: -41.6px;">
<br /></div>
<div style="font-family: Verdana; font-size: 12px; margin-left: 41.6px; text-indent: -41.6px;">
<b>if</b> (<span style="color: #012fbe; font-variant-ligatures: no-common-ligatures;"><b>offset</b></span> <span style="color: #012fbe; font-variant-ligatures: no-common-ligatures;">of</span> "Yes" <span style="color: #012fbe; font-variant-ligatures: no-common-ligatures;">in</span> <span style="color: #4f8f00; font-variant-ligatures: no-common-ligatures;">socksStatus</span>) = 0 <b>then</b></div>
<div style="font-family: Verdana; font-size: 12px; margin-left: 83.2px; text-indent: -83.2px;">
<span class="Apple-tab-span" style="white-space: pre;"> </span><span style="color: #012fbe; font-variant-ligatures: no-common-ligatures;"><b>do shell script</b></span> "networksetup -setsocksfirewallproxystate Wi-fi On"</div>
<div style="font-family: Verdana; font-size: 12px; margin-left: 83.2px; text-indent: -83.2px;">
<span class="Apple-tab-span" style="white-space: pre;"> </span><span style="color: #012fbe; font-variant-ligatures: no-common-ligatures;"><b>display notification</b></span> "Status: Socks Enabled" & <span style="color: #4f8f00; font-variant-ligatures: no-common-ligatures;">socksStatus</span></div>
<div style="font-family: Verdana; font-size: 12px; margin-left: 41.6px; text-indent: -41.6px;">
<b>else</b></div>
<div style="font-family: Verdana; font-size: 12px; margin-left: 83.2px; text-indent: -83.2px;">
<span class="Apple-tab-span" style="white-space: pre;"> </span><span style="color: #012fbe; font-variant-ligatures: no-common-ligatures;"><b>do shell script</b></span> "networksetup -setsocksfirewallproxystate Wi-fi Off"</div>
<div style="font-family: Verdana; font-size: 12px; margin-left: 83.2px; text-indent: -83.2px;">
<span class="Apple-tab-span" style="white-space: pre;"> </span><span style="color: #012fbe; font-variant-ligatures: no-common-ligatures;"><b>display notification</b></span> "Status: Socks disabled" & <span style="color: #4f8f00; font-variant-ligatures: no-common-ligatures;">socksStatus</span></div>
<br />
<div style="font-family: Verdana; font-size: 12px; margin-left: 41.6px; text-indent: -41.6px;">
<b>end</b> <b>if</b></div>
<div style="font-family: Verdana; font-size: 12px; margin-left: 41.6px; text-indent: -41.6px;">
<b><br /></b></div>
SKhttp://www.blogger.com/profile/08925115749741101777noreply@blogger.com0tag:blogger.com,1999:blog-8413950714762218975.post-79582095441745034592014-01-22T18:59:00.001-08:002014-01-22T19:01:02.941-08:00Calories Burned: Elliptical vs. Treadmill
Which one is better? Both has same benefits and calorie burn.
<br />
<br />
<a href="http://www.healthfitnessexperts.com/calories-burned-elliptical-and-treadmill/" target="_blank">HealthFitness Article</a>SKhttp://www.blogger.com/profile/08925115749741101777noreply@blogger.com0tag:blogger.com,1999:blog-8413950714762218975.post-73037138286224697682013-10-14T08:17:00.001-07:002013-10-14T08:17:24.872-07:00Mortgage Refinancing Waiver<a href="http://president%20obama%20waives%20refinance%20requirements%202013/" target="_blank">President Obama Waives Refinance Requirements 2013</a>
SKhttp://www.blogger.com/profile/08925115749741101777noreply@blogger.com0tag:blogger.com,1999:blog-8413950714762218975.post-50113638701959732552013-10-04T19:55:00.002-07:002014-12-10T19:02:48.454-08:00Do you work for one Boss?<strong>The following is the opinion of the writer and is not intended to malign any organization, company, gender or individual. The views of the writer are his own based on experience and do not in any way reflect the views of the site they are posted on.</strong><br />
<br />
Boss theory: Do you work for one Boss or many?<br />
<br />
Most organization looks like the Matrix Organization. In these kind of structure, you report to functional manager in administrative capacity. You may be team member in multiple project so you have to report to Multiple project managers.<br />
<br />
Is Boss a worker? Yes indeed and reporting to different heads. Everyone is after something, deadline/target/business goal/expansion/cost saving/enhancement/analytics/forecasting etc.. Primary objective of the boss becomes a elite delivery body. What I mean by that is receiving the commands and executing. You don't get the corner office by doing the best in your field. You get by delivering and ensuring the other layer looks good by your work.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://indiathink.com/wp-content/uploads/2010/06/matrix_organization.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://indiathink.com/wp-content/uploads/2010/06/matrix_organization.gif" height="265" width="320" /></a></div>
<br />SKhttp://www.blogger.com/profile/08925115749741101777noreply@blogger.com0tag:blogger.com,1999:blog-8413950714762218975.post-81764206508493758392013-10-03T19:14:00.004-07:002013-10-03T21:51:41.233-07:00Singapore Trip planSingapore: Highly diverse population. Reflecting this diversity, the country has four official languages: English,
Malay, Chinese, and <strong>Tamil</strong><br />
<br />
Stayed Two nights and Three days<br />
<br />
Day-1: <br />
Hotel Check-In, Refresh<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://img.city-sightseeing.com/assets/images/geodata/2507.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img alt="" border="0" height="150" src="https://img.city-sightseeing.com/assets/images/geodata/2507.jpg" title="City Tour bus" width="200" /></a></div>
<br />
<br />
<div style="text-align: right;">
<span style="font-size: large;">City tour bus</span></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<a href="http://twistedsifter.files.wordpress.com/2012/06/gardens-by-the-bay-supertrees-singapore-1.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="133" src="http://twistedsifter.files.wordpress.com/2012/06/gardens-by-the-bay-supertrees-singapore-1.jpg" width="200" /></a><br />
<span style="font-family: "Trebuchet MS", sans-serif; font-size: large;"></span><br />
<span style="font-family: "Trebuchet MS", sans-serif; font-size: large;"></span><br />
<div style="text-align: left;">
<span style="font-family: "Trebuchet MS", sans-serif; font-size: large;">Gardens by the bay</span></div>
<br />
<br />
<br />
<br />
<br />
<br />
<a href="http://rawartint.files.wordpress.com/2008/02/singapore2.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="112" src="http://rawartint.files.wordpress.com/2008/02/singapore2.jpg" width="320" /></a><br />
<a href="http://rawartint.files.wordpress.com/2008/02/singapore2.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"></a><br />
<a href="http://rawartint.files.wordpress.com/2008/02/singapore2.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><div style="text-align: left;" unselectable="on">
</div>
</a><br />
<br />
<div style="text-align: right;">
<span style="font-family: "Trebuchet MS", sans-serif; font-size: large;"> Singapore Flyer</span></div>
<br />
<br />
<br />
<br />
<br />
Day-2:<br />
Sentosa Island Aquarium<br />
Night Safari<br />
<br />
Day-3:<br />
Shopping<br />
<br />
<div style="text-align: left;">
by செ.குமார் </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhdrsYPcHeCNpRwbuc29abLXacNT4k8ooJkyW8Nck0VrGhLgBFdhYZbsFAi38EErD7f4DWXAXHeJDz4HE8bwIDtzfgsoe7u_KVs49Bz03bnvog29VSXK5xxCd-DgVkFp3uzh_4bjPobT7D/s1600/D2A1D33201EF78BC344DF4888ED660F1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhdrsYPcHeCNpRwbuc29abLXacNT4k8ooJkyW8Nck0VrGhLgBFdhYZbsFAi38EErD7f4DWXAXHeJDz4HE8bwIDtzfgsoe7u_KVs49Bz03bnvog29VSXK5xxCd-DgVkFp3uzh_4bjPobT7D/s1600/D2A1D33201EF78BC344DF4888ED660F1.png" /></a></div>
<div style="text-align: left;">
</div>
SKhttp://www.blogger.com/profile/08925115749741101777noreply@blogger.com0tag:blogger.com,1999:blog-8413950714762218975.post-67074388224200906442013-10-02T09:51:00.002-07:002013-10-24T20:32:09.212-07:00Tennis Learning through web contents...With Tennis, depending on your style of play, each element could make a big difference. <br />
<br />
I have learned many thing through my experience over the time. Wish there is some shortcut to learn the tricks quickly and adjust your style of play. But each step takes a while to get used too.<br />
<br />
<strong><span style="font-size: large;">How to hold the tennis racquet</span></strong>
<br />
<div class="tab">
I held the racquet like a hammer. With the help of this video I changed my grip, adjustment helped me a lot with my top spin.
<iframe class="youtube-player" frameborder="0" height="300" src="http://www.youtube.com/embed/EJte9GmquFc" type="text/html" width="525"></iframe>
</div>
<br />
<strong><span style="font-size: large;">Switching Tennis grip for forehand and backhand</span></strong>
<div class="tab"><iframe class="youtube-player" frameborder="0" height="300" src="http://www.youtube.com/embed/02MeYgdqsso" type="text/html" width="525"></iframe><br /></div><br />
<strong><span style="font-size: large;">Tennis Elbow Explained in Medical terms</span></strong>
<div class="tab"><iframe allowfullscreen="" class="youtube-player" frameborder="0" height="300" src="http://www.youtube.com/embed/DRywmb1ueOI" type="text/html" width="525"></iframe><br /></div>
<strong><span style="font-size: large;">Tennis Elbow Brace</span></strong>
<div class="tab">I tried several and like the followng brands. BandIT, AirCast - Where to buy? Amazon or Sports Authority</dd><dd> </div>
<strong><span style="font-size: large;">Elbow exercise</span></strong>
<div class="tab">Squeeze palm size stress ball or <span id="btAsinTitle">FlexEx Hand Exerciser</span> </div><br />
<strong><span style="font-size: large;">Arm Friendly Tennis Racquet Analysis</span></strong>
<div class="tab">Prince EX03 Tour worked out the best for me. I use Wilson NXT Tour string. </div>
<div class="tab"><a href="http://tenniselbowracquet.com/tennis-racquets/">http://tenniselbowracquet.com/tennis-racquets/</a></div><br />
<strong><span style="font-size: large;">Tennis shoe</span></strong>
<div class="tab">Shoe choice depends on your foot structure. In my case, I have high Arch. I tried prince T22, Nike and Addidas. <br />
T22 cause knee pain for me. <br />
Addidas Barricade 7.0 worked the best for me with pinnacle insert for my Arch support. <br />
Update: With Barricade 7.0, I do get pain at the back of heel.
I wear two socks to avoid cramp or use ankle brace</div>
<br />
<strong><span style="font-size: large;">Knee joins</span></strong>
<div class="tab">Depends on the injury. I am using McDavid jumper's knee strap which works great. <br />
Or for more support McDavid Patella knee brace is good.
</div>
<br />
Favorite Tennis store in north Jersey:
<div class="tab"><a href="http://www.highcountryskiandsports.com/">http://www.highcountryskiandsports.com/</a></div><br />SKhttp://www.blogger.com/profile/08925115749741101777noreply@blogger.com0tag:blogger.com,1999:blog-8413950714762218975.post-44586776387049468202013-10-01T08:34:00.001-07:002013-10-24T20:48:24.712-07:00Personal Media File ManagementMy digital photography and video files are saved in multiple devices, What can I do, how to organize in one location and manage! Let us see how I got there.<br />
<br />
Files are stored in different folders, same file name is used in different location. <br /><p></p>
<strong>Step-1: Rename files and move them in <yyyy> and under subfolder <yyyy_mm> by month</strong><br />
<br />
<div class="tab">
Challenge: Duplicate media file names. </div><br />
<div class="tab">
Written a VBScript to rename files in current folder based on date and timestamp <yyyymmdd_hhmmss>. If wants to execute the script in multiple folders, used an input file with folder names to execute (didn't want to execute the logic in every folder). </div><br />
<div class="tab">
For duplicate filenames, additional suffix is added like <space>(n) in file name.</div><br />
<div class="tab">
Executed the batch in all media file devices (USB drive, Laptop, etc..)</div><br />
<strong>Step-2: Consolidation.</strong><br /><br />
<div class="tab">
Used "Beyond compare" (<a href="http://www.scootersoftware.com/)">http://www.scootersoftware.com/)</a> tool to analyze folders in different devices and to ensure all files are copied in one place, to my Laptop. For e.g. photos consolidated to C:\photos\<yyyy>\<yyyy_mm> and videos under C:\videos\<yyyy>\<yyyy_mm>.</div><br />
<div class="tab">If you don't want to buy licensed software you can use Robocopy command line tool.</div>
<br /><strong>Step-3: Remove duplicates</strong><br /><br />
<div class="tab">Challenge: Eliminate duplicates files in a folder based on filesize and binary comparison.</div><br />
<div class="tab">
SearchMyFile Utility: <a href="http://www.nirsoft.net/articles/find_duplicate_files.html">http://www.nirsoft.net/articles/find_duplicate_files.html</a><br />Freeware like "searchMyFiles" can scan for duplicate files by filesize and automatically carry out binary comparison on duplicate files. The duplicate file information can then be copied into Excel and generate your own script to move duplicate files into a temp folder or delete.
</div><br />
<div class="tab">
Easy Duplicate Finder: <a href="http://www.easyduplicatefinder.com/">http://www.easyduplicatefinder.com/</a><br />
Free version of the tool, scans for duplicate files and review the contents as you scroll. Just to spot check!
</div>
Wow.. Too many steps. I know, I know.. I don't have time to write everything in a program.<br />
<br />
This article is meant for techies. If you want any of my VBS codes, reach out to me. Love to hear from you!<br />
<br />
by செ.குமார்SKhttp://www.blogger.com/profile/08925115749741101777noreply@blogger.com0