tag:blogger.com,1999:blog-23797667077069557302024-03-05T16:35:06.062+02:00Works for meSolved it > Posted itAriel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.comBlogger36125tag:blogger.com,1999:blog-2379766707706955730.post-91410390759287142102020-09-14T01:58:00.004+03:002020-09-14T02:00:07.943+03:00linux bulk prefix filenames<p> </p><p><br /></p><p><br /></p><p>In order to bulk add prefix to filenames in a directory run the following comnmand</p><p><br /></p><p><span style="background-color: black;"><span style="color: white;">for f in * ; do mv -- "$f" "2018-05-24_$f" ; done</span></span></p><div><br /></div><br /><p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9u6HRqnc0Eb-3sjJSkiJPaRvUf4YPxCvwBBsFjZ22XX0SjozwoXBmESTgahrPiNmXDfTRyiHJpFtKZOtHvWzG8QhiR6onL7ige4rxG8X7Bu2nS8JXgWdmP7rc4H6nRsEl9F9uJLfVN0NI/s1515/Selection_078.png" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="362" data-original-width="1515" height="96" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9u6HRqnc0Eb-3sjJSkiJPaRvUf4YPxCvwBBsFjZ22XX0SjozwoXBmESTgahrPiNmXDfTRyiHJpFtKZOtHvWzG8QhiR6onL7ige4rxG8X7Bu2nS8JXgWdmP7rc4H6nRsEl9F9uJLfVN0NI/w400-h96/Selection_078.png" width="400" /></a></p><p><br /></p><p>*solution taken from: <a href="https://stackoverflow.com/a/4787428" rel="nofollow" target="_blank">https://stackoverflow.com/a/4787428 </a></p>Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-36630811244300081402019-12-11T23:33:00.002+02:002021-12-14T01:12:58.243+02:00Installing nodejs 13 on linux mint<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<b>Installing nodejs 13 on linux mint</b><br />
<br />
by default the <span style="background-color: black; color: white;">sudo apt-get install -y nodejs</span> will install v8.10.0<br />
in order to install version 13 you need to add the v13 repository to the update manager<br />
<br />
<br />
In the terminal type:<br />
<span style="background-color: black;"><span style="color: white;">curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -</span></span><br />
<div>
<br /></div>
<div>
then run:</div>
<div>
<div>
<span style="background-color: black;"><span style="color: white;">sudo apt-get install -y nodejs</span></span></div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
That's it,</div>
<div>
<br /></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBRLSojj46H3fvXVu2x83nGp4Tudlxx7VW9qIZzyIgcvmrhN-1NFb-23Yz6D-jPj1fR-EyppRylEaSlJCmYhJgFvLw4Jx0rRkMvx4_MHkimplvN72fHp0DJ2qnezz9y16AkOdG-s1v5cw_/s1600/Selection_001.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="552" data-original-width="799" height="221" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBRLSojj46H3fvXVu2x83nGp4Tudlxx7VW9qIZzyIgcvmrhN-1NFb-23Yz6D-jPj1fR-EyppRylEaSlJCmYhJgFvLw4Jx0rRkMvx4_MHkimplvN72fHp0DJ2qnezz9y16AkOdG-s1v5cw_/s320/Selection_001.png" width="320" /></a></div>
<div>
<br /></div>
</div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-79588912116638364482019-11-26T11:46:00.000+02:002019-11-26T11:46:32.824+02:00sql joins<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
Inner join:<br />
<br />
<span class="cm-keyword" style="background-color: #e5e5e5; color: #770088; font-family: monospace; font-size: 10.66px;"><a class="cm-sql-doc" href="http://localhost/phpmyadmin/url.php?url=https://dev.mysql.com/doc/refman/5.5/en/select.html" style="border-bottom: 1px dotted rgb(0, 0, 0); color: #235a81; cursor: pointer; outline: none;" target="mysql_doc">SELECT</a></span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">users</span><span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;">.name</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">,</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">phones</span><span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;">.phone</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span class="cm-keyword" style="background-color: #e5e5e5; color: #770088; font-family: monospace; font-size: 10.66px;">FROM</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;">`phones`</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span class="cm-keyword" style="background-color: #e5e5e5; color: #770088; font-family: monospace; font-size: 10.66px;">INNER</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span class="cm-keyword" style="background-color: #e5e5e5; color: #770088; font-family: monospace; font-size: 10.66px;">JOIN</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">users</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span class="cm-keyword" style="background-color: #e5e5e5; color: #770088; font-family: monospace; font-size: 10.66px;">ON</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">users</span><span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;">.ID</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">=</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">phones</span><span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;">.userID</span><br />
<span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;"><br /></span>
<span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdzKLSyPcIovHlA25oy3oXxERmcVfKJtDee4ClfR-JGIs2z54Q3E_j0xdIw6nw47-vfXXJ3yoSrP5lrj4xMazGswzc0J9oP-7xakTC5TexidMskuWsKBi33v7Q8kldxvmeRyK-QfmNiYcP/s1600/Selection_004.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="329" data-original-width="872" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdzKLSyPcIovHlA25oy3oXxERmcVfKJtDee4ClfR-JGIs2z54Q3E_j0xdIw6nw47-vfXXJ3yoSrP5lrj4xMazGswzc0J9oP-7xakTC5TexidMskuWsKBi33v7Q8kldxvmeRyK-QfmNiYcP/s640/Selection_004.png" width="640" /></a></div>
<span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;"><br /></span>
<br />
Left join:<br />
<br />
<span class="cm-keyword" style="background-color: #e5e5e5; color: #770088; font-family: monospace; font-size: 10.66px;"><a class="cm-sql-doc" href="http://localhost/phpmyadmin/url.php?url=https://dev.mysql.com/doc/refman/5.5/en/select.html" style="border-bottom: 1px dotted rgb(0, 0, 0); color: #235a81; cursor: pointer; outline: none; text-decoration-line: none;" target="mysql_doc">SELECT</a></span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">users</span><span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;">.name</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">,</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">phones</span><span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;">.phone</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span class="cm-keyword" style="background-color: #e5e5e5; color: #770088; font-family: monospace; font-size: 10.66px;">FROM</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;">`users`</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span class="cm-keyword" style="background-color: #e5e5e5; color: #770088; font-family: monospace; font-size: 10.66px;"><a class="cm-sql-doc" href="http://localhost/phpmyadmin/url.php?url=https://dev.mysql.com/doc/refman/5.5/en/string-functions.html#function_left" style="border-bottom: 1px dotted rgb(0, 0, 0); color: #235a81; cursor: pointer; outline: none; text-decoration-line: none;" target="mysql_doc">LEFT</a></span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span class="cm-keyword" style="background-color: #e5e5e5; color: #770088; font-family: monospace; font-size: 10.66px;">JOIN</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;">`phones`</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span class="cm-keyword" style="background-color: #e5e5e5; color: #770088; font-family: monospace; font-size: 10.66px;">ON</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">users</span><span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;">.ID</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">=</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">phones</span><span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;">.userID</span><br />
<span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;"><br /></span>
<span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFHXaUlNHlSONYVEcvrDombpUG61qpgXPqaCi33agOCOapInoVWHuQCy3R3WOk6OriFRsPPA-7yAo4F_TLZgOkzfCLdatUis3JBs47PwRXJCV-ZMMDWBBTohpCjZAK6QgwAMcccuJ08rTm/s1600/Selection_005.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="329" data-original-width="872" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFHXaUlNHlSONYVEcvrDombpUG61qpgXPqaCi33agOCOapInoVWHuQCy3R3WOk6OriFRsPPA-7yAo4F_TLZgOkzfCLdatUis3JBs47PwRXJCV-ZMMDWBBTohpCjZAK6QgwAMcccuJ08rTm/s640/Selection_005.png" width="640" /></a></div>
<span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;"><br /></span>
Right join:<br />
<br />
<span class="cm-keyword" style="background-color: #e5e5e5; color: #770088; font-family: monospace; font-size: 10.66px;"><a class="cm-sql-doc" href="http://localhost/phpmyadmin/url.php?url=https://dev.mysql.com/doc/refman/5.5/en/select.html" style="border-bottom: 1px dotted rgb(0, 0, 0); color: #235a81; cursor: pointer; outline: none; text-decoration-line: none;" target="mysql_doc">SELECT</a></span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">users</span><span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;">.name</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">,</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">phones</span><span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;">.phone</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span class="cm-keyword" style="background-color: #e5e5e5; color: #770088; font-family: monospace; font-size: 10.66px;">FROM</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">users</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span class="cm-keyword" style="background-color: #e5e5e5; color: #770088; font-family: monospace; font-size: 10.66px;"><a class="cm-sql-doc" href="http://localhost/phpmyadmin/url.php?url=https://dev.mysql.com/doc/refman/5.5/en/string-functions.html#function_right" style="border-bottom: 1px dotted rgb(0, 0, 0); color: #235a81; cursor: pointer; outline: none; text-decoration-line: none;" target="mysql_doc">RIGHT</a></span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span class="cm-keyword" style="background-color: #e5e5e5; color: #770088; font-family: monospace; font-size: 10.66px;">JOIN</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">phones</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span class="cm-keyword" style="background-color: #e5e5e5; color: #770088; font-family: monospace; font-size: 10.66px;">ON</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">users</span><span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;">.ID</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">=</span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;"> </span><span style="background-color: #e5e5e5; color: #444444; font-family: monospace; font-size: 10.66px;">phones</span><span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;">.userID</span><br />
<span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuG3jXRJaFfUd5kdySk0_xb2JMIA0uKaSyfWJU55eD1Yz9WsDkwjJV4LDvmUv7PA7hB08c2kYtEmoAtMKDiMYJt8nK1kKBL8t-hCPJ9sX4EZ02pVqSH1lFyagnm4RQpY1dQLfGUUhzpjAr/s1600/Selection_006.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="329" data-original-width="872" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuG3jXRJaFfUd5kdySk0_xb2JMIA0uKaSyfWJU55eD1Yz9WsDkwjJV4LDvmUv7PA7hB08c2kYtEmoAtMKDiMYJt8nK1kKBL8t-hCPJ9sX4EZ02pVqSH1lFyagnm4RQpY1dQLfGUUhzpjAr/s640/Selection_006.png" width="640" /></a></div>
<span class="cm-variable-2" style="background-color: #e5e5e5; color: #0055aa; font-family: monospace; font-size: 10.66px;"><br /></span></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-33153469417483977212019-09-03T00:56:00.003+03:002019-09-03T01:34:11.637+03:00Creating local virtual directory <div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<br />
<b>#Create soft link:</b><br />
ln -s /path/to/real/folder /path/to/symbolic/link<br />
<br />
<b># Example:</b><br />
ln -s /path/to/real/folder /var/www/html/symbolic_link<br />
------------------------------------------------------------------------------------------------<br />
<br />
<b>#add virtual domain to yor local machine (hosts file)</b><br />
<br />
sudo nano /etc/hosts<br />
------------------------------------------------------------------------------------------------<br />
<b># add to follow line and save the file:</b><br />
<br />
127.0.0.1 the-domain-that-you-want-to-add.com<br />
<br />
------------------------------------------------------------------------------------------------<br />
<b>#configure your apache to work with the new configured domain in the hosts file</b><br />
<br />
sudo nano /etc/apache2/sites-available/000-default.conf<br />
------------------------------------------------------------------------------------------------<br />
<b>#add the following configuration</b><br />
<div>
<pre>
<VirtualHost *:80>
ServerAdmin your@email.com
ServerName the-domain-that-you-want-to-add.com
ServerAlias www.the-domain-that-you-want-to-add.com
DocumentRoot /var/www/html/symbolic_link
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/html/symbolic_link>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
</pre>
</div>
<br />
------------------------------------------------------------------------------------------------</div>
<br />
<b>that's it</b>
<br />
Now open your browser and navigate to http://the-domain-that-you-want-to-add.com
</div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com1Israel31.046051 34.85161199999993227.5779785 29.688037999999931 34.5141235 40.015185999999929tag:blogger.com,1999:blog-2379766707706955730.post-3219912953648555062017-07-13T00:20:00.001+03:002017-07-13T00:20:11.958+03:00Check max profit by buying & selling day<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<p data-height="478" data-theme-id="dark" data-slug-hash="yXZybK" data-default-tab="js,result" data-user="ArielBarkan" data-embed-version="2" data-pen-title="Check max profit by buying & selling day" class="codepen">See the Pen <a href="https://codepen.io/ArielBarkan/pen/yXZybK/">Check max profit by buying & selling day</a> by Ariel Barkan (<a href="https://codepen.io/ArielBarkan">@ArielBarkan</a>) on <a href="https://codepen.io">CodePen</a>.</p>
<script async src="https://production-assets.codepen.io/assets/embed/ei.js"></script>
</div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-73726128235467535412017-07-08T05:07:00.003+03:002017-07-08T05:07:43.203+03:00JS Inheritance OOP<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<p data-height="265" data-theme-id="dark" data-slug-hash="vZzqYB" data-default-tab="result" data-user="ArielBarkan" data-embed-version="2" data-pen-title="JS Inheritance OOP" class="codepen">See the Pen <a href="https://codepen.io/ArielBarkan/pen/vZzqYB/">JS Inheritance OOP</a> by Ariel Barkan (<a href="https://codepen.io/ArielBarkan">@ArielBarkan</a>) on <a href="https://codepen.io">CodePen</a>.</p>
<script async src="https://production-assets.codepen.io/assets/embed/ei.js"></script>
</div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-59763699822271938732017-07-08T01:10:00.003+03:002017-07-08T01:10:20.875+03:00Creating Array of Objects + search<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
<iframe height='265' scrolling='no' title='Creating Array of Objects + search' src='//codepen.io/ArielBarkan/embed/EXeMRz/?height=265&theme-id=dark&default-tab=js,result&embed-version=2' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%;'>See the Pen <a href='https://codepen.io/ArielBarkan/pen/EXeMRz/'>Creating Array of Objects + search</a> by Ariel Barkan (<a href='https://codepen.io/ArielBarkan'>@ArielBarkan</a>) on <a href='https://codepen.io'>CodePen</a>.
</iframe>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-43167053196896694262017-07-07T23:44:00.001+03:002017-07-07T23:44:35.549+03:00<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<br />
<br />
<a class="jsbin-embed" href="http://jsbin.com/zupebiw/embed?js,console,output">JS Bin on jsbin.com</a><script src="http://static.jsbin.com/js/embed.min.js?4.0.4"></script>
<br />
<br /></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-35638290670683512082017-01-17T00:05:00.004+02:002017-01-17T00:06:09.305+02:00Chrome Developer tools > make readable minified JavaScript with Pretty print {}<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<br />
Chrome Developer tools > Sources tab > Select the minified JavaScript > click the <span style="background-color: white; color: #222222; font-family: "arial" , sans-serif; font-size: 16px;">curly brackets</span> {} at the bottom<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi07mVAs2wR58vGufgSxUwz8Hr2ld6ilKMlgLeQlIbhftSM1W4ODAhc-OVTX1i61we5xq1MKKbNrKJxhnayKr0HY7kg1U0Ou0wU4k5hBO5r5-0_aCT3YqxPz9xCGUV6yuK5ikl8nv7DvDOW/s1600/PrettyPrint.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="243" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi07mVAs2wR58vGufgSxUwz8Hr2ld6ilKMlgLeQlIbhftSM1W4ODAhc-OVTX1i61we5xq1MKKbNrKJxhnayKr0HY7kg1U0Ou0wU4k5hBO5r5-0_aCT3YqxPz9xCGUV6yuK5ikl8nv7DvDOW/s400/PrettyPrint.gif" width="400" /></a></div>
<br /></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-53638538806648228332016-06-02T10:15:00.001+03:002016-06-02T10:16:41.033+03:00Linux mint: can't access a shared partition created by the Windows partition<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
How yo fix it:<br />
Type in your terminal: <span style="background-color: black;">: <span style="color: white;">sudo ntfsfix /dev/sda7</span></span><br />
<div>
<br /></div>
<br />
<br />
Error mounting /dev/sda7 at /media/ariel/shared: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda5" "/media/ariel/shared"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).<br />
Metadata kept in Windows cache, refused to mount.<br />
Failed to mount '/dev/sda7': Operation not permitted<br />
The NTFS partition is in an unsafe state. Please resume and shutdown<br />
Windows fully (no hibernation or fast restarting), or mount the volume<br />
read-only with the 'ro' mount option.<br />
<br />
<br />
This is the error message:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO18C9h7woFbbl8LHNDPPnSP4Or5vJcYJMTtkPwCEPaYlrebECZgcikVDj7VSekbW7MvoH-2QzoNjGNNQeFIUeOllyXUVR2FKD4ChOHNBiPNE0w-1X2mLxAnCEmyvhQURrhPTKa-viZfim/s1600/screenshot-from-2014-05-14-231012.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="236" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO18C9h7woFbbl8LHNDPPnSP4Or5vJcYJMTtkPwCEPaYlrebECZgcikVDj7VSekbW7MvoH-2QzoNjGNNQeFIUeOllyXUVR2FKD4ChOHNBiPNE0w-1X2mLxAnCEmyvhQURrhPTKa-viZfim/s400/screenshot-from-2014-05-14-231012.png" width="400" /></a></div>
<br />
<br />
<br />
This is the solution:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghy5JaYa9VSEYG3qt8U29reBd_YkP8RXiNeU1YHbEQueVbPyzS_B7jHuRK7y41XQYgFG5UCL5TFwUi1Y_QT-CIw9u4r5yFWcMvS0NzzU13vaLxfv1HdIntNtNQzBIIOAZn3UDnDG5pxeun/s1600/Screenshot+from+2016-06-02+10%253A07%253A46.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="174" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghy5JaYa9VSEYG3qt8U29reBd_YkP8RXiNeU1YHbEQueVbPyzS_B7jHuRK7y41XQYgFG5UCL5TFwUi1Y_QT-CIw9u4r5yFWcMvS0NzzU13vaLxfv1HdIntNtNQzBIIOAZn3UDnDG5pxeun/s400/Screenshot+from+2016-06-02+10%253A07%253A46.png" width="400" /></a></div>
<br /></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-51009186012133204532015-12-03T10:54:00.002+02:002015-12-03T11:04:40.433+02:00Upgrading from Linux Mint 17.2 “Rafaela” to Linux Mint 17.3 “Rosa”<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
ORIGIN : <a href="http://sourcedigit.com/17812-linux-mint-17-3-rosa-download-upgrade/" target="_blank">http://sourcedigit.com/17812-linux-mint-17-3-rosa-download-upgrade/</a><br />
<img alt="linux-mint-17-3-rosa" src="http://sourcedigit.com/wp-content/uploads/2015/11/linux-mint-17-3-rosa.jpg" height="154" width="320" /><br />
<span style="background-color: white; color: #666666; font-family: "roboto" , "helvetica" , "arial" , sans-serif; font-size: 14px; line-height: 22.4px;">First of all, run the following commands to update the system to the current stable state:</span><br />
<code style="background: url("images/bg-code.gif") 0px 0px repeat scroll rgb(255, 255, 255); border: 1px solid rgb(221, 221, 221); color: #666666; display: block; font-family: Consolas, 'Andale Mono', Courier, 'Courier New', monospace; font-size: 11px; font-stretch: normal; line-height: 19px; margin: 30px 0px 40px; outline: 0px; overflow-x: visible; overflow-y: hidden; padding: 5px; vertical-align: baseline; white-space: pre;"><br /> $ sudo apt update<br /> $ sudo apt upgrade<br /> $ sudo reboot<br /> </code><br />
<span style="background-color: white; color: #666666; font-family: "roboto" , "helvetica" , "arial" , sans-serif; font-size: 14px; line-height: 22.4px;">After updating the system, we need to update the distribution code (change the name of the official repositories for Rosa packages). Run the following commands to do so:</span><br />
<code style="background: url("images/bg-code.gif") 0px 0px repeat scroll rgb(255, 255, 255); border: 1px solid rgb(221, 221, 221); color: #666666; display: block; font-family: Consolas, 'Andale Mono', Courier, 'Courier New', monospace; font-size: 11px; font-stretch: normal; line-height: 19px; margin: 30px 0px 40px; outline: 0px; overflow-x: visible; overflow-y: hidden; padding: 5px; vertical-align: baseline; white-space: pre;"><br /> $ sudo sed -i 's/rafaela/rosa/' /etc/apt/sources.list<br /> $ sudo sed -i 's/rafaela/rosa/' /etc/apt/sources.list.d/official-package-repositories.list<br /> </code><br />
<span style="background-color: white; color: #666666; font-family: "roboto" , "helvetica" , "arial" , sans-serif; font-size: 14px; line-height: 22.4px;">Finally, run the commands to update the system files and the distribution package:</span><br />
<code style="background: url("images/bg-code.gif") 0px 0px repeat scroll rgb(255, 255, 255); border: 1px solid rgb(221, 221, 221); color: #666666; display: block; font-family: Consolas, 'Andale Mono', Courier, 'Courier New', monospace; font-size: 11px; font-stretch: normal; line-height: 19px; margin: 30px 0px 40px; outline: 0px; overflow-x: visible; overflow-y: hidden; padding: 5px; vertical-align: baseline; white-space: pre;"><br /> $ sudo apt update<br /> $ sudo apt upgrade<br /> $ sudo apt dist-upgrade<br /> </code><br />
<span style="background-color: white; color: #666666; font-family: "roboto" , "helvetica" , "arial" , sans-serif; font-size: 14px; line-height: 22.4px;">Once the system-update process is complete, restart the system – manually or use the command “sudo reboot” (without quotes).</span></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0Israel31.046051 34.85161199999993227.5781805 29.688037999999931 34.513921499999995 40.015185999999929tag:blogger.com,1999:blog-2379766707706955730.post-19673960105246533672015-11-09T00:36:00.001+02:002015-11-09T00:36:29.000+02:00Running Fiddler on Linux http://blog.michaelhidalgo.info/2015/06/fiddler-up-and-running-on-linux-mint.html?m=1Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-27851413836592554792015-10-13T19:12:00.001+03:002015-10-13T19:12:36.381+03:00The Ultimate Guide to Ideal Image Sizes for Social Media Posts<a href="https://blog.bufferapp.com/ideal-image-sizes-social-media-posts">The Ultimate Guide to Ideal Image Sizes for Social Media Posts</a>Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-39253692139343842762015-10-03T00:09:00.000+03:002015-10-03T00:09:02.465+03:00apt-get warning: No support for locale: en_US.utf8<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="http://askubuntu.com/questions/99651/apt-get-warning-no-support-for-locale-en-us-utf8" target="_blank">http://askubuntu.com/questions/99651/apt-get-warning-no-support-for-locale-en-us-utf8</a><br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0F43krvTNpQURHpxhDJOdehgQ1jvUqsIgGzmGn5H3LWqA6XnDKiV6brJ9PQ77c1L-hzmB1J9ZBJF48_uO8zxfTsYgqsBf6IkSAuJZ212f9xHl0FbZItTr_O6O3E6TPEIdgysG3nDgqJth/s1600/Screenshot+from+2015-10-03+00%253A08%253A08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="385" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0F43krvTNpQURHpxhDJOdehgQ1jvUqsIgGzmGn5H3LWqA6XnDKiV6brJ9PQ77c1L-hzmB1J9ZBJF48_uO8zxfTsYgqsBf6IkSAuJZ212f9xHl0FbZItTr_O6O3E6TPEIdgysG3nDgqJth/s400/Screenshot+from+2015-10-03+00%253A08%253A08.png" width="400" /></a></div>
<br /></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-27267550198464226202015-09-29T20:31:00.001+03:002015-09-29T20:34:56.719+03:00Google Event 2015 - Nexus 6P 5X Marshmallow Chromecast<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="https://peekapost.com/ariel/143">Google Event 2015 - Nexus 6P 5X Marshmallow Chromecast</a><br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiosPZJBp0agfPYO837b7xU2a0iGmEGm8QwxYzEUcm07l-x_hqPGvtxsjTEnV_iYHku3Fn_8ESePaICCE15fBRhhHC9_-2bsW59nWai89e0bPYAhCtA6xBJ8NUaq_gsRWG3AA-qj8kKXusC/s1600/Screenshot+from+2015-09-29+20%253A32%253A43.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="216" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiosPZJBp0agfPYO837b7xU2a0iGmEGm8QwxYzEUcm07l-x_hqPGvtxsjTEnV_iYHku3Fn_8ESePaICCE15fBRhhHC9_-2bsW59nWai89e0bPYAhCtA6xBJ8NUaq_gsRWG3AA-qj8kKXusC/s400/Screenshot+from+2015-09-29+20%253A32%253A43.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><a href="https://peekapost.com/ariel/143" style="font-size: medium; text-align: left;">Google Event 2015 - Nexus 6P 5X Marshmallow Chromecast</a></td></tr>
</tbody></table>
<br /></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-229820415651980042015-08-02T15:36:00.001+03:002015-08-02T15:37:48.766+03:00Getting the windows serial number from the BIOS while running Linux mint*<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
Copy & paste (ctrl+shift+V) into your terminal window<br />
<br />
<span style="background-color: black; color: lime;">sudo hd /sys/firmware/acpi/tables/MSDM </span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_dMHvTSFEfzS3Wasot7B5wucbfWgLE9IGwbu8e8yZJF1eU-ZHTVMoQF-FBH96LpIOlfGGZgW2k8ZfdDMWvQHLcB6P7zcFUwfdy7HreO4Y7ZHGe_khB7XI5cZOVmpzhbMWousnaRKZ06Io/s1600/11391374_656064971194147_4610771968079932275_n.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="198" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_dMHvTSFEfzS3Wasot7B5wucbfWgLE9IGwbu8e8yZJF1eU-ZHTVMoQF-FBH96LpIOlfGGZgW2k8ZfdDMWvQHLcB6P7zcFUwfdy7HreO4Y7ZHGe_khB7XI5cZOVmpzhbMWousnaRKZ06Io/s400/11391374_656064971194147_4610771968079932275_n.jpg" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<i>*Might work on other Linux distributions.</i><br />
<br /></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-39380880799162476052015-07-05T15:34:00.001+03:002015-07-05T15:35:02.235+03:00Solved my battery calibration on lenovo z-80 and linux mint 17,2http://forums.linuxmint.com/viewtopic.php?f=49&t=160379Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-15631145273077374152015-05-25T17:07:00.000+03:002015-05-25T17:07:55.782+03:00PHP mail() function enable on DigitalOcean.com <div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<span style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 16px; line-height: 22.3999996185303px; white-space: pre-line;">log has root or use sudo </span><span style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 16px; line-height: 22.3999996185303px; white-space: pre-line;"> </span><span style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 16px; line-height: 22.3999996185303px; white-space: pre-line;">apt-get install php-pear </span><br />
<span style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 16px; line-height: 22.3999996185303px; white-space: pre-line;">pear install mail </span><br />
<span style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 16px; line-height: 22.3999996185303px; white-space: pre-line;">pear install Net_SMTP </span><br />
<span style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 16px; line-height: 22.3999996185303px; white-space: pre-line;">pear install Auth_SASL </span><br />
<span style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 16px; line-height: 22.3999996185303px; white-space: pre-line;">pear install mail_mime </span><br />
<span style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 16px; line-height: 22.3999996185303px; white-space: pre-line;"> </span><span style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 16px; line-height: 22.3999996185303px; white-space: pre-line;">apt-get install postfix </span><br />
<span style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 16px; line-height: 22.3999996185303px; white-space: pre-line;">vi /etc/php5/apache2/php.ini (set sendmail path to /usr/sbin/sendmail -t -i)</span><br />
<span style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 16px; line-height: 22.3999996185303px; white-space: pre-line;">Reboot apache gracefully </span><span style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 16px; line-height: 22.3999996185303px; white-space: pre-line;">apachectl graceful</span><br />
<br />
Thanks to <a href="https://www.digitalocean.com/community/users/info" target="_blank">info</a>, original answer at <a href="https://www.digitalocean.com/community/questions/php-mail-function-enable" target="_blank">https://www.digitalocean.com/community/questions/php-mail-function-enable</a><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvzp3LL7xKm31wi7bwg556PqI1e_gc2V-uSZm8-DmU5YWE-pv6_0ZGnzpcauCjR6pzs-YQRq5giAgqsdgnT2guFlw1PkeVkFrqzvbYSVZlJyBtgqNudPTbLIS3aqDjPSdFp4NY2hI0HgA2/s1600/mail.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvzp3LL7xKm31wi7bwg556PqI1e_gc2V-uSZm8-DmU5YWE-pv6_0ZGnzpcauCjR6pzs-YQRq5giAgqsdgnT2guFlw1PkeVkFrqzvbYSVZlJyBtgqNudPTbLIS3aqDjPSdFp4NY2hI0HgA2/s320/mail.png" width="279" /></a></div>
<span style="background-color: white; color: #333333; font-family: proxima-nova, sans-serif; font-size: 16px; line-height: 22.3999996185303px; white-space: pre-line;"><br /></span></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-24517466241719021902014-05-30T01:24:00.003+03:002014-05-30T01:31:36.942+03:00Clear sound on electric guitar amplifier fender mustang 1 v2<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<br />
After few weeks that I tried to set my guitar amplifier fender mustang 1 v2 to produce "crystal clear" sound + two days of thoughts about selling the amp and buy a "better one", I finally found the way to get clear sound.<br />
<br />
<ol style="text-align: left;">
<li>Turn off the amplifier</li>
<li>Press the "TAP" button.</li>
<li>Turn on the amplifier while the "TAP" button is pressed.</li>
<li>That's it!</li>
<ul>
<li> No effects, no gain, no reverb, no cool effects. JUST CLEAR SOUND.</li>
</ul>
</ol>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbvyihWrCjVHZPk4T6cRtgf3KFkY8ZfdxCxBJZgQbqgwUGs_Jq0LwtuelktdbKfavNn-2xqqn6DaWzC9z8434XHsiZdGT56Mjg3aCkdnVaienNNtZJGmYHRLzCdAwZy_i9mHAlXBWN5Khx/s1600/2014-05-30+01.06.09.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbvyihWrCjVHZPk4T6cRtgf3KFkY8ZfdxCxBJZgQbqgwUGs_Jq0LwtuelktdbKfavNn-2xqqn6DaWzC9z8434XHsiZdGT56Mjg3aCkdnVaienNNtZJGmYHRLzCdAwZy_i9mHAlXBWN5Khx/s1600/2014-05-30+01.06.09.jpg" height="223" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrgipTLY5KDVia2Zi-Y7ZCOnYQG_H8CmtDxOALt-AMV8NlxUmZ793-InOWYSBAdHZoGYJhkCPfdh97sL2idAqdlRIALa_N6Yrkcu0z3MvrSyL9pJmYLRtUY1vPgsaLkXmpf6bvuGayG0uI/s1600/2014-05-30+01.06.20.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrgipTLY5KDVia2Zi-Y7ZCOnYQG_H8CmtDxOALt-AMV8NlxUmZ793-InOWYSBAdHZoGYJhkCPfdh97sL2idAqdlRIALa_N6Yrkcu0z3MvrSyL9pJmYLRtUY1vPgsaLkXmpf6bvuGayG0uI/s1600/2014-05-30+01.06.20.jpg" height="225" width="400" /></a></div>
<br /></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-62158206916967745912014-04-22T23:51:00.003+03:002014-04-22T23:51:16.517+03:00How to make a bootable Mavericks install drive (usb, disk on key)<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="color: #333333; font-family: Lucida Grande, Lucida Sans Unicode, Arial, Verdana, sans-serif;"><span style="background-color: white; font-size: 12px; line-height: 19.200000762939453px;">The text below is "copy paste" from </span><span style="font-size: 12px; line-height: 19.200000762939453px;"><a href="http://liondiskmaker.com/" target="_blank">liondiskmaker</a> site. version 3 supports the Mavericks installer</span></span><br />
<span style="background-color: white; color: #333333; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, sans-serif; font-size: 12px; line-height: 19.200000762939453px;"><br /></span>
<span style="background-color: white; color: #333333; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, sans-serif; font-size: 12px; line-height: 19.200000762939453px;">Link:<a href="http://liondiskmaker.com/" target="_blank"> </a></span><span style="background-color: white; color: #333333; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, sans-serif; font-size: 12px; line-height: 19.200000762939453px;"><a href="http://liondiskmaker.com/" target="_blank">http://liondiskmaker.com/ </a></span><br />
<span style="background-color: white; color: #333333; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, sans-serif; font-size: 12px; line-height: 19.200000762939453px;"><br /></span>
<span style="background-color: white; color: #333333; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, sans-serif; font-size: 12px; line-height: 19.200000762939453px;">DiskMaker X (formerly Lion DiskMaker) is an application built with AppleScript that you can use with Mac OS X 10.6, 10.7, OS X 10.8 and 10.9 to build a bootable drive from Mac OS X Lion, OS X Mountain Lion Installation or OS X Mavericks Installer program. As soon as you launch the application, it tries to find the OS X Install program with Spotlight. Then, it proposes to build a bootable install disk and make it look as nice as possible. It’s the easiest way to build an OS X Installer in a few clicks !</span><br />
<span style="background-color: white; color: #333333; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, sans-serif; font-size: 12px; line-height: 19.200000762939453px;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.gete.net/ldm/wp-content/images/LDM_Gem.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://www.gete.net/ldm/wp-content/images/LDM_Gem.png" height="243" width="320" /></a></div>
<br /></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-70907040643787839242014-04-22T00:42:00.001+03:002014-05-15T22:21:53.130+03:00iMac fan working at full speed ( making noise ) after replacing HDD by SSD<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<b>Problem:</b> After replacing the hard disk on my iMac to SSD, the fan/s started to work at full speed and make noise.<br />
<br />
<b>Reason</b>: Replacing the original hard disk breaks the system’s temperature monitoring and the fans will stat to work on full speed.<br />
<br />
<br />
<b>Solution for Mac OS X</b>:<br />
Install the free software "<a href="http://exirion.net/ssdfanctrl/" target="_blank">SSD Fan Control</a>", Find the noisy fan and control it in ‘Manual’ or ‘SMART’ mode.<br />
Don't forget to donate!!!<br />
<br />
Link:<br />
<a href="http://exirion.net/ssdfanctrl/" target="_blank">http://exirion.net/ssdfanctrl/</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://exirion.net/ssdfanctrl/ssdfanctrl_files/Screen%20Shot%202012-07-29%20at%2010.50.28%20PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" src="http://exirion.net/ssdfanctrl/ssdfanctrl_files/Screen%20Shot%202012-07-29%20at%2010.50.28%20PM.png" height="132" width="320" /></a></div>
<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b>Solution for Windows 8 on BOOT CAMP partition: </b></div>
Install the free software "<a href="http://www.crystalidea.com/macs-fan-control" target="_blank">Macs Fan Control</a>", Find the noisy fan and control it in ‘Manual’ or ‘SMART’ mode.<br />
Don't forget to donate!!!<br />
Link:<br />
<a href="http://www.crystalidea.com/macs-fan-control" target="_blank">http://www.crystalidea.com/macs-fan-control</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGVSWlaqeTuzG7kb8PeeP7NFrbrFkXZx0cgKqL1XRiWGO8oGdiIKtDhTu6uLiOhMJO7uXzeDSWgZoma2MhwTlR8Eg885yQ9KtLU29M66h3rFsHRyiVxhjPLVJu1tOC1vuKLMUubPXNeKqx/s1600/2014-05-15+22_14_13-Software+Products+_+CRYSTALIDEA+Software.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGVSWlaqeTuzG7kb8PeeP7NFrbrFkXZx0cgKqL1XRiWGO8oGdiIKtDhTu6uLiOhMJO7uXzeDSWgZoma2MhwTlR8Eg885yQ9KtLU29M66h3rFsHRyiVxhjPLVJu1tOC1vuKLMUubPXNeKqx/s1600/2014-05-15+22_14_13-Software+Products+_+CRYSTALIDEA+Software.png" height="192" width="400" /></a></div>
<br />
<br /></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-9388959548015914472014-01-23T21:50:00.001+02:002014-01-23T21:50:54.491+02:00input type range<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<a href="http://demo.agektmr.com/datalist/" target="_blank">http://demo.agektmr.com/datalist/</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDe2KRZHa4m3bLdKhxmj6p86HezI806IszEHg4Abw3H4q0DZlBBARcGraBqCB4dDaVMSAzTFbYsTmhLic5QzyFzjfT-3ypI5Blc1gCtSrcZ6S-lYiMGyZw46JVifdpOHJxnwJxabZ5CaBu/s1600/2014-01-23+21_47_42-datalist+experiment.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDe2KRZHa4m3bLdKhxmj6p86HezI806IszEHg4Abw3H4q0DZlBBARcGraBqCB4dDaVMSAzTFbYsTmhLic5QzyFzjfT-3ypI5Blc1gCtSrcZ6S-lYiMGyZw46JVifdpOHJxnwJxabZ5CaBu/s1600/2014-01-23+21_47_42-datalist+experiment.png" /></a></div>
<a href="http://dev.w3.org/html5/markup/input.range.html#input.range.attrs.list" target="_blank">http://dev.w3.org/html5/markup/input.range.html#input.range.attrs.list</a><br />
<br />
<br />
<br /></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-88484290624589840232014-01-16T19:18:00.004+02:002014-01-16T19:18:53.534+02:00Article - The 30 CSS Selectors you Must Memorize<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://net.tutsplus.com/tutorials/html-css-techniques/the-30-css-selectors-you-must-memorize/" target="_blank">
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtSsVAReU2Vdrr_r5MW5f-JsXZM4s_HClXvLu6x9Z64kHQ7c8YWwS8GMao0VhFHSMQvWvYUlAuMQuyJclyUuXH7qbww0hNW2OUMQSA-sdEvabi20HTe8YbTkhCfNlX2y8IHz5dPRNkEOtc/s1600/2014-01-16+19_15_14-The+30+CSS+Selectors+you+Must+Memorize+%E2%80%93+Development+%E2%80%93+Tuts++Tutorials.png" /></a></div>
<br />
<br />
<br /></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-54199004334796282282014-01-15T17:47:00.001+02:002014-01-15T17:47:29.041+02:00background-position-x and background-position-y aren't cross-browser compatible<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<br />
<span style="color: red; font-size: large;"><b>Wrong: </b></span><br />
.myStyle{<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>background-image: url(images/someImage.png);<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>background-repeat:no-repeat;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><span style="color: red;"><b>background-position-x: 20px;</b></span><br />
<span style="color: red;"><b><span class="Apple-tab-span" style="white-space: pre;"> </span>background-position-y: 30px;</b></span><br />
}<br />
<br />
<br />
<span style="color: #38761d; font-size: large;"><b>Right:</b></span><br />
.myStyle{<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>background-image: url(images/properties_underline.png);<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>background-repeat:no-repeat;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><b><span style="color: #38761d;">background-position:20px 30px;</span></b><br />
}<br />
<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0tag:blogger.com,1999:blog-2379766707706955730.post-82819641724018690472014-01-11T00:53:00.001+02:002014-01-11T00:57:22.581+02:00CSS properties + Webkit CSS properties<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
I found this site:<br />
<br />
CSS properties: <a href="http://css-infos.net/" target="_blank">http://css-infos.net/ </a><br />
<br />
<br />
Webkit CSS properties: <a href="http://css-infos.net/properties/webkit" target="_blank">http://css-infos.net/properties/webkit</a><br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJn4EBW0k9U_LpiIzijYRjTTH5Eq7d5J2qOzR-jQV1eKHwyMpS5yDNE-vwtU1kF0QYX7Lu592CZY7oGIzJaBBgK42AeugQwB_CMdU6WzxR_qA2LMaS0kkx9zbcJHrsE6nCgw8Y8rmqsSEm/s1600/1-11-2014+12-52-30+AM.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJn4EBW0k9U_LpiIzijYRjTTH5Eq7d5J2qOzR-jQV1eKHwyMpS5yDNE-vwtU1kF0QYX7Lu592CZY7oGIzJaBBgK42AeugQwB_CMdU6WzxR_qA2LMaS0kkx9zbcJHrsE6nCgw8Y8rmqsSEm/s1600/1-11-2014+12-52-30+AM.jpg" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Screen capture from the site </td></tr>
</tbody></table>
<br />
<br />
<br />
<br />
<br /></div>
Ariel Barkanhttp://www.blogger.com/profile/01438105424447724738noreply@blogger.com0