tag:blogger.com,1999:blog-211540102024-02-19T18:09:52.586+02:00KARPOLAN's blogEverything about nothingKARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.comBlogger135125tag:blogger.com,1999:blog-21154010.post-54640201795130147162019-10-06T22:39:00.000+03:002019-10-06T23:27:30.403+03:00Who is CTO?<div dir="ltr" style="text-align: left;" trbidi="on">
<p>
I worked as a technical director in many businesses of different sizes. From <b>startup companies</b> with few employees, to <b>international corporations</b> with tens of branches around the World.
</p>
<p>
So you can call me the <b>Serial CTO</b> :)
</p>
<h2>
CTO Goals
</h2>
<p>
Company structures are different, business processes are different, people and culture are even more different... The <b>goals for CTO</b> are always the same:
</p>
<h3>
Ensure <b>guaranteed fulfillment</b> of all business tasks <b>using only available</b> human and financial resources.
</h3>
<p>
That is, in short, in one phrase.
</p>
<h2>
What the CTO is actually doing?
</h2>
<p>
The first task for any <b>Technical Director</b> is to <b>select technologies</b> and to <b>build processes</b> that will cover all the <b>necessary business tasks</b>.
</p>
<p>
The difference lies in the details and limitations:
</p>
<ul>
<li>Time limits.</li>
<li>Limited funding.</li>
<li>Availability of human resources.</li>
<li>Competition in a business niche.</li>
<li>The balance between tactical and strategic objectives.</li>
</ul>
<p>
The next <b>big task for the CTO</b> is the creation and development of the <b>technical team</b>.
</p>
<h2>
Why the technical team is important?
</h2>
<p>
The technical team <b>maintains the operability</b> of the technological system, <b>guarantee the fulfillment</b> of business tasks with the <b>proper quality on time</b>.
</p>
<p>
Depending on the maturity of the business, <b>the balance</b> between tactical and strategic objectives <b>may change</b>.
In this case, <b>making changes</b> into the system <b>without stopping work processes</b> is provided by the technical team.
</p>
<br /></div>
KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com4tag:blogger.com,1999:blog-21154010.post-79551667618906702032018-07-08T19:34:00.001+03:002018-07-08T19:34:05.151+03:00Why some HTML tags disappear in Wordpress?<div dir="ltr" style="text-align: left;" trbidi="on">
<p>
Do you have Wordpress powered website, and HTML tags like <form></form>, <input />, <script></script> disappear when you are updating the existing post or page?
</p>
<p>
Congratulation! You also have found a bug in the security of Wordpress CMS...
</p>
<p>
Change the author of page/post to the current user or just re-login with a proper Wordpress account.
</p>
<br /></div>
KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-86536881040225877762018-05-04T18:27:00.001+03:002018-05-04T19:08:42.701+03:00Online tests for Google Analytics and Tag Manager<div dir="ltr" style="text-align: left;" trbidi="on">
<p>
I've spent a lot of time setting up and testing different actions using <b>Google Global Site Tag</b>.
</p>
<p>
Moreover there are at least 3 different versions of installation codes for <b>Google Analytics</b> plus <b>Google Tag Manager</b>.
</p>
<p>
So I've gathered all these codes in one website and added some testing tools there. For example, you can generate any event on the fly.
</p>
<p>
<a target="_blank" href="http://karpolan.com/services/google-analytics-test/">Installation Codes and On-line Tests for Google Analytics and Google Tag Manager</a>.
</p>
<br /></div>
KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-4337988847909542482017-09-23T23:29:00.000+03:002017-09-25T14:23:28.542+03:00PIN stop working on Windows login. Cannot change or reset the PIN.<div dir="ltr" style="text-align: left;" trbidi="on">
<p>
I was using PIN to unlock my Windows 10 computers for years. But one day my laptop requested Password instead of PIN. Moreover the PIN option disappeared from the Welcome screen completely :(
</p>
<p>
Finally, I've remembered my password, get logged and decided to set the PIN again.
</p>
<p>
But System Settings worked weird: "Add New PIN" button was available, but when I clicked it, the system asked for the PIN instead of Password! Moreover, there was no "Reset PIN" or "Forgot PIN" option :(
</p>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimRyNuoenvtrIN4SIzm9p8ts0RXeyTtmVGMY1JBq1XyHTrWcnjnwgyMFEz5wLJCYWNSmJUhsAUnK0U18hd3Do395i1vlYj-IpJ56ozdnE_ImFyPfbG8S_jOp15AR1soA9AQ04hMQ/s1600/windows-settings-pin-no-reset-button.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="786" data-original-width="1600" height="197" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimRyNuoenvtrIN4SIzm9p8ts0RXeyTtmVGMY1JBq1XyHTrWcnjnwgyMFEz5wLJCYWNSmJUhsAUnK0U18hd3Do395i1vlYj-IpJ56ozdnE_ImFyPfbG8S_jOp15AR1soA9AQ04hMQ/s400/windows-settings-pin-no-reset-button.png" width="480" /></a></div>
<p>
I've been Googling this bug for about 30 minutes but none of the solutions worked for me… Then I tried to remove the PIN settings manually and solve the problem :)
</p>
<p>
Here is a step by step instruction:
</p>
<p>
You need a file manager with Administrator access level and enabled view for "hidden files". You can use Windows Explorer but you have to add permissions for some folders manually.
</p>
<p>
Go to "[Windows]\ServiceProfiles\LocalService\AppData\Local\Microsoft\Ngc" folder:
</p>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0pvOwXb8FQ9FLwcQ4ejxUTGBn8JdFgyL97WEddFoJPo6ox3IG71enmElrpHiT4GXkp36enpOPylusyjjcpJI5bIUVnv7Y4k0RiR2auYuxL4jyC3OGdjsdLyyV24uIVPbUGs4lEA/s1600/login-pin-fix-for-windows10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="748" data-original-width="1600" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0pvOwXb8FQ9FLwcQ4ejxUTGBn8JdFgyL97WEddFoJPo6ox3IG71enmElrpHiT4GXkp36enpOPylusyjjcpJI5bIUVnv7Y4k0RiR2auYuxL4jyC3OGdjsdLyyV24uIVPbUGs4lEA/s640/login-pin-fix-for-windows10.png" width="480" /></a></div>
</p>
<p>
Delete or rename "{xyz}" sub-folder.
</p>
<p>
Open "System Settings > Accounts > Sign-in Options", press "Add" button and create a new PIN code for your account.
</p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiB0yFnBPLA9BTBZSeIrA1ViRyeM6ismF6remxlcAfJkaVb4Q5Ow5_0X9E_vwsI4g-byVKMCPo9E_oADK3W-MOCA01Euyc7iFCzbcEwMVR7iyNC0DcjBW0tLCRvBeq1p7XE64Xoig/s1600/windows-set-pin-settings.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiB0yFnBPLA9BTBZSeIrA1ViRyeM6ismF6remxlcAfJkaVb4Q5Ow5_0X9E_vwsI4g-byVKMCPo9E_oADK3W-MOCA01Euyc7iFCzbcEwMVR7iyNC0DcjBW0tLCRvBeq1p7XE64Xoig/s640/windows-set-pin-settings.png" width="480" data-original-width="1600" data-original-height="931" /></a></div>
<p>
After that the PIN will work on the Login screen. "Remove" button and "I forgot my PIN" options are also available:
</p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFRT7Do73UWYpOtQIod8paUByaxjuv1DAcK8HiloeGNlpkWXw21A_R0YfauV4mu76uHfGN4EDTM1fY-AaVNZZLQ_OXyFzsIzVjWiXd30D6N_pGpeco39YpJLbEVjALwa6XyDX3jw/s1600/windows-pin-settings-fixed.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFRT7Do73UWYpOtQIod8paUByaxjuv1DAcK8HiloeGNlpkWXw21A_R0YfauV4mu76uHfGN4EDTM1fY-AaVNZZLQ_OXyFzsIzVjWiXd30D6N_pGpeco39YpJLbEVjALwa6XyDX3jw/s400/windows-pin-settings-fixed.png" width="320" data-original-width="955" data-original-height="380" /></a></div>
<p>
Let me know if you have any issues with PIN on Windows login. Just write a comment to describe how and when the problem appeared. Thank you.
</p>
<br /></div>
KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-57509923524116493142017-03-28T07:34:00.001+03:002017-03-29T06:32:15.545+03:00Tic Tac Toe game made with Unity3D<div dir="ltr" style="text-align: left;" trbidi="on">
<p>
Few years ago I was trying to get a job as a game developer. My test task was to make the <b>Tic Tac Toe game</b> using <a target="_blank" rel="nofollow" href="https://unity3d.com/">Unity3D game engine</a>.
</p>
<p>
I didn't get the job but the game worked and looked good.
Moreover my <a target="_blank" href="
https://github.com/karpolan/unityTicTacToe/blob/master/Assets/scriptGame.cs">C# source code of Tic Tac Toe game</a> is simple and well commented.
</p>
<p>
So I decided to publish the <b><a target="_blank" href="https://github.com/karpolan/unityTicTacToe/">Tic-Tac-Toe project on GitHub</a></b>.
</p>
<p>
Hope the sources of this game project for Unity3D will be a useful tutorial for some game developer or other person who want to learn the programming.
Enjoy :)
</p>
<br /></div>
KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-33865293124328007362016-05-01T01:41:00.001+03:002018-12-09T04:02:15.018+02:00PHP scripts inside HTML on webserver with FCGId <div dir="ltr" style="text-align: left;" trbidi="on">
<p>
There are lots of articles how to enable PHP scripts inside .html files using <b>AddType</b> and/or <b>AddHandler</b> directives in the <b>Apache web-server</b> configuration file.
</p>
<p>
But if you have the hosting with <b>PHP engine</b> is running as <b>FCGId module</b>, all these tutorials will not work or will issued <b>downloading of the binary file</b> instead of opening the HTML content in the web-browser :(
</p>
<p>
Here is a workaround that works for me, just modify <b>.conf</b> file of your website in the following way:
</p>
<pre><code>
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/xyz/public_html>
...
RemoveHandler .html
AddType application/x-httpd-php .html
AddHandler fcgid-script .html
FCGIWrapper /home/xyz/fcgi-bin/php7.2.fcgi .html
...
</Directory>
</code></pre>
<p>
The "magic" comes in AddHandler + FCGIWrapper detectives. Enjoy :)
</p>
<p>
P.S. If you have HTTP and HTTPS websites, don't forget to configure both Apache <b>.conf</b> files!
</p>
<br /></div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-25279413613700298602016-04-10T17:19:00.004+03:002016-04-10T18:39:35.645+03:00Windows 10 - On Screen Tap Keyboard - Tapping Sound Location<div dir="ltr" style="text-align: left;" trbidi="on">
<p>
Application and resources of "On-Screen Keyboard" for Windows 10 in Tabled Mode are located in <i>"{Program Files}\Common Files\microsoft shared\ink"</i> folder.
</p>
<p>
Executable file is <b>TabTip.exe</b>, so you can open the Tap Keyboard by pressing Win+R and typing "tabtip" in the command line.
</p>
<p>
Sound are played from WAVE resources in <b>tabskb.dll</b> library:
</p>
<center>
<img src="https://monosnap.com/file/H1GTt8SbGbGaVAFv7oZnQp7SZKEUN4.png" alt="Location of Tap and Keyboard sounds in Windows system" />
</center>
<p>
There is strange bug with playing sequence of taping sound: the tap sound disappears at all or is played on low volume...
</p>
<p>
BTW, the option to enable or disable the tapping sound is not shown in the control panel for desktop and notebook PCs without touchscreen!
</p>
<p>
Also old-school "On-Screen Keyboard" in OSK.exe are still here :)
</p>
<center>
<a target="_blank" href="https://monosnap.com/file/E0PiONrYNQtm8CV3TqXtZw1LFF7Swk"><img src="https://monosnap.com/file/E0PiONrYNQtm8CV3TqXtZw1LFF7Swk.png" alt="Turn off and turn on typing sound in On-Screen Keyboard" width="400" /></a>
</center>
<p>
Press Win+R and тype "osk" as a command.
</p>
<br /></div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-47492270001198250282016-01-29T15:47:00.000+02:002016-02-04T22:34:36.715+02:00No Sound from Speaker but Headphones Work?<div dir="ltr" style="text-align: left;" trbidi="on">
</p>
Some notebooks manufactured by <b>ASUS</b> (maybe by other vendors too) have strange issue with sound output. When all required drivers are installed and everything is properly set, you can not hear any sound from the internal speakers. Only plugged headphones or external audio works...
</p>
<p>
I was trying different tricks. Even soldered new audio jack connector to the motherboard of my <a href="https://www.asus.com/Notebooks/U36SD/"" target="_blank"><b>ASUS U36SD</b></a> notebook. I've spent lots of time, but found the solution! It is not a hardware issue. It is software/driver glitch :)
</p>
<p>
So if you have the same issue with your notebook: no sound from speakers, but headphones works. Here is the solution:
</p>
<ol>
<li>Restart computer.</li>
<li>Open BIOS/Setup console, by pressing F1, F2, F10 or Del key depending on your notebook model.</li>
<li>Choose "Load Default Settings" option at the beginning.</li>
<li>Then search for "Ring on Boot" or "Boot Sound Volume" option(s) and <b>TURN IT OFF</b> or set the volume level to <b>ZERO</b>!</li>
<li>Save BIOS/Setup settings and restart computer again.</li>
</ol>
<p>
Now you can hear sound from the internal speaker of your notebook, laptop or tablet :)
</p>
<center>
<a target="_blank" href="https://monosnap.com/file/jL0CijPhotSQUd9mROQZb4jPV67GjB"><img width="100%" src="https://monosnap.com/file/jL0CijPhotSQUd9mROQZb4jPV67GjB.png" alt="Option to disable to get sound on ASUS notebook" /></a>
</center>
<p>
Let me know if this workaround helps you and please specify the model of your notebook in comments. Thank you.
</p>
<p>
BTW, do you know about my <a href="http://auto-mute.com" target="_blank"><b>Auto Mute</b> software utility</a> to make computer silent by default? :)
</p>
</div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-38869160131995272882015-10-14T19:23:00.000+03:002015-10-14T19:23:27.669+03:00Skype freezes and hangs your system?<div dir="ltr" style="text-align: left;" trbidi="on">
<p>
The best solution is uninstall the <b>Skype</b> and never use it again!
</p>
<p>
But if you still need <b>Skype</b> application to contact your siblings and co-workers, here is a useful trick
</p>
<center>
<a href="https://monosnap.com/file/C0Utlpm608K1Qb4B4AzvcXFWGT8bMf" target="_blank">
<img src="https://monosnap.com/file/C0Utlpm608K1Qb4B4AzvcXFWGT8bMf.png" width="500" alt="Screenshot of Task Manager how to set low priority for Skype.exe process" />
</a>
</center>
</div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-5572441233718417352015-10-11T14:28:00.001+03:002015-10-11T14:44:46.310+03:00New Design<div dir="ltr" style="text-align: left;" trbidi="on">
<p>
Old blog template looks bad on huge monitors and there was no mobile version of website. So I fix it by applying some modern theme, hope you'll like it :)
</p>
<p>
Also I've add some advertising slots. You can purchase something at Alibaba.com and I'll get few bucks. Wish you good shopping ;)
</p>
<center>
<a href="http://click.alibaba.com/rd/d9cj7hdq" target="_blank"><img width="190" height="240" src="http://gtms04.alicdn.com/tps/i4/TB1Zr46JpXXXXaJXVXX7JZX2pXX-190-240.gif"/></a>
<a href="http://click.alibaba.com/rd/cdi5a5d6" target="_blank"><img width="190" height="240" src="http://gtms04.alicdn.com/tps/i4/TB1Wc27GFXXXXayXVXX_uMX2pXX-190-240.png"/></a>
</center>
</div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-43022523913954305612015-08-09T21:37:00.002+03:002015-08-09T21:38:58.253+03:00Wrap Headphones in the Right Way<div dir="ltr" style="text-align: left;" trbidi="on"><br />
<p>Here is a lifehack to wrap headphones and earphones quickly, without any twisting:<br />
</p><br />
<iframe width="400" height="225" src="https://www.youtube.com/embed/Nsu3E8QqtrU" frameborder="0" allowfullscreen></iframe><br />
<br />
<p>Also you can use "devices" like this:<br />
</p><br />
<blockquote class="instagram-media" data-instgrm-captioned data-instgrm-version="4" style=" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:658px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);"><div style="padding:8px;"><div style=" background:#F8F8F8; line-height:0; margin-top:40px; padding:50% 0; text-align:center; width:100%;"><div style=" background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAAAGFBMVEUiIiI9PT0eHh4gIB4hIBkcHBwcHBwcHBydr+JQAAAACHRSTlMABA4YHyQsM5jtaMwAAADfSURBVDjL7ZVBEgMhCAQBAf//42xcNbpAqakcM0ftUmFAAIBE81IqBJdS3lS6zs3bIpB9WED3YYXFPmHRfT8sgyrCP1x8uEUxLMzNWElFOYCV6mHWWwMzdPEKHlhLw7NWJqkHc4uIZphavDzA2JPzUDsBZziNae2S6owH8xPmX8G7zzgKEOPUoYHvGz1TBCxMkd3kwNVbU0gKHkx+iZILf77IofhrY1nYFnB/lQPb79drWOyJVa/DAvg9B/rLB4cC+Nqgdz/TvBbBnr6GBReqn/nRmDgaQEej7WhonozjF+Y2I/fZou/qAAAAAElFTkSuQmCC); display:block; height:44px; margin:0 auto -44px; position:relative; top:-22px; width:44px;"></div></div><p style=" margin:8px 0 0 0; padding:0 4px;"><a href="https://instagram.com/p/6IZ6t6KZ7s/" style=" color:#000; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:normal; line-height:17px; text-decoration:none; word-wrap:break-word;" target="_top">Запускать такое на #KickStarter или выложить чертежи и модели для 3d печати в открытый доступ? ;)</a></p><p style=" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; line-height:17px; margin-bottom:0; margin-top:8px; overflow:hidden; padding:8px 0 7px; text-align:center; text-overflow:ellipsis; white-space:nowrap;">A photo posted by Anton Karpenko (@karpolan) on <time style=" font-family:Arial,sans-serif; font-size:14px; line-height:17px;" datetime="2015-08-08T17:48:16+00:00">Aug 8, 2015 at 10:48am PDT</time></p></div></blockquote><script async defer src="//platform.instagram.com/en_US/embeds.js"></script><br />
<br />
<br />
</div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-22463929262210221752015-07-31T01:35:00.000+03:002015-10-11T14:29:52.660+03:00Touchpad Scrolling doesn't work on Windows 10?<p>If two or even single finger scrolling doesn't work after update to Windows 10 and your touchpad is manufactured by <a href="http://synaptics.com" target="_blank">Synaptics</a> company, download and install driver for touchpad version 16.2.x. Everything will work like a charm. <br />
</p><p style="text-align: center"><img src="https://monosnap.com/file/bAuHMRgTqscBDS1EgSoci7ghHJq2gO.png" alt="Synaptics driver for Touchpad that Scroll on Windows 10" width="400" /><br />
</p><p>Open this link <a href="http://drivers.synaptics.com/Synaptics_v16_2_21_C_XP32_Vista32_Win7-32_XP64_Vista64_Win7-64_Win8.zip" target="_blank">Synaptic Touchpad Driver 16.2, supports scrolling on Windows 10</a>, check "I agree" options on the bottom of page and press "Submit" button. The driver will be downloaded.<br />
</p><br />
<div><a style="float:left" href="http://click.alibaba.com/rd/d9cj7hdq" target="_blank"><img width="190" height="240" src="http://gtms04.alicdn.com/tps/i4/TB1Zr46JpXXXXaJXVXX7JZX2pXX-190-240.gif"/></a><a style="float:right" href="http://click.alibaba.com/rd/cdi5a5d6" target="_blank"><img width="190" height="240" src="http://gtms04.alicdn.com/tps/i4/TB1Wc27GFXXXXayXVXX_uMX2pXX-190-240.png"/></a><br />
</div>
KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-79853496805798907012015-07-03T13:42:00.000+03:002015-07-05T18:29:04.649+03:00Cat Tomas<div dir="ltr" style="text-align: left;" trbidi="on">Tomas or Thomas is big funny cat! <br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigtAOsnuWUh7SnZls1rU-gnSKVCpPXJ99Zk00tazzVdihoBbHc7r4NwEmAVfBkmY5EHPK03_ud6sBeLT3ya-f43CxuvTNSLEftNbwsfetkQb8TC6j0U9LvsTE-EzFwUQI8RVDHug/s1600/10927858_10205852196476855_5575817721671964996_o.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigtAOsnuWUh7SnZls1rU-gnSKVCpPXJ99Zk00tazzVdihoBbHc7r4NwEmAVfBkmY5EHPK03_ud6sBeLT3ya-f43CxuvTNSLEftNbwsfetkQb8TC6j0U9LvsTE-EzFwUQI8RVDHug/s320/10927858_10205852196476855_5575817721671964996_o.jpg" /></a></div><br />
Lives on Suvorova 14, Dnepropetrovsk, Ukraine.<br />
<br />
</div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.comtag:blogger.com,1999:blog-21154010.post-749492873305822922015-04-15T09:00:00.001+03:002015-04-22T10:49:48.180+03:00How to assign reserved IP to existing Virtual Machine in Microsoft Azure Cloud<div dir="ltr" style="text-align: left;" trbidi="on"><br />
<p>I don't know why Microsoft cannot offer a single click tool to add a permanent static IP to any Azure resource. Moreover I don't understand why it is not possible to assign a reserved IP address to an existing Virtual Machine :(<br />
</p><p>The only way (as of April 2015) to assign a permanent public IP address (reserved IP) to Virtual Machine in Microsoft Azure Cloud is the following:<br />
</p><ol><li>Stop Virtual Machine</li>
<li>Make captured image with a custom name ("image-of-virtual-machine" for example) </li>
<li>Manually write out all Endpoints (insane!) </li>
<li>Delete VM and associated Cloud Service </li>
<li>Create Reserved IP using Azure PowerShell</li>
<li>Create a new Virtual Machine from the saved disk image</li>
<li>Set back all Endpoints manually (insane again!) </li>
</ol><p>If you have finished deleting of Virtual Machine at step 4, start <b>Microsoft Azure PowerShell</b>. Creating of Reserved IP is easy, just a single command call:<br />
</p><code><br />
New-AzureReservedIP -ReservedIPName "reserved-ip-address-for-your-vm" -Label "SomeTextHere" -Location "North Europe"<br />
</code><br />
<p>To verify that Reserved IP was successfully created, call: <br />
</p><code><br />
Get-AzureReservedIP<br />
</code><br />
<p>We've got Reserved IP, so it's time to create a new "old" Virtual Machine. <br />
</p><p>First of all call this command in Microsoft Azure PowerShell:<br />
</p><code><br />
Get-AzureSubscription<br />
</code><br />
<p>You'll get something like that:<br />
</p><code><br />
SubscriptionId : 123456-e123-1234-a123-1234567890<br />
SubscriptionName : BizSpark<br />
Environment : AzureCloud<br />
SupportedModes : AzureServiceManagement,AzureResourceManager<br />
DefaultAccount : some@some.com<br />
Accounts : { some@some.com }<br />
IsDefault : True<br />
IsCurrent : True<br />
CurrentStorageAccountName : <br />
TenantId : 00000000-0000-0000-0000-000000000000<br />
</code><br />
<p>If <b>CurrentStorageAccountName</b> is empty set it to the value you can find in Azure Management -> Storage.<br />
</p><code><br />
Set-AzureSubscription -CurrentStorageAccountName "get_id_from_web_panel_something_like_portal23423ns43" -SubscriptionName "BizSpark"<br />
</code><br />
<p>Otherwise you've got strange errors on next steps, for example:<br />
</p><code><br />
New-AzureVMConfig : Must specify MediaLocation or set a current storage account using Set-AzureSubscription.<br />
</code><br />
<p>Now we can create a new virtual machine from the saved image with reserved ip address. Lots of tutorials offer to call the following command (don't do it):<br />
</p><code><br />
New-AzureVMConfig -Name "your-virtual-machine-name" -InstanceSize "Small" -ImageName "image-of-virtual-machine" | New-AzureVM -ServiceName "could-be-same-as-vm-name" -ReservedIPName "reserved-ip-address-for-your-vm" -Location "North Europe"<br />
</code><br />
</p>But in 99% you'll get error:<br />
</p><code><br />
New-AzureVM : BadRequest: A ProvisioningConfigurationSet was not found in the ConfigurationSet collection of the virtual machine with name your-virtual-machine-name. When creating a virtual machine from an image, ProvisioningConfiguration Set must be specified.<br />
</code><br />
<p>So add <b>Add-AzureProvisioningConfig</b> section into the command (call this):<br />
</p><code><br />
New-AzureVMConfig -Name "your-virtual-machine-name" -InstanceSize "Small" -ImageName "image-of-virtual-machine" | Add-AzureProvisioningConfig -Linux | New-AzureVM -ServiceName "could-be-same-as-vm-name" -ReservedIPName "reserved-ip-address-for-your-vm" -Location "North Europe"<br />
</code><br />
<p>BTW, don't set any LinuxUser/AdminUsername or Password if you are creating Virtual Machine from disk image, otherwise you've got an error:<br />
</p><code><br />
New-AzureVM : BadRequest: No Configuration Set should be specified while using a VMImage with a specialized OS Disk Configuration.<br />
</code><br />
<p>Almost done, you'll get a new virtual machine with the permanent public IP running in a few minutes. <br />
</p><p>Don't forget to add all endpoints! I prefer to do that using web interface. Also update internal IP address for all services on the Virtual Machine. New VM has a different IP address, either public or internal one.<br />
</p><p>Hope that helps and there were no problems on the Azure side while you are following these instructions :)<br />
</p><p><b>Why is it so hard?!</b><br />
</p><br />
<br />
<br />
</div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-5003730789818818802015-02-13T11:58:00.000+02:002015-02-13T11:58:00.646+02:00Microsoft Remote Desktop on Mac OS X<div dir="ltr" style="text-align: left;" trbidi="on"><br />
<p>Quick guide (in a single picture) how to properly setup remote desktop connection using <b>Microsoft Remote Desktop</b> software on <b>Mac OS X</b>:<br />
</p><br />
<p style="text-align: center"><a href="http://take.ms/RAzlW" target="_blank"><img src="https://monosnap.com/file/yzwQKyyXTZbX2JDkZTzfXZuxl3WBVp.png" width="300" alt="How to setup Microsoft Remote Desktop on Apple computer under Mac OS X"></a><br />
</p><br />
<p>Text variant:<br />
</p><ul><li>Don't use old Remote Desktop Connection software Mac OS X version 10.10.x and higher! Use Microsoft Remote Desktop from App Store instead.</li>
<li>Don't add domain or PC name with back slash into username! Put just a login name, official instruction is wrong.</li>
<li>Specify the port number in the connection filed! Different RDC protocols uses different port numbers by default.</li>
</ul><br />
<br />
</div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com2tag:blogger.com,1999:blog-21154010.post-55926708132758067582014-10-07T19:09:00.000+03:002014-10-07T19:09:54.859+03:00What is in my Backpack?<div dir="ltr" style="text-align: left;" trbidi="on"><br />
<table style="width:194px; margin: auto;"><tr><td align="center" style="height:194px;background:url(https://www.gstatic.com/pwa/s/v/lighthousefe_20140930.00_p1/transparent_album_background.gif) no-repeat left"><a href="https://picasaweb.google.com/106980407575016384149/KarpolanSBackpack?authuser=0&feat=embedwebsite"><img src="https://lh4.googleusercontent.com/-Uw5rrbeJ4PQ/VBf_QNjJS2E/AAAAAAABG90/tNOxhbkSHxo/s160-c/KarpolanSBackpack.jpg" width="160" height="160" style="margin:1px 0 0 4px;"></a></td></tr>
<tr><td style="text-align:center;font-family:arial,sans-serif;font-size:11px"><a href="https://picasaweb.google.com/106980407575016384149/KarpolanSBackpack?authuser=0&feat=embedwebsite" style="color:#4D4D4D;font-weight:bold;text-decoration:none;">Karpolan's Backpack</a></td></tr>
</table><br />
<p>Link to <a href="https://plus.google.com/u/0/photos/+AntonKarpenko/albums/6059592477630352225">Karpolan's Backpack album at Google+</a><br />
</p></div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-45293760843084937422014-08-27T09:06:00.000+03:002014-08-27T09:06:12.969+03:00Need cool art for website or presentation?<div dir="ltr" style="text-align: left;" trbidi="on"><p>Absolutely <a href="http://place.to/" target="_blank">amazing online service</a> with hundreds templates of different hardware devices (phone, tablets, laptops, etc.) where you can upload own picture of the screen to get the perfect art for website, presentation or brand-book. <br />
</p><p>This picture is created using <a href="http://place.to/" target="_blank">Place.To</a>: <br />
</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguXRT3PvuOZe9Wjnb9XVjHH-UJnaAvUokCQrtOQulhV4eLzE9tKPp-hje100bwKRxlsegWFPQZ2B5iU1lupq9zoq0hMfYWZyEjEo5ZUEjG8hIhPQJP2320grl2lbT-KsQnEIPLqw/s1600/Place_to_8-27-2014+6-01-50+AM.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguXRT3PvuOZe9Wjnb9XVjHH-UJnaAvUokCQrtOQulhV4eLzE9tKPp-hje100bwKRxlsegWFPQZ2B5iU1lupq9zoq0hMfYWZyEjEo5ZUEjG8hIhPQJP2320grl2lbT-KsQnEIPLqw/s1600/Place_to_8-27-2014+6-01-50+AM.jpg" /></a></div><p>P.S. Why I didn't do such service few years ago? :)<br />
</p><br />
</div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-30343699013116934762014-05-05T18:26:00.000+03:002014-05-05T20:55:55.872+03:00Bad Key Hash for Facebook Apps<div dir="ltr" style="text-align: left;" trbidi="on"><br />
<p>When you are creating application for Facebook on Android platform, Developer Website requires the <strong>Key Hash</strong> for every development device.<br />
</p><p>This secret stroke is automatically generated by Eclipse or other dev studio in "debug.keystore" storage. <br />
</p><p>You can obtain Key Hash via command line: <br />
</p><!-- HTML generated using hilite.me --><div style="background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;"><pre style="margin: 0; line-height: 125%">keytool -exportcert -alias androiddebugkey -keystore debug.keystore | openssl sha1 -binary | openssl base64
</pre></div><p>or sample code: <br />
</p><!-- HTML generated using hilite.me --><div style="background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;"><pre style="margin: 0; line-height: 125%"><span style="color: #333333">...</span>
<span style="color: #555555; font-weight: bold">@Override</span>
<span style="color: #008800; font-weight: bold">protected</span> <span style="color: #333399; font-weight: bold">void</span> <span style="color: #0066BB; font-weight: bold">onCreate</span><span style="color: #333333">(</span>Bundle savedInstanceState<span style="color: #333333">)</span> <span style="color: #333333">{</span>
<span style="color: #008800; font-weight: bold">super</span><span style="color: #333333">.</span><span style="color: #0000CC">onCreate</span><span style="color: #333333">(</span>savedInstanceState<span style="color: #333333">);</span>
<span style="color: #888888">// Temporary code to print out the key hash</span>
<span style="color: #008800; font-weight: bold">try</span> <span style="color: #333333">{</span>
PackageInfo info <span style="color: #333333">=</span> getPackageManager<span style="color: #333333">().</span><span style="color: #0000CC">getPackageInfo</span><span style="color: #333333">(</span>
<span style="background-color: #fff0f0">"com.Your.Application.Package.Name"</span><span style="color: #333333">,</span> PackageManager<span style="color: #333333">.</span><span style="color: #0000CC">GET_SIGNATURES</span><span style="color: #333333">);</span>
<span style="color: #008800; font-weight: bold">for</span> <span style="color: #333333">(</span>Signature signature <span style="color: #333333">:</span> info<span style="color: #333333">.</span><span style="color: #0000CC">signatures</span><span style="color: #333333">)</span> <span style="color: #333333">{</span>
MessageDigest md <span style="color: #333333">=</span> MessageDigest<span style="color: #333333">.</span><span style="color: #0000CC">getInstance</span><span style="color: #333333">(</span><span style="background-color: #fff0f0">"SHA"</span><span style="color: #333333">);</span>
md<span style="color: #333333">.</span><span style="color: #0000CC">update</span><span style="color: #333333">(</span>signature<span style="color: #333333">.</span><span style="color: #0000CC">toByteArray</span><span style="color: #333333">());</span>
Log<span style="color: #333333">.</span><span style="color: #0000CC">d</span><span style="color: #333333">(</span><span style="background-color: #fff0f0">"KeyHash:"</span><span style="color: #333333">,</span> Base64<span style="color: #333333">.</span><span style="color: #0000CC">encodeToString</span><span style="color: #333333">(</span>md<span style="color: #333333">.</span><span style="color: #0000CC">digest</span><span style="color: #333333">(),</span> Base64<span style="color: #333333">.</span><span style="color: #0000CC">DEFAULT</span><span style="color: #333333">));</span>
<span style="color: #333333">}</span>
<span style="color: #333333">}</span> <span style="color: #008800; font-weight: bold">catch</span> <span style="color: #333333">(</span>NameNotFoundException e<span style="color: #333333">)</span> <span style="color: #333333">{</span>
<span style="color: #333333">}</span> <span style="color: #008800; font-weight: bold">catch</span> <span style="color: #333333">(</span>NoSuchAlgorithmException e<span style="color: #333333">)</span> <span style="color: #333333">{</span>
<span style="color: #333333">}</span>
<span style="color: #333333">...</span>
</pre></div><p>You have to add all you developer and release key hashes into Web panel of your Facebook Application. Everything looks simply enough.<br />
</p><p>But, if your hash key contains <strong>/</strong> (slash) or <strong>+</strong> (plus) symbol Facebook integration <strong>will not work</strong>! You'll get error message, something like that: "Key hash Fj2DQ/kUxqHuaTq1jy9iTejN2Uk= does not match any stored key hashes".<br />
</p><p>I've spent few hours to understand the problem and find a workaround :( Here is an easiest way:<br />
</p><ol><li>Delete "debug.keystore" file in your "[%USERNAME%]/.android" folder.</li>
<li>Rebuild project to get new "debug.keystore" file with new key hash.</li>
<li>If new hash contains any symbol (<strong>=</strong> at the end is OK :)) repeat again</li>
</ol><p>Hope this tip helps other developers! Sometimes, development for Android and Facebook is a pain... <br />
</p><br />
</div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-65879823205436292642014-03-20T20:26:00.000+02:002014-03-21T00:06:19.832+02:00How to detect Internet Explorer 10 and higher?<div dir="ltr" style="text-align: left;" trbidi="on"><p>For a long time detecting of Internet Explorer browser was easy using <a href="http://www.quirksmode.org/css/condcom.html" target="_blank" rel="nofollow">Conditional Comments</a>, something like:<br />
</p><!-- HTML generated using hilite.me --><div style="background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;"><pre style="margin: 0; line-height: 125%"><span style="color: #888888"><!--[if IE]></span>
<span style="color: #888888"> <script type="text/javascript"></span>
<span style="color: #888888"> var isIE = true;</span>
<span style="color: #888888"> </script></span>
<span style="color: #888888"><![endif]--></span>
</pre></div><p>Starting version 10, Internet Explorer doesn't support conditional comments feature :(<br />
</p><p>Here is the JavaScript code to detect IE of any version since 5 till 11:<br />
</p><!-- HTML generated using hilite.me --><div style="background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;"><pre style="margin: 0; line-height: 125%"><span style="color: #008800; font-weight: bold">var</span> isIE <span style="color: #333333">=</span> (<span style="color: #008800; font-weight: bold">function</span>(){
<span style="color: #008800; font-weight: bold">var</span> undef,rv <span style="color: #333333">=</span> <span style="color: #333333">-</span><span style="color: #0000DD; font-weight: bold">1</span>; <span style="color: #888888">// Return value assumes failure.</span>
<span style="color: #008800; font-weight: bold">var</span> ua <span style="color: #333333">=</span> <span style="color: #007020">window</span>.navigator.userAgent;
<span style="color: #008800; font-weight: bold">var</span> msie <span style="color: #333333">=</span> ua.indexOf(<span style="background-color: #fff0f0">'MSIE '</span>);
<span style="color: #008800; font-weight: bold">var</span> trident <span style="color: #333333">=</span> ua.indexOf(<span style="background-color: #fff0f0">'Trident/'</span>);
<span style="color: #008800; font-weight: bold">if</span> (msie <span style="color: #333333">></span> <span style="color: #0000DD; font-weight: bold">0</span>) {
<span style="color: #888888">// IE 10 or older => return version number</span>
rv <span style="color: #333333">=</span> <span style="color: #007020">parseInt</span>(ua.substring(msie <span style="color: #333333">+</span> <span style="color: #0000DD; font-weight: bold">5</span>, ua.indexOf(<span style="background-color: #fff0f0">'.'</span>, msie)), <span style="color: #0000DD; font-weight: bold">10</span>);
} <span style="color: #008800; font-weight: bold">else</span> <span style="color: #008800; font-weight: bold">if</span> (trident <span style="color: #333333">></span> <span style="color: #0000DD; font-weight: bold">0</span>) {
<span style="color: #888888">// IE 11 (or newer) => return version number</span>
<span style="color: #008800; font-weight: bold">var</span> rvNum <span style="color: #333333">=</span> ua.indexOf(<span style="background-color: #fff0f0">'rv:'</span>);
rv <span style="color: #333333">=</span> <span style="color: #007020">parseInt</span>(ua.substring(rvNum <span style="color: #333333">+</span> <span style="color: #0000DD; font-weight: bold">3</span>, ua.indexOf(<span style="background-color: #fff0f0">'.'</span>, rvNum)), <span style="color: #0000DD; font-weight: bold">10</span>);
}
<span style="color: #008800; font-weight: bold">return</span> ((rv <span style="color: #333333">></span> <span style="color: #333333">-</span><span style="color: #0000DD; font-weight: bold">1</span>) <span style="color: #333333">?</span> rv <span style="color: #333333">:</span> undef);
}());
</pre></div><p>Hope Internet Explorer 12 and higher will work the same way :) <br />
</p><br />
</div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-60295621880750809312013-11-19T18:56:00.001+02:002013-11-19T19:55:36.791+02:00Cannot format flash drive or delete partition from SD card? I will help you.<div dir="ltr" style="text-align: left;" trbidi="on"><br />
<p>Sometimes Flash drives, storage sticks and cards become useless even if they are not physically damaged. Such drive is recognized by operating system, but the size is wrong (less than should be) and very often the user cannot even format the disk.<br />
</p><p>Yesterday I've got 2 such devices at once! I was trying to install Chrome OS on my netbook, so wrote the image of Chromium bootable drive to 4GB flash stick and 16GB SD card… <br />
</p><p>As I understand Google developers think (can they?) that having many partitions on disk is a cool true hackers way! They use 10 (Ten!) partitions on a small 4GB drive!!!<br />
</p><p style="text-align: center"><a target="_blank" href="https://plus.google.com/u/0/+AntonKarpenko/posts/J2dKZ52iKU4"><img src="https://lh5.googleusercontent.com/-WMAPse8nuGE/UouRNUQ51hI/AAAAAAAA5UM/2ryOWYxTMgE/w1000-h100-no/sd-card-by-chrome-os.png" alt="Partitions on Chrome/Chromium OS boot drive, how to delete them?" width="400" /></a><br />
</p><p>The biggest problem is that you cannot delete all these strange partitions and unallocated spaces using standard programs. Even Disk manager administrative tool will not help :( So here is a step by step instruction on how to clear unnecessary partitions on the disk and get flash drive or memory card back to normal life.<br />
</p><ul><li>Press <b>Win+R</b>.</li>
<li>Type <b>DiskPart</b> and press OK or Enter.</li>
<li>Push <b>Yes</b> button in UAC warning window.</li>
</ul><p>DiskPart.exe console should appear, next steps could damage your computer data, so be <b>very careful</b>!<br />
</p><ul><li><b>list disk</b> - shows the list of all disks in the system.</li>
<li><b>select disk X</b> - where X is a number of disk you want to fix.</li>
<li><b>list disk</b> - call this command again, to make sure you've selected the right disk! You'll see <b>*</b> mark near the selected disk.</li>
</ul><p>Next steps will destroy all data on the disk! Do you want to continue?<br />
</p><ul><li><b>clean</b> - cleans the disk in 90% of cases.</li>
</ul><p>If <b>clean</b> command fails, you have to delete each partition on the disk manually, by repeating the following 2-3 commands until all partitions are gone.<br />
</p><ul><li><b>list partition</b> - shows the list of all partitions on the disk.</li>
<li><b>select partition 1</b> - selects the currently first partition.</li>
<li><b>delete partition override</b> - override parameter allows deleting a locked partition.</li>
</ul><p>When the disk is cleaned, you should create a primary active partition, then format the drive and assign some letter to it. Follow these commands:<br />
</p><ul><li><b>create partition primary</b> - creates a partition for the whole disk.</li>
<li><b>select partition 1</b> - choose current partition to perform other operation.</li>
<li><b>active</b> - makes partition active, so it could be a bootable one.</li>
<li><b>format quick fs=fat32</b> - formats the disk, FAT32 is a standard file system for Flash Drives and SD cards.</li>
<li><b>assign</b> - sets some letter name for the logical drive.</li>
</ul><p>That's all. Now you can close DiskPart.exe console, in a hacker style, by typing <b>exit</b> command or by clicking common <b>x</b> button on the right top corner of the Window :)<br />
</p><p>Hope this tutorial will help people to get disappeared megabytes back from memory cards and even fix some of "dead" flash drives.<br />
</p><br />
<br />
<br />
</div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-71071780498257684712013-11-15T02:06:00.001+02:002013-11-15T02:06:33.808+02:00How do I make software products?<div dir="ltr" style="text-align: left;" trbidi="on"><p>Here is a screencast on x8 speed of all processes are required to create the software product and to publish it online:<br />
</p><div style="text-align: crnter;"><iframe width="400" height="225" src="//www.youtube.com/embed/ivE7VmGR7no" frameborder="0" allowfullscreen></iframe><br />
</div><p>As you see coding takes less than half of time. Making of screenshots is more important than programming. Pages in social networks are more important than pretty looking website. And so on... <br />
</p><p>Program in this video is a first public version of <a href="http://missing-buttons.com">Missing Buttons</a> software<br />
</p></div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0tag:blogger.com,1999:blog-21154010.post-89325743347787444662013-11-04T10:50:00.000+02:002013-11-04T10:50:39.853+02:00Testing Ecwid online shopping platform<div dir="ltr" style="text-align: left;" trbidi="on"><br />
<div class='ecwid-Product'><form><div style='text-align: center; padding-bottom: 10px;'><script type="text/javascript" src="http://app.ecwid.com/script.js?2826191" charset="utf-8"></script><script type="text/javascript">xProductThumbnail('productid=29559229');</script></div><div class='ecwid-productBrowser-head' style='text-align: center; padding-bottom: 15px; font: normal 20px tahoma, geneva, verdana, sans-serif'>KARPOLAN's Autograph</div><div class="ecwid-productBrowser-price" style='text-align: center; padding-bottom: 15px'>$10.00</div><table align='center' border='0'><tr><td align='left' class='ecwid'></td></tr></table><div style='text-align: center'><script type="text/javascript" src="http://app.ecwid.com/script.js?2826191" charset="utf-8"></script><script type="text/javascript">xAddToBag('productid=29559229');</script></div></form></div><br />
<br />
</div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com2tag:blogger.com,1999:blog-21154010.post-33295634653654421692013-09-13T11:13:00.000+03:002013-09-13T11:17:57.544+03:00Today is 256 Day of Year<div dir="ltr" style="text-align: left;" trbidi="on"><p>So it is the Programmers' Day :)<br />
</p><p>My first program in 1992 year was something like that:<br />
</p><code><br />
10 INPUT "Temperature in Fahrenheit: "; F<br />
20 LET C = Int((F + 40) * 5 / 9 - 40)<br />
30 PRINT "Temperature in Celsius: " + C<br />
40 INPUT "Again (Y/N)"; S$<br />
50 IF S$="y" OR S$="Y" THEN GOTO 10<br />
</code><br />
Do you know the languge it is writen on?<br />
</div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com4tag:blogger.com,1999:blog-21154010.post-56143740806564373592013-09-02T14:19:00.000+03:002013-09-02T14:19:53.543+03:00Micro USB 3.0 connector pinout<div dir="ltr" style="text-align: left;" trbidi="on"><p>I was spending about 15 minutes googling until I've found the electric pinout of Micro USB connector ver 3.0 (a doubled one)<br />
</p><p>Also I was not able to get an electric scheme of USB 3.0 that specifies color of each wire inside the cable.<br />
</p><p>So after some research I've made a paper note for myself. Also I didn't forget to take a photo and share it to everybody:<br />
</p><p style="text-align: center"><a href="http://instagram.com/p/dsaScHqZxc/"><img src="http://distilleryimage8.ak.instagram.com/9a0cdf2a128a11e3800322000a1fb420_7.jpg" alt="Micro USB 3.0 pinout and color of wire" width="400" /></a><br />
</p><p>Hope this saves time for other people :)<br />
</p></div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com1tag:blogger.com,1999:blog-21154010.post-42900553712284040702013-08-15T23:05:00.000+03:002013-11-15T02:33:36.387+02:00New software for hidden features<div dir="ltr" style="text-align: left;" trbidi="on"><p>I was not able to <a href="http://missing-buttons.com/articles/turn-off-monitor/">find "Monitor Off" feature</a> on any notebook while are using external keyboard. Lots of PCs <a href="http://missing-buttons.com/articles/hibernate-computer/">have no "Hibernate" button</a> even if this feature is turned on. Working on computers using <a href="http://remote-computer-access.com">remote desktop software</a> disallows many of system shortcuts. You cannot switch <a href="http://num-lock-indicator.com/">Num Lock</a> or <a href="http://scroll-lock-indicator.com">Scroll Lock</a> if there is no hardware buttons for that. And so on...<br />
</p><p>I've created small software utility to have all missing features right under the hand. <b><a href="http://missing-buttons.com">Missing Buttons</a></b> is software for Windows, maybe I'll create a Mac OS version in the future.<br />
</p><p style="text-align: center;"><a href="http://missing-buttons.com/screenshots/"><img src="http://missing-buttons.com/images/screenshot.png" alt="Missing Buttons software for Windows" /></a><br />
<a href="http://missing-buttons.com/files/missing-buttons.exe"><img src="http://karpolan.com/images/btn-download-exe.gif" alt="Download EXE file" border="0" /></a><br />
<a href=" http://missing-buttons.com/files/missing-buttons.zip"><img src="http://karpolan.com/images/btn-download-zip.gif" alt="Download ZIP Archive" border="0" /></a><br />
</p><p>The product is distributed as try before you buy, the license costs <a href="http://missing-buttons.com/buy/">$9.95 per user</a>.<br />
</p><p>If you have ideas for other "missing buttons", let me know. I'll add them into the future versions.<br />
</p></div>KARPOLANhttp://www.blogger.com/profile/17818693367078242717noreply@blogger.com0