<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6633820162357189469</id><updated>2024-09-04T23:18:54.554-04:00</updated><category term="android"/><category term="mysql"/><category term="php"/><category term="linux"/><category term="sync"/><category term="codeigniter"/><category term="dual-boot"/><category term="free software"/><category term="music"/><category term="ubuntu"/><category term=".nomedia"/><category term="AirPrint"/><category term="Apple Co."/><category term="CUPS"/><category term="IoT"/><category term="Play Music"/><category term="apache"/><category term="automation"/><category term="avahi"/><category term="backup"/><category term="backwards"/><category term="banshee"/><category term="bootstrap"/><category term="compatible"/><category term="conduit"/><category term="customers"/><category term="database"/><category term="email"/><category term="error 500"/><category term="facebook"/><category term="flash"/><category term="folder"/><category term="framwork"/><category term="integrate"/><category term="ios"/><category term="ipad charger"/><category term="ipad mini"/><category term="joomla"/><category term="library"/><category term="media"/><category term="migrate"/><category term="pi"/><category term="playlist"/><category term="raspberrypi"/><category term="rhythmbox"/><category term="scan"/><category term="server"/><category term="share"/><category term="smartphone"/><category term="synchronize"/><category term="template"/><category term="upload"/><category term="web develop"/><category term="webcam"/><category term="wifi"/><category term="wifi router"/><category term="windows"/><title type='text'>Tinker Linux</title><subtitle type='html'>Ubuntu/Linux as an everyday OS.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-7298043080150657979</id><published>2023-02-26T17:01:00.005-05:00</published><updated>2023-02-26T17:05:48.749-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AirPrint"/><category scheme="http://www.blogger.com/atom/ns#" term="avahi"/><category scheme="http://www.blogger.com/atom/ns#" term="CUPS"/><category scheme="http://www.blogger.com/atom/ns#" term="pi"/><category scheme="http://www.blogger.com/atom/ns#" term="raspberrypi"/><title type='text'>AirPrint with Raspberry Pi and CUPS</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj7RRIrIJxCdGc-z0xyb-Dr15OVV5YCEBE_B6bN62lB4RQXscvYhACH5BmxV877ix_p0IzMrj9Ya63bwdkpFdKItYJ9oJf2XUd1OAvQxX3CETX-R_HRMY_MPASlXHl1_dT85O7G_dvxRD1liROaTLsk6R2NQDUsGtqJ1XPjdJxFaSCXYhM2bg2ofxtWjA&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;574&quot; data-original-width=&quot;574&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj7RRIrIJxCdGc-z0xyb-Dr15OVV5YCEBE_B6bN62lB4RQXscvYhACH5BmxV877ix_p0IzMrj9Ya63bwdkpFdKItYJ9oJf2XUd1OAvQxX3CETX-R_HRMY_MPASlXHl1_dT85O7G_dvxRD1liROaTLsk6R2NQDUsGtqJ1XPjdJxFaSCXYhM2bg2ofxtWjA&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;AirPrint using a Raspberry Pi&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After you succeed with these steps you will be able to print to CUPS printers from an iOS device.&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;CUPS = Common Unix Print Service&lt;/p&gt;&lt;p&gt;Steps:&lt;/p&gt;&lt;p&gt;0: Have an SSH connection or local terminal access to a Raspberry Pi. Also in this step make sure that the device you wish to print from and the CUPS server are on the same network.&lt;/p&gt;&lt;p&gt;I am 99% positive that all Pis have CUPS installed. But in any case, follow along.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Install CUPS&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span face=&quot;Libre Franklin, Helvetica Neue, helvetica, arial, sans-serif&quot; style=&quot;background-color: white; color: #333333;&quot;&gt;First, we’ll install CUPS, which is a printing system by Apple Inc. for macOS and other UNIX-like operating systems.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-color: #fcff01; color: #333333; font-family: courier;&quot;&gt;sudo apt install cups&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;b&gt;We need to add the pi user to the lpadmin group&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;sudo usermod -a -G lpadmin pi&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;b&gt;Allow CUPS access from anywhere in our LAN.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;sudo cupsctl --remote-any&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;b&gt;Edit the CUPS config file&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;sudo nano /etc/cups/cupsd.conf&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Change&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Listen localhost:631&amp;nbsp; -----&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Liten 631&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;And further down the file add&lt;i&gt; Allow @local&lt;/i&gt; after the lines with &quot;&amp;lt;&lt;i&gt;Location&amp;gt;&quot;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgbOnXG1sP18rYFDJL56m_64-cfo9UJ66Ym-FiIfug14b0siJ2H1z-YUGU2dN1nTRncDqHaVeMBtz2i4MS4--Z6oTxWC9QwtUenPuzFPt-KDVDXo7PMXf8XekqDwQ-muDYb8298mrFzC79b9fVN9S6pPqMuf0dtacpZcNj91h4AwSFGi7bn5LCzQTgbyA&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;446&quot; data-original-width=&quot;291&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgbOnXG1sP18rYFDJL56m_64-cfo9UJ66Ym-FiIfug14b0siJ2H1z-YUGU2dN1nTRncDqHaVeMBtz2i4MS4--Z6oTxWC9QwtUenPuzFPt-KDVDXo7PMXf8XekqDwQ-muDYb8298mrFzC79b9fVN9S6pPqMuf0dtacpZcNj91h4AwSFGi7bn5LCzQTgbyA=w209-h320&quot; width=&quot;209&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;b&gt;Restart CUPS for the changes to take effect.&lt;/b&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;sudo systemctl restart cups&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;b&gt;Install drivers&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;sudo apt install printer-driver-gutenprint&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Add printers as needed&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Add your printer to CUPS as you normally do. In my case http://&amp;lt;piIPaddress&amp;gt;:631&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Install avahi-daemon to allow service discovery&lt;/b&gt;. &lt;br /&gt;That is what allows devices on the network to broadcast what they are and can do.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;i&gt;sudo apt install avahi-daemon&lt;/i&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Start avahi-daemon.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;i&gt;sudo systemctl start avahi-daemon&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Enable auto-start at boot time.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;i&gt;sudo systemctl enable avahi-daemon&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;br /&gt;&lt;b&gt;IMPORTANT&lt;br /&gt;&lt;/b&gt;If your iDevice cannot see the printer(s)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;1) Make sure that the Pi, iDevice are on the same network.&lt;br /&gt;2) Make sure that &lt;i&gt;client isolation &lt;/i&gt;is disabled in your access point/wireless router. I reflashed my Pi about three times because I could not figure it out.&lt;br /&gt;&lt;br /&gt;On the &lt;a href=&quot;https://forums.xfinity.com/conversations/xfinity-app/turning-off-ap-isolation-also-known-as-client-isolation/61fc4125e5fd17166fe4a59e&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Xfinity Forums&lt;/a&gt;, they recommend disabling Hotspot on your gateway/router. That did it for me.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;b&gt;Before you get mad and reflash the Pi&lt;/b&gt;&lt;br /&gt;Connect the Pi to the iPhone hotspot, for example, and the printer to the Pi; in my case, it was via USB.&amp;nbsp;&lt;br /&gt;Restart CUPS and avahi-daemon&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;i&gt;sudo systemctl restart cups&lt;br /&gt;sudo systemctl retart avahi-daemon&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;On the pi open &lt;i&gt;raspi-config&lt;/i&gt;&amp;nbsp;and change the network connection to connect to your iPhone&#39;s hotspot. If you cannot ssh into it then hook up a monitor and keyboard.&lt;br /&gt;This is just to let you vent the frustration of not seeing the printers on the iDevice. Then proceed to disable client isolation on your router. Don&#39;t forget to restart CUPS and avahi-daemon when you change networks.&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;Happy printing from the walled-garden.&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin: 0px 0px 1.5em; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/7298043080150657979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2023/02/airprint-with-raspberry-pi-and-cups.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/7298043080150657979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/7298043080150657979'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2023/02/airprint-with-raspberry-pi-and-cups.html' title='AirPrint with Raspberry Pi and CUPS'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEj7RRIrIJxCdGc-z0xyb-Dr15OVV5YCEBE_B6bN62lB4RQXscvYhACH5BmxV877ix_p0IzMrj9Ya63bwdkpFdKItYJ9oJf2XUd1OAvQxX3CETX-R_HRMY_MPASlXHl1_dT85O7G_dvxRD1liROaTLsk6R2NQDUsGtqJ1XPjdJxFaSCXYhM2bg2ofxtWjA=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-2130371184295743738</id><published>2020-12-15T21:47:00.005-05:00</published><updated>2020-12-15T22:06:06.089-05:00</updated><title type='text'>Select unique random indexes from a list in Dart</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;The goal here is to select 4 unique index id&#39;s from a given list in Dart.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;Hardcoded: source list, how many numbers to pick, zero excluded, printing the selected items list as having 4 elements.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;312&quot; src=&quot;https://www.youtube.com/embed/Od5maIBVL7U&quot; width=&quot;576&quot; youtube-src-id=&quot;Od5maIBVL7U&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;import &#39;dart:math&#39;;&lt;br /&gt;void main() {&lt;br /&gt;&amp;nbsp; &amp;nbsp; List&amp;lt;int&amp;gt; numbers = [1, 2, 3, 4, 5,6,7,8,9];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp; List&amp;lt;int&amp;gt; pickedList =[];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp; /// pick 4 random numbers&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp; for(var i=0; pickedList.length &amp;lt;4 ;i++) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var picked = new Random().nextInt(numbers.length);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // skip the generated 0&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(picked &amp;gt;0 &amp;amp;&amp;amp; !pickedList.asMap().containsValue(picked))&amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pickedList.add(picked);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } //for i to 4&lt;br /&gt;&amp;nbsp; &amp;nbsp;} ///picked &amp;gt; 0 &amp;amp;&amp;amp; not yet picked&lt;br /&gt;&amp;nbsp; print(&#39;Here are you selected numbers. No repeats&#39;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp; print(&#39;=======&#39;);&lt;br /&gt;&amp;nbsp; for (var i =0; i&amp;lt;4; i++) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; print(pickedList[i]);&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;//&amp;nbsp; &amp;nbsp;print(pickedList.asMap());&lt;br /&gt;} /// /main&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/2130371184295743738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2020/12/select-random-unique-indexes-from-list.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/2130371184295743738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/2130371184295743738'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2020/12/select-random-unique-indexes-from-list.html' title='Select unique random indexes from a list in Dart'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/Od5maIBVL7U/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-2870647274363167059</id><published>2020-12-15T21:36:00.000-05:00</published><updated>2020-12-15T21:36:33.702-05:00</updated><title type='text'>Return list of databases for use in dropdown</title><content type='html'>&lt;pre&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;public function getdbnames() {
 $pdo = $this-&amp;gt;db;
 
 try{
  $query1 = $pdo-&amp;gt;query(&#39;SHOW DATABASES&#39; );
  $dbs = $query1-&amp;gt;result_array();
  // var_dump($dbs);
  foreach ($dbs as $row) {
     foreach ($row as $key =&amp;gt; $value) {
      if ($value &amp;lt;&amp;gt;&quot;information_schema&quot; &amp;amp;&amp;amp; $value &amp;lt;&amp;gt;&quot;mysql&quot; &amp;amp;&amp;amp; $value &amp;lt;&amp;gt;&quot;sys&quot; ) {
       $dblist[]= &quot;$value&quot;;
       # code...
      }
     }
  }
   return $dblist;

 }
 catch(PDOException $e) {
  die(&quot;Could not get result&quot;);
 }
 
}&lt;/span&gt;
&lt;/pre&gt;
&lt;br /&gt;
View code&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/2870647274363167059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2020/03/return-list-of-databases-for-use-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/2870647274363167059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/2870647274363167059'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2020/03/return-list-of-databases-for-use-in.html' title='Return list of databases for use in dropdown'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-6318202704331611217</id><published>2020-03-27T16:33:00.000-04:00</published><updated>2020-03-27T16:33:01.003-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="codeigniter"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>Get CREATE TABLE for all tables using CodeIgniter</title><content type='html'>&lt;br /&gt;
I have an app on my phone that I use as a pocket reference when I need field names, relationships in GroceryCrud. It has an Import from SQL feature.&lt;br /&gt;
I ran my code. Copied the output to keep.google.com and from there pasted the SQL in the mobile app.&lt;br /&gt;
This was a quick thing I needed so I just placed it in a controller.&lt;br /&gt;
Code follows:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: black; color: white; font-size: 8; padding: 4px;&quot;&gt;
&lt;pre&gt; 
public function tableSQLCreate() {
  try {
   $pdo = $this-&amp;gt;db;

  }
  catch(PDOException $e) {
   die(&quot;Could not connect to the database\n&quot;);
  }



  echo &#39;&amp;lt;#pre&amp;gt;&#39;;
  try{
   $stmt1 = $pdo-&amp;gt;query(&#39;SHOW TABLES&#39; );
    try {
     foreach($stmt1-&amp;gt;result() as $result) {

       foreach ($result as $key =&amp;gt; $value) {
        $stmt2 = $pdo-&amp;gt;query(&quot;SHOW CREATE TABLE `&quot;. $value .&quot;`&quot; );
        $table = $stmt2-&amp;gt;result();
        foreach ($table[0] as $key =&amp;gt; $value) {
         if ($key==&quot;Create Table&quot;) {
         echo &quot;$value;\n\n&quot;;
         }
        }
       }

     }
    } catch(PDOException $e) {
      die(&quot;Could not get result nested&quot;);
    }


  }
  catch(PDOException $e) {
   die(&quot;Could not get result&quot;);
  }
  
  echo &#39;&amp;lt;#/pre&amp;gt;&#39;;

 }
&lt;/pre&gt;
&lt;/div&gt;
Be sure to remove the # symbol from the pre tags. It was a dirty way around the Blogger formatter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It outputs&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;CREATE TABLE `login_attempts` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `ip_address` varchar(15) NOT NULL,
  `login` varchar(100) NOT NULL,
  `time` int(11) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;&lt;/pre&gt;
&lt;pre&gt;
&lt;/pre&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/6318202704331611217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2020/03/get-create-table-for-all-tables-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/6318202704331611217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/6318202704331611217'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2020/03/get-create-table-for-all-tables-using.html' title='Get CREATE TABLE for all tables using CodeIgniter'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-3993085866299436489</id><published>2018-08-17T16:37:00.003-04:00</published><updated>2020-12-15T21:38:33.110-05:00</updated><title type='text'>Connect a wireless printer without WPS or USB</title><content type='html'>I just finished setting up DD WRT on my wireless router. Firestick conected to my new WLAN. Now I wanted to connect my HP Deskjet 3520 to my WLAN and the only way I could connect to the router seems WPS but that is not working on the router even though it has the button.&lt;br /&gt;
Anyhow. I know that this printer model has a web interface so I connected via WiFi Direct. Then I found my IP address on my mobile device. My IP was 192.168.179.200. Opened up the browser and went to 192.168.179.1 to access the printer&#39;s server. There it has a nice interface to connect to the wireless network of choice.&lt;br /&gt;
&lt;br /&gt;
The settings from this point will depend on your particular setup.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recap.&lt;br /&gt;
Connect via Wi-Fi direct.&lt;br /&gt;
Open the app that your printer works with. The one you use for sending print jobs to it.&lt;br /&gt;
That app will tell you the printer&#39;s IP address.&lt;br /&gt;
Navigate to that address&lt;div&gt;Find the wireless setup wizard and configure your settings accordingly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/3993085866299436489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2018/08/connect-wireless-printer-without-wps-or.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/3993085866299436489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/3993085866299436489'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2018/08/connect-wireless-printer-without-wps-or.html' title='Connect a wireless printer without WPS or USB'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-7056817465762585990</id><published>2017-02-21T20:56:00.001-05:00</published><updated>2018-03-13T01:41:26.484-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>Replicating a MySQL 5.0 database from PHP</title><content type='html'>&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Some websites offer online services such as accounting, inventory, just to name a few. Yesterday I was trying to see if some code I wrote, before I upgraded to Ubuntu 16.04 LTS, still work with MySQL 5.0. I tried the old code that used inline password. Sure the database was created but it had no tables.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;So what the script used to do was:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Create a database . No problem.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Replicate the tables from a template database onto the new one. Error mentioned&lt;/span&gt;&lt;/span&gt; &lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Sure it had a little more logic but for sharing purposes I minified it so that others can tinker with it. The script used to insert new entry in a customers.company table including the new company&#39;s db&amp;nbsp; name. Then empty tables from template db were copied into it. Customers data is isolated this way making backups a lot easier.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;So here is the minified code that replicates a database from PHP script as if running a command from the terminal.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;edit permission for temp files
with &lt;code&gt;chmod 1777 /tmp&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;php
&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;/* this is for a test website I was building */&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
 $dbusername &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;admin_user&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
$dbuserpass &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;secretPa$$&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
$dbname&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;new_customer_DB&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//use a more unique name&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
 $mysqli &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; mysqli&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;localhost&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; $dbusername&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; $dbuserpass&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;your_admin_db&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;

    $sql &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;CREATE DATABASE `&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;$dbname&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;` /*!DEFAULT CHARACTER SET utf8 */;&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;


&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;$mysqli&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;query&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;$sql&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
    printf&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;$dbname successfully created.\n&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;// dump database from master db into newly created one.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;// dbname and masterdb are important&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
$masterdb &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;customer_db_template&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
$olduser&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; $dbusername&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;




$file &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempnam&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;/tmp&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;FOO&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;

 $content&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;[client]\n&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
$content&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;user=$dbusername \n&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
$content&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;password=$dbuserpass \n&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
$content&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;host=localhost&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
file_put_contents&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;$file&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; $content&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;&amp;lt;hr&amp;gt; &quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;

$cmd &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;mysqldump --defaults-extra-file=$file &lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;str&quot;&gt;      --routines --opt $masterdb | mysql &lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;str&quot;&gt;      --defaults-extra-file=$file --host=localhost -C $dbname;&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; $cmd&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;&amp;lt;pre&amp;gt;&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; 

  system&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; $cmd   &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;  
unlink&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;$file&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//delete right away&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
mysqli&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;close &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;$mysqli &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;&amp;lt;/pre&amp;gt;&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;pun&quot;&gt;

 &lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;div class=&quot;default &quot;&gt;
&lt;br /&gt;
This does not drop your existing database. For $dbname you would want to use a unique name. Perhaps the company name and insert id. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Word of caution: this process creates a temporary file with username and password in the /tmp directoy. Be careful and test many times. Be sure to set permissions for /tmp folder. Script deletes (unlink) the file as soon as the replication is complete.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/7056817465762585990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2017/02/replicating-mysql-50-database-from-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/7056817465762585990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/7056817465762585990'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2017/02/replicating-mysql-50-database-from-php.html' title='Replicating a MySQL 5.0 database from PHP'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-6265545468498173774</id><published>2017-02-05T21:25:00.000-05:00</published><updated>2017-02-05T22:14:04.101-05:00</updated><title type='text'>JAVA_HOME error /usr/lib/jvm</title><content type='html'>Two days ago I upgraded from Ubuntu LTS 12.04 to 14.04 and then again to 16.04 Xenial&lt;br /&gt;
&lt;br /&gt;
To see what version you have installed run this:&lt;br /&gt;
&lt;span style=&quot;background-color: lime;&quot;&gt;lsb_release -a&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: lime;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #3d85c6;&quot;&gt;Output on my machine&lt;/span&gt;&lt;br /&gt;
Distributor ID:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Ubuntu&lt;br /&gt;
Description:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Ubuntu 16.04.1 LTS&lt;br /&gt;
Release:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;16.04&lt;br /&gt;
&lt;span style=&quot;background-color: #3d85c6;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
Codename:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;xenial&lt;br /&gt;
&lt;br /&gt;
During the upgrade(s) Java was updated and the $JAVA_HOME value had to be changed in my profile.&lt;br /&gt;
&lt;span style=&quot;background-color: lime;&quot;&gt;echo $JAVA_HOME&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #3d85c6;&quot;&gt;/usr/lib/jvm/java-7-openjdk-i386/bin/&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Replace the old value of $JAVA_HOME (end of file, usually) with the &quot;link best version is &quot; value from running this:&lt;/div&gt;
&lt;div&gt;
readlink -f $(which java)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
which was&amp;nbsp;&lt;span style=&quot;background-color: #3d85c6;&quot;&gt;/usr/lib/jvm/java-8-oracle/jre/bin/java&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdSL2QjR9-spSu07A98jMSZmhPd445jD7EOsRRwvwg5WF-cEEd0CT0n-L4YGIjblwBHkjhs1h9HACXDWS5IEkE1Jg92Y8kNjDrZoxFBpg4Yjk36CpwnhYO9Tru4WssId0nvHYO7XdVLfAf/s1600/readlink-java8.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;25&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdSL2QjR9-spSu07A98jMSZmhPd445jD7EOsRRwvwg5WF-cEEd0CT0n-L4YGIjblwBHkjhs1h9HACXDWS5IEkE1Jg92Y8kNjDrZoxFBpg4Yjk36CpwnhYO9Tru4WssId0nvHYO7XdVLfAf/s320/readlink-java8.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now using nano or gedit open up /etc/profile with admin rights. Update JAVA_HOME=&quot;old/value&quot; to JAVA_HOME=&quot;/usr/lib/jvm/java-8-oracle&quot; (in my case). Yes, exclude &amp;nbsp;everything after &quot;oracle&quot;.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Log out and you&#39;re done. Error upon booting up should disappear&lt;br /&gt;
&lt;br /&gt;
Any complications? drop me &amp;nbsp;a line.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/6265545468498173774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2017/02/javahome-error-usrlibjvm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/6265545468498173774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/6265545468498173774'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2017/02/javahome-error-usrlibjvm.html' title='JAVA_HOME error /usr/lib/jvm'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdSL2QjR9-spSu07A98jMSZmhPd445jD7EOsRRwvwg5WF-cEEd0CT0n-L4YGIjblwBHkjhs1h9HACXDWS5IEkE1Jg92Y8kNjDrZoxFBpg4Yjk36CpwnhYO9Tru4WssId0nvHYO7XdVLfAf/s72-c/readlink-java8.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-7014479920834832958</id><published>2016-08-13T18:04:00.001-04:00</published><updated>2017-02-05T22:25:06.159-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="automation"/><category scheme="http://www.blogger.com/atom/ns#" term="ios"/><category scheme="http://www.blogger.com/atom/ns#" term="IoT"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="server"/><category scheme="http://www.blogger.com/atom/ns#" term="smartphone"/><category scheme="http://www.blogger.com/atom/ns#" term="sync"/><category scheme="http://www.blogger.com/atom/ns#" term="wifi router"/><title type='text'>IoT idea: proximity based file syncing </title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;
I have always thought about getting my recent files for the day uploaded to a personal cloud at home once I reach my WiFi &lt;a href=&quot;http://amzn.to/2jSzExV&quot; target=&quot;_blank&quot;&gt;hot-spot&lt;/a&gt;. What I am talking about is an application that resides in the phone which lets the server know that my phone is within reach and to try to backup the new files onto itself.&amp;nbsp;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
This seems like an easy task. There&#39;s no need for me to plug in my phone to my computer to drag and drop files from one place to another. What I&#39;m talking about here is&amp;nbsp; automation. Actions based on proximity.&amp;nbsp;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Imagine this scenario: you leave your house and you&#39;re disconnected from your wireless hot-spot.&amp;nbsp;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
At this point your home server can run a check on all the things that you will not be needing since you&#39;re away; for example, the light in your bathroom, the TV or maybe the light in your bedroom. If you&#39;re not going to need those on you can get a prompt on your phone so you can turn them off without having to go back in. I hear about Arduino and Raspberry Pi. Hopefully somebody will get a good idea of what I&#39;m trying to say and come up with an actual device and a useful demonstration of how this would work.&amp;nbsp;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Open source platforms such as Linux and the &lt;a href=&quot;http://amzn.to/2kDBNBU&quot; target=&quot;_blank&quot;&gt;Raspberry Pi &lt;/a&gt;open the pathway for developers to come up with ideas and products that are actually useful and that would save people some time and headaches.&amp;nbsp;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
I like to think that I have the ability to create by just giving you an idea. I have not been successful at using a soldering iron but I want to master that some day. I wish I could program like the Pros and put my thoughts into code and hardware. A small home server that can store your new files upon entering WiFi range could save you the pain of losing data when you drop that smartphone in the toilet. Cheers and thanks for reading. If you happen to come up with something after reading this I would like to see it in action. &lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
me@myLaptop:~$ uptime&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&amp;nbsp;17:00:23 up 20 min, &amp;nbsp;2 users, &amp;nbsp;load average: 3.49, 3.20, 2.20&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&amp;amp;OneJS=1&amp;amp;Operation=GetAdHtml&amp;amp;MarketPlace=US&amp;amp;source=ac&amp;amp;ref=qf_sp_asin_til&amp;amp;ad_type=product_link&amp;amp;tracking_id=tinkerlinux-20&amp;amp;marketplace=amazon&amp;amp;region=US&amp;amp;placement=B01CD5VC92&amp;amp;asins=B01CD5VC92&amp;amp;linkId=942f7fa11d571ba51fcc68144a00c9ad&amp;amp;show_border=false&amp;amp;link_opens_in_new_window=false&amp;amp;price_color=333333&amp;amp;title_color=000000&amp;amp;bg_color=ffffff&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;
    &lt;/iframe&gt;

&lt;a href=&quot;https://www.amazon.com/gp/product/1539342980/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1539342980&amp;amp;linkCode=as2&amp;amp;tag=tinkerlinux-20&amp;amp;linkId=d49e688be488daa8bb2002054a345ea9&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;amp;MarketPlace=US&amp;amp;ASIN=1539342980&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL250_&amp;amp;tag=tinkerlinux-20&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;//ir-na.amazon-adsystem.com/e/ir?t=tinkerlinux-20&amp;amp;l=am2&amp;amp;o=1&amp;amp;a=1539342980&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/7014479920834832958/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2016/08/iot-idea-proximity-based-file-syncing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/7014479920834832958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/7014479920834832958'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2016/08/iot-idea-proximity-based-file-syncing.html' title='IoT idea: proximity based file syncing '/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-4520495681624449103</id><published>2016-01-22T22:06:00.000-05:00</published><updated>2016-01-22T23:27:27.371-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="error 500"/><category scheme="http://www.blogger.com/atom/ns#" term="joomla"/><category scheme="http://www.blogger.com/atom/ns#" term="template"/><title type='text'>Solving Error 500 caused by Joomla template</title><content type='html'>Getting an error spewed out when testing a local or remote website installation makes my heart race.&amp;nbsp;&amp;nbsp;I had accessed the site over LAN using my smartphone. Things were smooth until I edited my Joomla template.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dx116eOJd2OS8oL9l1cwPxTTBSkxndjsAtawgSl2tm_Ur5AYvQM5rt0tFlr0U9BtcIT5Ha0_sQbJC4mMmLLCA&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
My Apache redirects were working. &amp;nbsp;I have to got to share what for almost 15 minutes frustrated me after this came up&amp;nbsp;&lt;span style=&quot;background-color: #e44249; color: white; font-family: &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-weight: bold; line-height: 22px; text-align: center;&quot;&gt;Unable to load renderer class.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
Reenactment&lt;/h4&gt;
&lt;div&gt;
I wanted to add a module position to a Joomla template. I copied some code from above my desired module position and pasted it there. I save my changes. Went over to change an existing module to the newly created one, which by the way, I too declared in &lt;i&gt;templateDetails.xml, &lt;/i&gt;anyway, saved changes to the module in the back-end and the nasty red error page comes up.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4&gt;
Panic&lt;/h4&gt;
&lt;div&gt;
I read a few too many forum discussions about redirects, and restarted Apache. I went as far as changing the $&lt;i&gt;livesite&lt;/i&gt;&amp;nbsp;variable&#39;s value in the&amp;nbsp;&lt;i&gt;configuration&amp;nbsp;&lt;/i&gt;file located in the root folder of the site to reflect my LAN IP. All to no avail.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4&gt;
Retrace your steps&lt;/h4&gt;
&lt;div&gt;
After taking a deep breath, I thought about backtracking to get to the root of the issue. Soon enough I noticed a typo. A big bad one.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;code&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;lt;jdoc:include &lt;span style=&quot;background-color: #e06666;&quot;&gt;type=&quot;modules&quot; name=&quot;infoblock&quot;&lt;/span&gt; style=&quot;html5&quot; /&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Should have actually been &lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;lt;jdoc:include &lt;span style=&quot;background-color: lime;&quot;&gt;type=&quot;modules&quot; name=&quot;infoblock&quot;&lt;/span&gt; style=&quot;html5&quot; /&amp;gt;&lt;/span&gt;&amp;nbsp;&lt;/code&gt;

&lt;style type=&quot;text/css&quot;&gt;
code {font-size:1.4em; }
&lt;/style&gt;&lt;br /&gt;
&lt;br /&gt;
Where &lt;i&gt;infoblock&lt;/i&gt;&amp;nbsp;is the name of the position being added.&lt;br /&gt;
&lt;br /&gt;
If you were able to solve your problem after reading this post, drop me a comment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Gotta go.&lt;br /&gt;
&lt;br /&gt;
hector@nsa-hornet:~$ date; uptime&lt;br /&gt;
Fri Jan 22 21:58:50 CST 2016&lt;br /&gt;
&amp;nbsp;21:58:50 up &amp;nbsp;6:47, &amp;nbsp;2 users, &amp;nbsp;load average: 4.15, 4.23, 4.45&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/4520495681624449103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2016/01/solving-error-500-caused-by-joomla.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/4520495681624449103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/4520495681624449103'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2016/01/solving-error-500-caused-by-joomla.html' title='Solving Error 500 caused by Joomla template'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-7776237801247023113</id><published>2015-12-30T23:59:00.000-05:00</published><updated>2015-12-30T23:59:55.691-05:00</updated><title type='text'>Making Shadowbox.js gallery plugin mobile friendly</title><content type='html'>&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPcHiSTr49JVqjfAgDFilI11UCdROG-Td6WLUWPu3qKKFH0qWxBZelE4RyXv5_xge2jRzmcMYpm4TFFrGnjAabAh3_sH1pgv2qjyS9829OAwd0ogLwHeevfR4-F-sCOdW26hvWrAbWpgS4/s1600/Screenshot+from+2015-12-30-1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPcHiSTr49JVqjfAgDFilI11UCdROG-Td6WLUWPu3qKKFH0qWxBZelE4RyXv5_xge2jRzmcMYpm4TFFrGnjAabAh3_sH1pgv2qjyS9829OAwd0ogLwHeevfR4-F-sCOdW26hvWrAbWpgS4/s320/Screenshot+from+2015-12-30-1.png&quot; width=&quot;172&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Smaller cellphone screen - LG G Stylo&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
You want: to go to the Next or Previous image by clicking a larger area instead of the small buttons provided by Shadowbox.&lt;br /&gt;
&lt;br /&gt;
You could modify the&amp;nbsp;shadowbox_en.js&amp;nbsp;code yourself or copy and replace the&amp;nbsp;shadowbox_en.js with the Javascript from the following clip I uploaded to&amp;nbsp;&lt;a href=&quot;http://pastebin.com/fHHh3NCC&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;http://pastebin.com/fHHh3NCC&lt;/a&gt;.&lt;br /&gt;
There is JavaScript at the top and the necessary CSS for the media queries is at the bottom.&lt;br /&gt;
&lt;br /&gt;
In small screens the tiny navigation buttons are hidden.&lt;br /&gt;
&lt;pre&gt;
&lt;/pre&gt;
&lt;div&gt;
Simple. save and reload the page.
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Thanks to&amp;nbsp;&lt;a href=&quot;http://www.joomla-css.nl/en/&quot;&gt;http://www.joomla-css.nl/en/&lt;/a&gt; for some good tips on how to make Joomla navigation menu using Bootstrap.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF6ODjiMxLeF9_S2QlZl6cBWUJhPAq9WSeSbHcOHqXx5mQcQU7Wo8P50yXeIgQ09Cn3c_QQrgO9pZyUIzwJxjaTHTwvvJjMkjTCkXvsS_WeVH5NA4plt9c3vhHQj10r2bj9O0sfPihyphenhyphenTEd/s1600/Screenshot+from+2015-12-30_2.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;163&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF6ODjiMxLeF9_S2QlZl6cBWUJhPAq9WSeSbHcOHqXx5mQcQU7Wo8P50yXeIgQ09Cn3c_QQrgO9pZyUIzwJxjaTHTwvvJjMkjTCkXvsS_WeVH5NA4plt9c3vhHQj10r2bj9O0sfPihyphenhyphenTEd/s400/Screenshot+from+2015-12-30_2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Larger screen - laptop&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/7776237801247023113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2015/12/making-shadowboxjs-gallery-plugin.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/7776237801247023113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/7776237801247023113'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2015/12/making-shadowboxjs-gallery-plugin.html' title='Making Shadowbox.js gallery plugin mobile friendly'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPcHiSTr49JVqjfAgDFilI11UCdROG-Td6WLUWPu3qKKFH0qWxBZelE4RyXv5_xge2jRzmcMYpm4TFFrGnjAabAh3_sH1pgv2qjyS9829OAwd0ogLwHeevfR4-F-sCOdW26hvWrAbWpgS4/s72-c/Screenshot+from+2015-12-30-1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-765764376673120708</id><published>2015-06-14T00:34:00.000-04:00</published><updated>2015-06-14T00:34:35.704-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bootstrap"/><category scheme="http://www.blogger.com/atom/ns#" term="codeigniter"/><category scheme="http://www.blogger.com/atom/ns#" term="framwork"/><category scheme="http://www.blogger.com/atom/ns#" term="integrate"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>BootNiter - CodeIgniter integrated with Twitter Bootstrap</title><content type='html'>&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;For those of you wanting to have the look and feel of Twitter Bootstrap within CodeIgniter PHP Framework right away here is your starting point.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: #f8f8f8; color: #333333; line-height: 20px;&quot;&gt;CodeIgniter Version&lt;/span&gt;&lt;span style=&quot;background-color: #f8f8f8; color: #333333; line-height: 20px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #f8f8f8; box-sizing: border-box; color: #333333; font-weight: 700; line-height: 20px;&quot;&gt;3.0.0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f8f8f8; box-sizing: border-box; color: #333333; font-weight: 700; line-height: 20px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Bootstrap Version&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box;&quot;&gt;3.3.4&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Behold BootNiter. Don&#39;t mind the name but rather draw your site mock-up and then create your CodeIgniter Ms,Vs, and Cs taking advantage of the sweet look of Bootstrap.&lt;br /&gt;
Some examples included such as buttons, drop-down menu items. The browser you see in the following screenshots is Chrome.&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzOgb2A8r-oQFKsQDLHEJPttr3KG4NYTkOIsnHOiY0x_Cyg6liGcC_YlQLV1Eftx6WBuxdq8N80bzqFb8qnOINlmRJPz1aIdAtExPcD-ET6i6BlJQtoDeu7G7k53ON-H8yiBE3RdtMtHKB/s1600/bootNiter-mobile.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzOgb2A8r-oQFKsQDLHEJPttr3KG4NYTkOIsnHOiY0x_Cyg6liGcC_YlQLV1Eftx6WBuxdq8N80bzqFb8qnOINlmRJPz1aIdAtExPcD-ET6i6BlJQtoDeu7G7k53ON-H8yiBE3RdtMtHKB/s400/bootNiter-mobile.png&quot; width=&quot;322&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Screenshot of emulated mobile rendering of page&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGFQtm5wsipu0msg5_L3OoYigvFZR-b9P6tyI08maqqB9CvWxeiyYoHgnmUJw1FOg7XtM5Mu7_oAI8LfckOkKImgYvE7IK3jBrw7x5-rshyphenhyphenbY7GtQth-pb8AjWYEp4OR1h8-4ezQHaw4pw/s1600/bootNiter-desk.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGFQtm5wsipu0msg5_L3OoYigvFZR-b9P6tyI08maqqB9CvWxeiyYoHgnmUJw1FOg7XtM5Mu7_oAI8LfckOkKImgYvE7IK3jBrw7x5-rshyphenhyphenbY7GtQth-pb8AjWYEp4OR1h8-4ezQHaw4pw/s400/bootNiter-desk.png&quot; width=&quot;387&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Screenshot of desktop version&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;a href=&quot;https://drive.google.com/file/d/0BxGYIzIWsowcS3F6U1VPMFZCcjQ/view?usp=sharing&quot; rel=&quot;nofollow&quot;&gt;Get the file here&lt;/a&gt;. 1.33 MB ZIP. pass is bootlace&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/765764376673120708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2015/06/bootniter-codeigniter-integrated-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/765764376673120708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/765764376673120708'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2015/06/bootniter-codeigniter-integrated-with.html' title='BootNiter - CodeIgniter integrated with Twitter Bootstrap'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzOgb2A8r-oQFKsQDLHEJPttr3KG4NYTkOIsnHOiY0x_Cyg6liGcC_YlQLV1Eftx6WBuxdq8N80bzqFb8qnOINlmRJPz1aIdAtExPcD-ET6i6BlJQtoDeu7G7k53ON-H8yiBE3RdtMtHKB/s72-c/bootNiter-mobile.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-2132723794101179556</id><published>2013-06-03T11:46:00.003-04:00</published><updated>2016-01-23T00:41:32.189-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".nomedia"/><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="library"/><category scheme="http://www.blogger.com/atom/ns#" term="media"/><category scheme="http://www.blogger.com/atom/ns#" term="music"/><category scheme="http://www.blogger.com/atom/ns#" term="Play Music"/><category scheme="http://www.blogger.com/atom/ns#" term="playlist"/><category scheme="http://www.blogger.com/atom/ns#" term="scan"/><title type='text'>Hide directories from media library on Android OS</title><content type='html'>&lt;div dir=&quot;ltr&quot; left=&quot;&quot;&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
If you don&#39;t want some of your media files to be listed in Play Music (and possibly other) app then you need to have a way of creating simple text files in your directories. I use File Manager. Notice the period before &quot;nomedia&quot; in the next step.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtDcli7wQMo2ZBT5SCQYY_XTTfDwHve1CxeYBgRUTn1a6e0mQnnF65eVt-ZOATnisTwsQfMnoKlQn6ghT0X1SqE8ys1PpwGydtZLsZEF4aOOhZRZFA3azKi9GNMe0aizEWutwSHO903DHT/s1600/Screenshot_2013-06-03-10-56-43-1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtDcli7wQMo2ZBT5SCQYY_XTTfDwHve1CxeYBgRUTn1a6e0mQnnF65eVt-ZOATnisTwsQfMnoKlQn6ghT0X1SqE8ys1PpwGydtZLsZEF4aOOhZRZFA3azKi9GNMe0aizEWutwSHO903DHT/s1600/Screenshot_2013-06-03-10-56-43-1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;task list&quot; border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtDcli7wQMo2ZBT5SCQYY_XTTfDwHve1CxeYBgRUTn1a6e0mQnnF65eVt-ZOATnisTwsQfMnoKlQn6ghT0X1SqE8ys1PpwGydtZLsZEF4aOOhZRZFA3azKi9GNMe0aizEWutwSHO903DHT/s200/Screenshot_2013-06-03-10-56-43-1.png&quot; title=&quot;Android running tasks&quot; width=&quot;200&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
First you have to create and empty .nomedia file in the directory where those files are located. Repeat for other folders in necessary. Folders within the target folder don&#39;t have to have this .nomedia. It is only needed in the parent folder. This is called recursiveness.&lt;br&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0_qUsOBrIswCnxJbdqEfzPlmr3Rk-NRE9-pK7watERB0ST5mralTa0BcBVx_pn-02iedzeBb8qF39p9FZ2tVMqV2KoOcTsG54bJLUDxr3MxWl2xEBj9x0PmS5d-oG-ptGuZmGjWRxZ9N8/s1600/Screenshot_2013-06-03-10-56-57.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Play Music app info&quot; border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0_qUsOBrIswCnxJbdqEfzPlmr3Rk-NRE9-pK7watERB0ST5mralTa0BcBVx_pn-02iedzeBb8qF39p9FZ2tVMqV2KoOcTsG54bJLUDxr3MxWl2xEBj9x0PmS5d-oG-ptGuZmGjWRxZ9N8/s320/Screenshot_2013-06-03-10-56-57.png&quot; title=&quot;Play Music app info&quot; width=&quot;180&quot;&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
On my Galaxy Nexus device: I tap &quot;running app&quot; soft button then tap and hold on Play Music.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
Tap &quot;Clear cache&quot; to clear the &quot;library&quot;.&lt;/div&gt;
&lt;div&gt;
Close Play Music. Swipe across on running app list or whatever method you use.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
The last thing to do is reopen the Play Music app and select &quot;refresh music&quot; from the menu.&lt;/div&gt;
&lt;div&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
Clearing the cache will not erase your playlist (at least on Android 4.2).&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Wait and enjoy.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/2132723794101179556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2013/06/hide-directories-from-library-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/2132723794101179556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/2132723794101179556'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2013/06/hide-directories-from-library-on.html' title='Hide directories from media library on Android OS'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtDcli7wQMo2ZBT5SCQYY_XTTfDwHve1CxeYBgRUTn1a6e0mQnnF65eVt-ZOATnisTwsQfMnoKlQn6ghT0X1SqE8ys1PpwGydtZLsZEF4aOOhZRZFA3azKi9GNMe0aizEWutwSHO903DHT/s72-c/Screenshot_2013-06-03-10-56-43-1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-6502326294666428488</id><published>2013-01-08T12:00:00.002-05:00</published><updated>2013-02-01T06:15:02.967-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="share"/><category scheme="http://www.blogger.com/atom/ns#" term="sync"/><category scheme="http://www.blogger.com/atom/ns#" term="synchronize"/><category scheme="http://www.blogger.com/atom/ns#" term="wifi"/><title type='text'>Sync files between Android and computer over WiFi</title><content type='html'>&lt;iframe bordercolor=&quot;#000000&quot; frameborder=&quot;0&quot; height=&quot;200&quot; hspace=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://ad.doubleclick.net/adi/N7433.148119.BLOGGEREN/B6535994.1625;sz=200x200;ord=[timestamp]?;lid=41000613802464048;pid=22513399;usg=AFHzDLuj-XJqZngoeQnlAloWpOzpQPVj4A;adurl=http%253A%252F%252Fwww.officemax.com%252Ftechnology%252Fnetworking-equipment%252Frouters%252Fproduct-prod3390006%253Fcm_mmc%253DPerformics-_-Technology-_-Networking%252520Equipment-_-Routers%2526ci_src%253D14110944%2526ci_sku%253D22513399;pubid=612130;imgsrc=http%3A%2F%2Fwww.officemax.com%2Fcatalog%2Fimages%2F397x353%2F22513399i_01.jpg;width=200;height=177&quot; vspace=&quot;0&quot; width=&quot;200&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
In a previous post I covered on how to &lt;a href=&quot;http://tinkerlinux.blogspot.com/2012/11/sync-android-and-ubuntu-1204.html&quot;&gt;sync files using USB&lt;/a&gt; cable and MTP. On this instalment I will tell you how to do it over WiFi.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note/warning: &lt;/b&gt;try with some test files first. Once comfortable enough you may use with real/production folders/files. Use at your own risk. &lt;span style=&quot;background-color: red;&quot;&gt;Consider backing up&lt;/span&gt; important files.&lt;br /&gt;
&amp;nbsp;&lt;b&gt;&amp;nbsp;&lt;/b&gt; &lt;br /&gt;
Preparation:&lt;br /&gt;
&lt;br /&gt;
On computer:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Allow sharing of folder to sync&lt;/li&gt;
&lt;li&gt;Make sure you are using a password to log in (security)&lt;/li&gt;
&lt;/ul&gt;
On Android device:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Enable WiFi &lt;/li&gt;
&lt;li&gt;&amp;nbsp;Install &lt;a href=&quot;https://play.google.com/store/apps/details?id=com.bv.wifisync&amp;amp;hl=en&quot; target=&quot;_blank&quot;&gt;SyncMe&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Open up the mobile app and tap &quot;Add computer&quot; then &quot;computer name&quot;. Device will search for available hosts.&lt;br /&gt;
Select the one where your share is, say &quot;targetPC&quot;&lt;br /&gt;
Enter username and password (if any).&lt;br /&gt;
Select OK&lt;br /&gt;
Tap on the&amp;nbsp; &quot;targetPC&quot; then on &quot;Add sync folder&quot;&lt;br /&gt;
Set values for the top settings in &lt;span style=&quot;color: red;&quot;&gt;red&lt;/span&gt; (device folder and computer folder).&lt;br /&gt;
You may carefully consider the &quot;Copy to&quot; setting. The first time you copy to mobile device select &quot;copy to device only&quot;. I did not want to risk erasing what I have on the computer. Options are self-explanatory.&lt;br /&gt;
Select OK at the bottom.&lt;br /&gt;
Tap on the&amp;nbsp; &quot;targetPC&quot; then on &quot;Run job&quot;&lt;br /&gt;
&lt;br /&gt;
Wait for synchronization to finish. Verify results. &lt;br /&gt;
&lt;br /&gt;
Extra tip: advanced users may use NAT and sync over the internet. &lt;br /&gt;
&lt;br /&gt;
Was this useful? Share it.&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/6502326294666428488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2013/01/sync-files-between-android-and-computer.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/6502326294666428488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/6502326294666428488'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2013/01/sync-files-between-android-and-computer.html' title='Sync files between Android and computer over WiFi'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-1171269864071613340</id><published>2012-11-13T09:35:00.001-05:00</published><updated>2012-11-13T11:32:02.442-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="banshee"/><category scheme="http://www.blogger.com/atom/ns#" term="conduit"/><category scheme="http://www.blogger.com/atom/ns#" term="folder"/><category scheme="http://www.blogger.com/atom/ns#" term="music"/><category scheme="http://www.blogger.com/atom/ns#" term="rhythmbox"/><category scheme="http://www.blogger.com/atom/ns#" term="sync"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Sync folders between Android and Ubuntu 12.04</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=6633820162357189469&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: right;&quot;&gt;
&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;One of the things that I find not so straightforward for Android devices is syncronizing music and other files. I have been trying with Rhythmbox and Banshee but both either crash and/or don&#39;t copy all songs.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;This is how I managed to sync files from my Galaxy Nexus (GSM). This is a tethered sync over USB. There will be another post showing how to do it over WiFi with Samba Share. Try at your own risk.&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;As a precaution you may want to rename your &lt;span style=&quot;font-size: small;&quot;&gt;de&lt;span style=&quot;font-size: small;&quot;&gt;vice&#39;s Music folder&lt;span style=&quot;font-size: small;&quot;&gt; and recreate it. &lt;span style=&quot;font-size: small;&quot;&gt;In case you do something horribly wrong&lt;span style=&quot;font-size: small;&quot;&gt; and &lt;span style=&quot;font-size: small;&quot;&gt;you are syncing TO the computer and delete your phone&#39;s music/pic&lt;span style=&quot;font-size: small;&quot;&gt;s/whatever...&lt;/span&gt; files.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;The programs used are:&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Conduit for Ubuntu&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Commands:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;sudo mkdir /media/gne&lt;tt&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;x&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;sudo apt-get install cond&lt;span style=&quot;font-size: small;&quot;&gt;uit&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;sudo apt-get install mtp-tools mtpfs&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;sudo adduser YOURUSERNAME fuse&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;sudo mtpfs -o allow_other /media/gnex&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;sudo gedit /etc/udev/rules.d/51-android.rules&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Paste this in that file&lt;span style=&quot;font-size: small;&quot;&gt;&lt;tt&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;tt&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;(no&lt;tt&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;te *&lt;tt&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;1)&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;SUBSYSTEM==&quot;usb&quot;, ATTR{idVendor}==&quot;043&quot;, ATTR{idProduct}==&quot;685c&quot;, MODE=&quot;0666&quot;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;

&lt;/ul&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Create system commands to save you time in mounting.&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sudo gedit ~/.bashrc&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Paste at the end of the file (all single quotes):&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;alias android-connect=&#39;mtpfs -o allow_other /media/gnex&#39;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;alias android-disconnect=&#39;fusermount -u /media/gnex&#39; &lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Note *1: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Use &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;mtp-detect | grep idVendor &lt;/span&gt;and &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;mtp-detect | grep idProduct&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; to get the correct values for your device.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Installation is finished.&lt;span style=&quot;font-size: small;&quot;&gt; &lt;span style=&quot;font-size: small;&quot;&gt;To test &lt;span style=&quot;font-size: small;&quot;&gt;you&lt;span style=&quot;font-size: small;&quot;&gt;r setup run &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;android-connect &lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;and you shou&lt;span style=&quot;font-size: small;&quot;&gt;ld see you should see the following in Nautil&lt;span style=&quot;font-size: small;&quot;&gt;us (&lt;span style=&quot;font-size: small;&quot;&gt;file browser).&lt;span style=&quot;font-size: small;&quot;&gt; &lt;span style=&quot;font-size: small;&quot;&gt;To &lt;span style=&quot;font-size: small;&quot;&gt;unmount your device run &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;android-disconnect&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt; .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;span style=&quot;font-size: small;&quot;&gt;Open up Conduit. Drag two folder&lt;span style=&quot;font-size: small;&quot;&gt; providers from the left panel&lt;/span&gt;. Right click on the one on the left&lt;span style=&quot;font-size: small;&quot;&gt; and set the &lt;span style=&quot;font-size: small;&quot;&gt;first folder &lt;span style=&quot;font-size: small;&quot;&gt;to sync. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Repeat the &lt;span style=&quot;font-size: small;&quot;&gt;abo&lt;span style=&quot;font-size: small;&quot;&gt;ve for&lt;span style=&quot;font-size: small;&quot;&gt; the second &quot;f&lt;/span&gt;older&lt;span style=&quot;font-size: small;&quot;&gt;&quot; on the right&lt;/span&gt;&lt;/span&gt;. You may add an option to make it &lt;span style=&quot;font-size: small;&quot;&gt;two-way&lt;span style=&quot;font-size: small;&quot;&gt; so that &lt;span style=&quot;font-size: small;&quot;&gt;new files on the phone are added to you&lt;span style=&quot;font-size: small;&quot;&gt;r c&lt;span style=&quot;font-size: small;&quot;&gt;omputer.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;clear: right; float: left; margin-bottom: 1em; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJMHrmhTfKNkZIIiTOSz1XdG7roiVv_M6sQE2gkQ1ZE7lW-MnQr5G2IjQCCpFNbwp95QE3qi5z5WPj0CWWB3dtRRkskD1PYAYxkiS8mht5ub06VFYX72Oc0hKgh4pugFTOHuzv0syr97cT/s1600/Screenshot+from+2012-11-13+09:34:20.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;238&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJMHrmhTfKNkZIIiTOSz1XdG7roiVv_M6sQE2gkQ1ZE7lW-MnQr5G2IjQCCpFNbwp95QE3qi5z5WPj0CWWB3dtRRkskD1PYAYxkiS8mht5ub06VFYX72Oc0hKgh4pugFTOHuzv0syr97cT/s320/Screenshot+from+2012-11-13+09:34:20.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Now that your &lt;span style=&quot;font-size: small;&quot;&gt;gnex folder is browsa&lt;span style=&quot;font-size: small;&quot;&gt;ble s&lt;span style=&quot;font-size: small;&quot;&gt;etup your sync source and &lt;span style=&quot;font-size: small;&quot;&gt;destination.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;clear: right; float: left; margin-bottom: 1em; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;When you are ready to sync right-click &lt;span style=&quot;font-size: small;&quot;&gt;on the arrow(s) and &lt;span style=&quot;font-size: small;&quot;&gt;click Syncronize Group. Wait&lt;span style=&quot;font-size: small;&quot;&gt; and verify w&lt;span style=&quot;font-size: small;&quot;&gt;ith a file &lt;span style=&quot;font-size: small;&quot;&gt;manager on your A&lt;span style=&quot;font-size: small;&quot;&gt;ndroid&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt; device.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=6633820162357189469&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixgZyaYiyhnlCDQti2h1lp5AxlJrfKtVid4GLCyjGFCIpb_blGuVc-Ll8BFyCagzhr0geEP0Q5BDbWvXjDLOVtckuXXzoCp_J_Ev90kKRIen3XGdv_1Bo1aOTB5bRWQW9JUkc4lY3DW4mP/s1600/Screenshot+from+2012-11-13+10:39:04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;262&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixgZyaYiyhnlCDQti2h1lp5AxlJrfKtVid4GLCyjGFCIpb_blGuVc-Ll8BFyCagzhr0geEP0Q5BDbWvXjDLOVtckuXXzoCp_J_Ev90kKRIen3XGdv_1Bo1aOTB5bRWQW9JUkc4lY3DW4mP/s320/Screenshot+from+2012-11-13+10:39:04.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;Files are displayed &lt;span style=&quot;font-size: small;&quot;&gt;on device&lt;span style=&quot;font-size: small;&quot;&gt; App.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgBxkkM_tysgG9iz1oI2JcIbHEUV2kyLdpYmtfK0s4l3bh40Y0Giqfqbg8HyAVDP0ghgQII1jrvO3BSm0scQVOhTei5r0asOLCwAsL7ObXTfXU1xAct9HXhbrzE04CR-dBBChatmw5VyEY/&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/1171269864071613340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2012/11/sync-android-and-ubuntu-1204.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/1171269864071613340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/1171269864071613340'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2012/11/sync-android-and-ubuntu-1204.html' title='Sync folders between Android and Ubuntu 12.04'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJMHrmhTfKNkZIIiTOSz1XdG7roiVv_M6sQE2gkQ1ZE7lW-MnQr5G2IjQCCpFNbwp95QE3qi5z5WPj0CWWB3dtRRkskD1PYAYxkiS8mht5ub06VFYX72Oc0hKgh4pugFTOHuzv0syr97cT/s72-c/Screenshot+from+2012-11-13+09:34:20.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-1575614478605685106</id><published>2012-10-27T04:35:00.001-04:00</published><updated>2015-03-28T10:57:50.845-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apple Co."/><category scheme="http://www.blogger.com/atom/ns#" term="backwards"/><category scheme="http://www.blogger.com/atom/ns#" term="compatible"/><category scheme="http://www.blogger.com/atom/ns#" term="customers"/><category scheme="http://www.blogger.com/atom/ns#" term="ipad charger"/><category scheme="http://www.blogger.com/atom/ns#" term="ipad mini"/><title type='text'>Little device, big deal Apple</title><content type='html'>&lt;div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
We all know that Apple company makes beautiful products. Some of you purchase computer items only from them. I don&#39;t know if it&#39;s because you are too comfortable with that matte white or you like the customer support behind them.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
This new iPad Mini that just came out is like an iPod touch on steroids and sort of resembles the Galaxy Note.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
If Apple is to keep their customer base happy for a very long time they need to think way ahead of time and design, at least, their chargers to work with all their future products models. &lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
Just saying.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/1575614478605685106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2012/10/little-device-big-deal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/1575614478605685106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/1575614478605685106'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2012/10/little-device-big-deal.html' title='Little device, big deal Apple'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-2936559999547695504</id><published>2012-03-12T03:14:00.005-04:00</published><updated>2012-03-12T03:15:25.281-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dual-boot"/><category scheme="http://www.blogger.com/atom/ns#" term="free software"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Microsoft to block other Operating Systems from booting</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;
 &lt;!--
  @page { margin: 0.79in }
  P { margin-bottom: 0.08in }
  A:link { so-language: zxx }
 --&gt;
 
&lt;/style&gt;


Apparently Microsoft wants to make the same move as Apple. If you
want to have Windows 8 then that&#39;s all you can have. They want to
prevent their users from booting into an OS that is not Windows.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Apple brands their hardware, though. So they can put just about
anything in their BIOS (if they are to keep end users as slaves to OS
X). Fine, you are not legally allowed to run another OS that is not
Mac OS X Lion/Tiger/ Chimpanzee. Likewise you are not allowed to run
Mac OS X on a system that is not Apple branded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Such nonsense. Let people but your flashy hardware. Even if they
have to get parts from the manufacturer and no generics are exist.
Now let&#39;s focus on Microsoft. I read that they want to &#39;ask&#39;
manufacturers to block operating systems based on a black list. In a
few words. You might not be able to boot an OS that is not Windows.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is really bad news for the people that like to use Linux and
other open source OS&#39;s. I mean, come on, when I bought my current
laptop the first thing I did was install Ubuntu 10.04. A few days
later I wiped out the &quot;factory&quot; partition. I don&#39;t care
that it may void its warranty. What I do care about is having those
binary files created by MS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click &lt;a href=&quot;http://www.fsf.org/campaigns/secure-boot-vs-restricted-boot/statement&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;
to sign a petition asking computer manufacturers to allow free
software operating systems to be allowed to boot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fight for your rights (unless your current system will never need replacing).&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/2936559999547695504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2012/03/microsoft-to-block-other-operating.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/2936559999547695504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/2936559999547695504'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2012/03/microsoft-to-block-other-operating.html' title='Microsoft to block other Operating Systems from booting'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-3244276851521863695</id><published>2012-03-01T06:11:00.001-05:00</published><updated>2012-10-27T04:26:35.282-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="facebook"/><category scheme="http://www.blogger.com/atom/ns#" term="flash"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="upload"/><category scheme="http://www.blogger.com/atom/ns#" term="webcam"/><title type='text'>Allow websites access to webcam on Ubuntu</title><content type='html'>&lt;div&gt;In this social-media world of the Internet, being able to snap picture with your cellphone, or digital camera is convenient but what if you simply want to use your laptop&#39;s built-in webcam. &quot;Keep it simple&quot; you may say but some things just don&#39;t work out of the box when it comes to Ubuntu. &lt;br /&gt;
&lt;br /&gt;
I was updating my status on &lt;a href=&quot;http://facebook.com/mando.padilla&quot; target=&quot;_blank&quot;&gt;Facebook&lt;/a&gt; by adding a picture using my laptop&#39;s web-cam&amp;nbsp;&lt;a href=&quot;http://facebook.com/mando.padilla&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;. The circle thing kept moving but nothing happened. No camera controls showed up. So I tried something that I had never thought about.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 1px dotted teal; padding: 4px;&quot;&gt;
&lt;div style=&quot;color: #741b47;&quot;&gt;
My specs: &lt;/div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Firefox 10.0.2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Ubuntu 10.04 LTS kernel 2.6.32-38-generic&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Adobe Flash Player:&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Laptop:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Gateway ID49C07u&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;i3 processor&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1.3 mp camera &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;br /&gt;
Here is what you have to do to grant websites access to you camera. &lt;br /&gt;
&lt;br /&gt;
1) Switch to picture mode. &lt;br /&gt;
2) Right click on the flash uploader / preview.&lt;br /&gt;
3) Click &#39;Global Settings&#39;.&lt;br /&gt;
&lt;span id=&quot;goog_1838307050&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1838307051&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX30E1ND2Ra5rQMEVFlQjjigLu2Riey6lWHSNJ8OhOXRS4yUdn9Rdu4arGNwcCNqr-OP1P43_BmePGrFN_0B6OTpXDpC2ffh5Zzrk7-NxoEEZDOzhpwV1h64oYrFI0ByKVomVxmooO1YNX/s1600/camera-settings.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;57&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX30E1ND2Ra5rQMEVFlQjjigLu2Riey6lWHSNJ8OhOXRS4yUdn9Rdu4arGNwcCNqr-OP1P43_BmePGrFN_0B6OTpXDpC2ffh5Zzrk7-NxoEEZDOzhpwV1h64oYrFI0ByKVomVxmooO1YNX/s400/camera-settings.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4) Go to &quot;Camera and mic&quot; tab.&lt;br /&gt;
5) Click the &quot;Camera and Microphone Settings by Site...&quot; button.&lt;br /&gt;
6) Add/ edit the website which you would like to grant access&lt;b&gt;&lt;/b&gt; to.&lt;br /&gt;
7) From the dropdown select &lt;b&gt;Allow&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8h0SviFr1P8jFXKTaYcbusxp268izCXuhf9ng0XOzhV8pyLhC86yKS1HBrZ7ru0NcjCyg7806ap1u9WakNoWw0mJwlGAEGg9sgrbGcyPSrb74TJeokSZ3dKUI-Bg6o9k4lAEzqRRzYctS/s1600/camera-settings-by-site.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8h0SviFr1P8jFXKTaYcbusxp268izCXuhf9ng0XOzhV8pyLhC86yKS1HBrZ7ru0NcjCyg7806ap1u9WakNoWw0mJwlGAEGg9sgrbGcyPSrb74TJeokSZ3dKUI-Bg6o9k4lAEzqRRzYctS/s400/camera-settings-by-site.png&quot; width=&quot;373&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Close both dialog boxes and retry to capture your picture.&lt;br /&gt;
&lt;br /&gt;
Enjoy your status updates.&lt;br /&gt;
&lt;br /&gt;
As I was wrapping up this post, I tested video capture and it works fine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For much better quality &lt;u&gt;consider this camera&lt;/u&gt;.&lt;br /&gt;
&lt;a href=&quot;http://gan.doubleclick.net/gan_click?lid=41000000005217789&amp;amp;pid=22432690&amp;amp;adurl=http%3A%2F%2Fwww.officemax.com%2Ftechnology%2Fcomputer-accessories%2Fweb-cameras%2Fproduct-prod3310154%3Fcm_mmc%3DPerformics-_-Technology-_-Computer%2520Accessories-_-Web%2520Cameras%26ci_src%3D14110944%26ci_sku%3D22432690&amp;amp;usg=AFHzDLs6wagLAC9tTq6kDeXRLoxiNAp7BA&amp;amp;pubid=21000000000521462&quot;&gt;&lt;img height=&quot;177&quot; src=&quot;http://www.officemax.com/catalog/images/397x353/22432690i_01.jpg&quot; width=&quot;200&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
I have the LifeCam that records at 720p; very nice camera.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/3244276851521863695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2012/03/enable-webcam-access-on-websites-flash.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/3244276851521863695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/3244276851521863695'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2012/03/enable-webcam-access-on-websites-flash.html' title='Allow websites access to webcam on Ubuntu'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX30E1ND2Ra5rQMEVFlQjjigLu2Riey6lWHSNJ8OhOXRS4yUdn9Rdu4arGNwcCNqr-OP1P43_BmePGrFN_0B6OTpXDpC2ffh5Zzrk7-NxoEEZDOzhpwV1h64oYrFI0ByKVomVxmooO1YNX/s72-c/camera-settings.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-1696602433715789781</id><published>2012-01-10T06:29:00.000-05:00</published><updated>2015-06-21T23:27:24.048-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="email"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>Email template with PHP and MySQL</title><content type='html'>&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif; line-height: 18px; text-align: left;&quot;&gt;In this video I demonstrate how to read static HTML file that contains field names in curly brackets and replace them with values from a MySQL query field value and then send it to a customer.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif; line-height: 18px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Some time ago I was creating a website for a tour company. They wanted&amp;nbsp;Paypal&amp;nbsp;integration. I tested it on Sandbox and it all worked fine. After receiving confirmation from Paypal, a script proceeds to update the booking and set it as &lt;i&gt;paid &lt;/i&gt;and sends the customer an email (replacing field names with field values from the database).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #333333; font-family: Arial,Helvetica,sans-serif; line-height: 18px; text-align: left;&quot;&gt;For example:&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; line-height: 18px; text-align: left;&quot;&gt; &quot;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;,Courier,monospace; line-height: 18px; text-align: left;&quot;&gt;&lt;b&gt;Dear {customer}&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; line-height: 18px; text-align: left;&quot;&gt;&quot; &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Arial,Helvetica,sans-serif; line-height: 18px; text-align: left;&quot;&gt;would become&lt;/span&gt;&lt;span style=&quot;color: #333333; line-height: 18px; text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 18px; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace;&quot;&gt;&lt;b&gt;Dear Axel Torvalds&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif;&quot;&gt;&quot; (Swordfish anyone?).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/z4AygK9NHi8&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #93c47d; font-family: Arial,Helvetica,sans-serif;&quot;&gt;Video starts at 30 seconds. &amp;nbsp;Still, take a listen from the start.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #93c47d; font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #93c47d; font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;b&gt;Ideas&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Create a more detailed and nicer-looking email in spreadsheet software such as OpenOffice.org / LibreOffice and export it to HTML.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/1696602433715789781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2012/01/email-template-with-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/1696602433715789781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/1696602433715789781'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2012/01/email-template-with-php.html' title='Email template with PHP and MySQL'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/z4AygK9NHi8/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-5248938957091086266</id><published>2011-12-24T04:48:00.000-05:00</published><updated>2012-10-27T04:41:11.232-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="backup"/><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><title type='text'>Backup all MySQL databases in one step</title><content type='html'>&lt;div&gt;Here&#39;s a &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;nifty li&lt;/span&gt;ne of code that you can run to save a backup of all databases.&lt;br /&gt;
First you have to &lt;b&gt;cd &lt;/b&gt;to the directory you want the .sql.gz files saved.&lt;br /&gt;
&lt;br /&gt;
Begin code:&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: black; font-family: inherit;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt;for I in $(mysql -u user_name -p -e &#39;show databases&#39; -s --skip-column-names); do mysqldu&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt;mp -u&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt;&lt;span&gt;user_name&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt;&amp;nbsp;-p $I | gzip &amp;gt; &quot;$I.sql.gz&quot;; done&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;End code&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
At the prompt enter your MySQL password. Twice.&lt;br /&gt;
&lt;br /&gt;
You are served. Have a nice day.&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/5248938957091086266/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2011/12/backup-all-mysql-databases-in-one-step.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/5248938957091086266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/5248938957091086266'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2011/12/backup-all-mysql-databases-in-one-step.html' title='Backup all MySQL databases in one step'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6633820162357189469.post-3532753925623295572</id><published>2011-06-06T03:51:00.001-04:00</published><updated>2021-03-02T00:46:04.010-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dual-boot"/><category scheme="http://www.blogger.com/atom/ns#" term="free software"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="migrate"/><category scheme="http://www.blogger.com/atom/ns#" term="web develop"/><title type='text'>Adopting Linux</title><content type='html'>&lt;div style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNlLo4FqjyYFMUsWgQQQJZBXKHfvCIGgTuD4SAATRlc8kt8JU9ALHX6ioF9iow1RPSoAogyRKY1_PdFk7FqqE0tU6xjnIcjM630_MBd890uhitWH33xPMDoXBCWQcC1372-dYxmCTfAzCl/s1600/Screenshot-hector@hector-laptop:+%7E.png&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;265&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNlLo4FqjyYFMUsWgQQQJZBXKHfvCIGgTuD4SAATRlc8kt8JU9ALHX6ioF9iow1RPSoAogyRKY1_PdFk7FqqE0tU6xjnIcjM630_MBd890uhitWH33xPMDoXBCWQcC1372-dYxmCTfAzCl/s320/Screenshot-hector@hector-laptop:+%7E.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;, Arial, Helvetica, sans-serif;&quot;&gt;
&lt;br /&gt;
Not everybody makes the move to Linux in the first try. At least I didn&#39;t. I first tried back in version 7.04 of Ubuntu. Had to go back to MS WIN. Then 10.04 came along and I am using that version up to this day (June 2011).&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;h2&gt;



&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: small;&quot;&gt;Some history&lt;/span&gt;&lt;/h2&gt;
&lt;span face=&quot;Verdana,sans-serif&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;During my middle-school years in Honduras I signed up for a computer course. The basics were taught there. Formatting a floppy, creating files and folders, word-processor use, printing. I took an aptitude test and I scored high on computer-related fields.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;
Then came High-School. Things were different there. We had programming, network design and&amp;nbsp;&lt;/span&gt;analysis&lt;span style=&quot;font-size: 100%;&quot;&gt;, and informatics classes. FoxPro and Visual FoxPro were used in the first year. On the second year we switched to Visual Basic 6.0; did some database driven application with Crystal Reports integrated.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;
On that second year I came to the US for vacation/work for a month. Bought my first computer. An eMachines w/ 120GB HDD, Athlon XP processor. My stepbrother said that it was the best he had seen in the region so far. Anyway, I was allowed to take home my computer lab floppy. I was always ahead on the VB 6 project. Back in school I assisted my classmates with their program. The debugging I did at home helped us all, even the professor had a little more room to breathe.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;
I used to take my PC to school for presentations when the lab was in use. Even our graduation&#39;s &lt;/span&gt;&lt;i style=&quot;font-size: 100%;&quot;&gt;slide show&lt;/i&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; and music were played on that old computer. I still have that case at home. I re-purposed it with another motherboard since the original one fried when I tried to boot Linux from a separate hard drive. Hardware is not my &lt;/span&gt;&lt;i style=&quot;font-size: 100%;&quot;&gt;forte&lt;/i&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;
After graduating from HS in Honduras I moved to Miami. Supposedly to start college. I kept procrastinating and to this day (5 years later) I have yet to enroll.&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Update&lt;/b&gt;: I did enroll in ITT-Tech (2012 or so) and them suckers were shut down after I decided to drop out because the curriculum was no better than what I already knew. I am hoping to get the loans dropped due to the school pushing to get me to sign paperwork on tour day. Only in Miami.)&lt;br /&gt;
&lt;h2&gt;



&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: small;&quot;&gt;The switch&lt;/span&gt;&lt;/h2&gt;
&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;
I have moved on from desktop application programming as a hobby to web development. I have successfully made the switch from Mocosoft Windose to Ubuntu (Debian based). I am not much of a game enthusiast so portability is not an issue. Although I could use WINE or some other commercial alternative to run &lt;i&gt;.exe&#39;s&lt;/i&gt; on Ubuntu. Here&#39;s what I use on a daily basis when the need arises:&lt;/span&gt;&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;4&quot; cellspacing=&quot;0&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;104*&quot;&gt;&lt;/col&gt;  &lt;col width=&quot;152*&quot;&gt;&lt;/col&gt;  &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr valign=&quot;TOP&quot;&gt;   &lt;td width=&quot;41%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;Music&lt;/span&gt;&lt;/td&gt;   &lt;td width=&quot;59%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;Rhythmbox &lt;/span&gt;    &lt;/td&gt;  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;   &lt;td width=&quot;41%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;Word-processor&lt;/span&gt;&lt;/td&gt;   &lt;td width=&quot;59%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;OpenOffice.org Writer&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;   &lt;td width=&quot;41%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;Spreadsheet&lt;/span&gt;&lt;/td&gt;   &lt;td width=&quot;59%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;OpenOffice.org Spreadsheet&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;   &lt;td width=&quot;41%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;Web browsing&lt;/span&gt;&lt;/td&gt;   &lt;td width=&quot;59%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;Firefox&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;   &lt;td width=&quot;41%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;FTP client&lt;/span&gt;&lt;/td&gt;   &lt;td width=&quot;59%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;Filezilla&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;   &lt;td width=&quot;41%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;Email client&lt;/span&gt;&lt;/td&gt;   &lt;td width=&quot;59%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;Evolution&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;   &lt;td width=&quot;41%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;Simple text editor&lt;/span&gt;&lt;/td&gt;   &lt;td width=&quot;59%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;gedit&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;   &lt;td width=&quot;41%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;Video playback&lt;/span&gt;&lt;/td&gt;   &lt;td width=&quot;59%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;VLC&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;   &lt;td width=&quot;41%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;PHP, HTML coding&lt;/span&gt;&lt;/td&gt;   &lt;td width=&quot;59%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;Quanta Plus, Aptana&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr valign=&quot;TOP&quot;&gt;   &lt;td width=&quot;41%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;Web server&lt;/span&gt;&lt;/td&gt;   &lt;td width=&quot;59%&quot;&gt;&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;Apache&lt;/span&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span face=&quot;Verdana,sans-serif&quot; style=&quot;font-size: 100%;&quot;&gt;All this using FOSS – Free Open Source Software. Give Linux a try. I chose Ubuntu because it seemed easy to use. I have my eye on Fedora Core 14, seems to be well maintained. Perhaps one day I will contribute a few lines myself.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tinkerlinux.blogspot.com/feeds/3532753925623295572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tinkerlinux.blogspot.com/2011/06/adopting-linux.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/3532753925623295572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6633820162357189469/posts/default/3532753925623295572'/><link rel='alternate' type='text/html' href='http://tinkerlinux.blogspot.com/2011/06/adopting-linux.html' title='Adopting Linux'/><author><name>Mando</name><uri>http://www.blogger.com/profile/08073816503575292749</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNlLo4FqjyYFMUsWgQQQJZBXKHfvCIGgTuD4SAATRlc8kt8JU9ALHX6ioF9iow1RPSoAogyRKY1_PdFk7FqqE0tU6xjnIcjM630_MBd890uhitWH33xPMDoXBCWQcC1372-dYxmCTfAzCl/s1600/Screenshot-hector@hector-laptop:+%7E.png" height="72" width="72"/><thr:total>2</thr:total></entry></feed>