tag:blogger.com,1999:blog-145007542024-03-14T11:15:39.698-04:00Vernon's blogVernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.comBlogger262125tag:blogger.com,1999:blog-14500754.post-1244981211084560732021-05-24T15:53:00.001-04:002021-05-24T15:53:45.274-04:00How to Turn Off Google Assistant<p>Do you hate pop-ups like google assistant as much as I do?<br />I doubt it, but because I am willing to give you the benefit of the doubt, you get also get the following instructions for turning off the google assist garbage on your phone.<br /><br />Steps to turn off:<br /><br />0. Consider pruchasing one of <a href="https://e.foundation/">these phones</a> https://e.foundation/, and let me know if that works out for you. I am seriously considering it also. Google is getting too big for their britches.<br /><br />1. Pull down twice from the top of your phone, you should see this gear icon for the "settings" and click the gear icon</p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia2QbT4tx9D9LxHafZIbETkwUYvY5jpG9sSsqFANCGWhV9GMJkTdCbx8ztra_64UQaksLp8-3Qlt6DtW7rTzCOhypRitMidXv2V-K6a1_Fi34hFf-K9x1iMfqbvtxaAnA1yNZz/s1142/settings_01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1142" data-original-width="1024" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia2QbT4tx9D9LxHafZIbETkwUYvY5jpG9sSsqFANCGWhV9GMJkTdCbx8ztra_64UQaksLp8-3Qlt6DtW7rTzCOhypRitMidXv2V-K6a1_Fi34hFf-K9x1iMfqbvtxaAnA1yNZz/s320/settings_01.png" /></a></div><br /><br />2. Type "assistant" into the search settings bar at the top and click enter, then look for "Assistant Settings" in the list of results, and click it.<br /><p></p><br /><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvyFSzSyRRTxiIbhvz88lr5sJZqICMvnuuyfyd3gP1gkXPiZxxHr7PvE0Js72Q2hzw70HQ77QgG-XSvur4RAowUMF_VCleoND9tj90CDu6QwNwLdGO1ssCahOKPgq_ONITQ0bd/s1265/assisant_01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1265" data-original-width="1024" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvyFSzSyRRTxiIbhvz88lr5sJZqICMvnuuyfyd3gP1gkXPiZxxHr7PvE0Js72Q2hzw70HQ77QgG-XSvur4RAowUMF_VCleoND9tj90CDu6QwNwLdGO1ssCahOKPgq_ONITQ0bd/s320/assisant_01.png" /></a></div>3. You will get a looong list of options, scroll down to find the "General" option and click it.<p></p><p>4. You should see a screen like this where you can turn off the google assistant. Make sure it is grey like it is in this picture.</p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1NOtLbiTIoyC4ftxpuxmFF_tybcsdgaF8o2xuexyjAc_fbFDE9-n0sefwYmEvxEix6-SV-6rIYtNeOjfBcbXMMfSIfJTsACXjL7687kU3U-i6EXrO79zxT8NjY1CPnWdpsyFA/s1024/general_01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="967" data-original-width="1024" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1NOtLbiTIoyC4ftxpuxmFF_tybcsdgaF8o2xuexyjAc_fbFDE9-n0sefwYmEvxEix6-SV-6rIYtNeOjfBcbXMMfSIfJTsACXjL7687kU3U-i6EXrO79zxT8NjY1CPnWdpsyFA/s320/general_01.png" width="320" /></a></div><br /><br />You are welcome. And again, please let me know if you E phone works out instead of this fix, I would really like to know.<p></p><br /><p><br /></p><br />Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-63119599688340301462016-10-12T08:54:00.000-04:002016-10-12T09:07:56.938-04:00Skype drops connection within about 20 seconds of initiating a call on MacOSIs this happening to you? Well, I pain your feel! But do not worry, I figured it out. Simply kill Skype, remove your Skype application's user profile, and restart Skype. Then I was able to initiate a call over wifi, and it would not drop. Specifically, this is what I did to fix the issue:<br />
<pre>$ killall Skype
$ cd ~/Library/Application\ Support/
$ mv Skype ~/trash/Skype_01
$ mv Skype.app ~/trash/Skype.app_01</pre>
Then restarted Skype, and all was well with initiating calls.
Here were the symptoms of what I was experiencing:
<br />
<ol>
<li>If I initiated a call, it would drop within about 20 or 30 seconds of starting it. </li>
<li>If I was on a group call withe others, and I tried to share my screen ... it would silently fail and they would never see my screen share. </li>
<li>If someone else initiated the call, the call would procede normally, and it would not be dropped, so it makes you feel like you are the only one on the planet who ever sees this issue. </li>
<li>The problem crept in with a skype update within the last 6 months of 20161012, so some time after April of 2016. Installing Skype_7.37.178 did not help. </li>
<li>This was occurring on MacOS Yosemite and Sierra.</li>
<li>Originally had Skype_6.17.60.477 installed and let Skype update itself from there.</li>
</ol>
I tried everything, nothing helped. Here were some of the things that failed to solve the issue:<br />
<ol>
<li>Basically, following most advice <a href="https://community.skype.com/" target="_blank">on this web site</a> was useless.</li>
<li>Specifically, <a href="https://community.skype.com/t5/Windows-archive/Skype-calls-dropping-every-20-seconds/td-p/4239348" target="_blank">these</a> <a href="https://community.skype.com/t5/Windows-desktop-client/Skype-7-26-61-101-drops-calls-after-20-seconds-no-probems-before/td-p/4458272" target="_blank">posts</a> <a href="https://community.skype.com/t5/Mac/Constant-dropped-calls/td-p/446765" target="_blank">which</a> <a href="https://community.skype.com/t5/Windows-archive/Skype-dropping-calls-problem/td-p/1391181" target="_blank">came</a> <a href="https://community.skype.com/t5/Mac/Outgoing-Skype-calls-won-t-connect/td-p/3009450" target="_blank">up</a> <a href="https://community.skype.com/t5/iOS-archive/Dropped-Incoming-call-after-1-ring/td-p/685869" target="_blank">first</a> with google.</li>
<li>There was <a href="https://community.skype.com/t5/Windows-archive/Skype-will-drop-a-call-every-couple-of-minutes/td-p/3051944" target="_blank">this one post</a> which I found after solving the issue which seemed to have an answer which was close to solving the issue on MacOS, but I basically had to google the solution in order to find this.</li>
<li>Any posts which talked about adjusting Settings -> Energy Saver or using the "pmset" command to adjust power management settings or sleep settings ... these suggestions were useless.</li>
<li>Upgrading to MacOS Sierra did not help.</li>
</ol>
Hope that helps.<br />
<br />Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-24429593937465781512015-12-08T18:32:00.000-05:002015-12-08T18:39:36.594-05:00org.osgi.framework.BundleException: Unresolved constraint in bundle jaxb-apiIf you are getting this error message:
<blockquote>missing requirement [1.0] package; (package=javax.activation)</blockquote>
Do not worry, this is because you are unknowingly using the wrong version of Java to start glassfish.
Even though you think you are running glassfish with the version in your shell's environment, either via sudo or some other sub process, the environment is not your own, and it is attempting to run glassfish with a different version of java (probably a newer version of java).<br />
<br />
If you are running glassfish with sudo <a href="https://java.net/jira/browse/GLASSFISH-21343">because of this bug</a>,
try these possible workarounds instead of the suggested ones:<br />
<div style="width: 100%; overflow: auto;">
<div style="display:inline-block; white-space:nowrap;"><pre>JAVA_HOME=$JAVA_HOME ./asadmin start-domain --verbose=true domain1
sudo JAVA_HOME=$JAVA_HOME ./asadmin start-domain --verbose=true domain1</pre></div>
</div><br />
Hope that helps.<br />
<br />
And here is more of the original error message in case yours is similar:<br />
<div style="width: 100%; overflow: auto;">
<div style="display:inline-block; white-space:nowrap;"><pre>ERROR: Bundle jaxb-api [1]: Error starting file:/Users/apple/app_servers/oracle.com/glassfish-3.2-b07-05_12_2011.zip/glassfish3/glassfish/modules/endorsed/jaxb-api-osgi.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle jaxb-api [1]: Unable to resolve 1.0: missing requirement [1.0] package; (package=javax.activation))
org.osgi.framework.BundleException: Unresolved constraint in bundle jaxb-api [1]: Unable to resolve 1.0: missing requirement [1.0] package; (package=javax.activation)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:745)
ERROR: Bundle org.glassfish.metro.webservices-api-osgi [2]: Error starting file:/Users/apple/app_servers/oracle.com/glassfish-3.2-b07-05_12_2011.zip/glassfish3/glassfish/modules/endorsed/webservices-api-osgi.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.metro.webservices-api-osgi [2]: Unable to resolve 2.0: missing requirement [2.0] package; (&(package=javax.xml.bind)(version>=2.2.2)) [caused by: Unable to resolve 1.0: missing requirement [1.0] package; (package=javax.activation)])
org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.metro.webservices-api-osgi [2]: Unable to resolve 2.0: missing requirement [2.0] package; (&(package=javax.xml.bind)(version>=2.2.2)) [caused by: Unable to resolve 1.0: missing requirement [1.0] package; (package=javax.activation)]</pre></div>
</div>
Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-41071322320859613192015-11-10T21:49:00.000-05:002015-11-10T21:49:14.749-05:00Cannot find function addEventListener in object [object HTMLDocument]If you get this error, do not worry. The answer is not difficult to understand.
<pre>ANSWER:
do not initialize your HtmlUnit WebClient like this:
new WebClient();
instead, initialize it like this:
new WebClient(BrowserVersion.FIREFOX_38);</pre>
The default "browser" that the HtmlUnit WebClient gives you does not have some of the basic JavaScript functions available to call such as "addEventListener".<br />
<br />
See also: HtmlUnit issue tracker <a href="https://sourceforge.net/p/htmlunit/bugs/1615/">non-issue 1615</a>.Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-70968422222279905532015-09-23T10:10:00.001-04:002015-09-23T10:10:32.024-04:00None of the wicked shall understand, but those who are wise shall understand. -- Daniel 12;10<br />
<br />Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-74322400052888430022015-09-02T21:46:00.002-04:002015-09-02T21:49:52.454-04:00Xmas flowers<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF6cLoeo6VVh7r36ujBI7JY8hcLabVa3QS6htHVwp_wgsRDl5c4bbw3eMwlQDWhe6bsL-n_rYju2ezLwsfW5eIl_5W_FtoAbON68-Slsqi5zXWHDMlFyNkYB-lJtj4crzs74tQ/s1600/20141222_xmas_flowers.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF6cLoeo6VVh7r36ujBI7JY8hcLabVa3QS6htHVwp_wgsRDl5c4bbw3eMwlQDWhe6bsL-n_rYju2ezLwsfW5eIl_5W_FtoAbON68-Slsqi5zXWHDMlFyNkYB-lJtj4crzs74tQ/s320/20141222_xmas_flowers.jpg" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPTJhK9iyVhyphenhyphenXo1P-Fk1cR1HUoexbIrNR-vwHka753UN14ZEk7w2_PkFu7VIsct1XCNJJAZVlahiZr6H2x0Z-EJ0NF6mp-CHmp9uwCyqNRdbQAkLa-M7mOo-fJeXGfqNm8MEuy/s1600/20141222_her_flowers.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPTJhK9iyVhyphenhyphenXo1P-Fk1cR1HUoexbIrNR-vwHka753UN14ZEk7w2_PkFu7VIsct1XCNJJAZVlahiZr6H2x0Z-EJ0NF6mp-CHmp9uwCyqNRdbQAkLa-M7mOo-fJeXGfqNm8MEuy/s320/20141222_her_flowers.jpg" width="240" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-42491173454510245742015-07-03T08:29:00.000-04:002015-07-03T08:33:41.301-04:00Author: (no author) not defined in ../authors.txt fileIf you are using svn2git and get this error:
<blockquote>Author: (no author) not defined in ../authors.txt file</blockquote>
Do not worry. Simply add this line to your authors.txt file:
<blockquote>(no author) = no_author <no_author@yourdomain.com></blockquote>
Hope that helps.Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com1tag:blogger.com,1999:blog-14500754.post-87829161558019389272015-01-28T22:08:00.001-05:002015-01-28T22:10:32.342-05:00When compiling mojarra ... javac: invalid target release: 1.8If you go to compile mojarra, the JSF reference implementation, and get this error: javac: invalid target release: 1.8
Do not worry.
<br /><br />
It just means that you are trying to compile mojarra with an older version of java. Mojarra requires java 1.8 at least as of this blog post.
Just change your JAVA_HOME to point to a java 1.8+ version and try again.
<br /><br />
Hope that helps.
Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-55884932874497237822014-09-06T14:33:00.000-04:002015-04-25T11:27:30.605-04:00Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
If you get this error, do not worry:
<blockquote>Downloading: https://s3.amazonaws.com/Minecraft.Download/launcher/launcher.pack.lzma
Exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty</blockquote>
This just means that your ssl certs are not correct for the java version you have installed.
In my case I was also getting the following error:
<blockquote>$ ls -l /etc/ssl/certs/java/cacerts
ls: cannot access /etc/ssl/certs/java/cacerts: No such file or directory</blockquote>
So, this command fixed my issue:
<blockquote>scp -pr root@a_different_box_with_working_certs:/etc/ssl/certs/java/cacerts /etc/ssl/certs/java/.</blockquote>
Hope that helps you too.<br /><br />
This was found using the following version of java:
<blockquote>$ java -version<br />
openjdk version "1.8.0_20"
OpenJDK Runtime Environment (build 1.8.0_20-b23)
OpenJDK 64-Bit Server VM (build 25.20-b22, mixed mode)</blockquote>
Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-28765216307629446442014-01-31T01:07:00.002-05:002014-01-31T06:59:05.244-05:00Element is not currently visible and so may not be interacted with<a href="http://stackoverflow.com/questions/6101461/selenium-2-0-element-is-not-currently-visible" target="_blank">This page</a> was somewhat helpful, but did not mention the "transform" style needing to be checked. Then I found <a href="http://stackoverflow.com/questions/15618598/is-it-possible-to-interact-with-hidden-elements-with-capybara" target="_blank">this fellow using C# who mentioned</a> the transform value. When I put the two together I came up with this solution:<br />
<pre>((JavascriptExecutor)driver).executeScript(
"arguments[0].style.transform = 'none';",
myFavoriteElement
);</pre>
After setting transform = 'none', myFavoriteElement.sendKeys() did not fail with the infamous error:<br />
<pre>Element is not currently visible and so may not be interacted with(..)</pre>
So I guess we should add transform != 'none' to the list as follows:<br />
<ul>
<li>visibility != hidden</li>
<li>display != none (is also checked against every parent element)</li>
<li>opacity != 0 (in rc2 this is no longer checked for clicking an element)</li>
<li>height and width are both > 0</li>
<li>for an input, the attribute type != hidden</li>
<li><b><i>transform != 'none'</i></b></li>
</ul>
This issue was found using selenium.version = 2.35.0<br />
<br />
NOTE: myFavoriteElement was an input type=file generated by <a href="http://www.primefaces.org/showcase/ui/fileUploadMultiple.jsf">the PrimeFaces fileUpload tag</a>. PrimeFaces 4.0 looks like it introduced the transform. Also, when I checked to see what the transform value was before setting it to none, it logged: myFavoriteElement.getCssValue("transform") = matrix(4, 0, 0, 4, -300, 0).<br />
<br />
Hope that helps.<br />
<br />
Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-89617429671125727512013-08-17T13:54:00.000-04:002013-08-17T13:54:47.858-04:00Over 10 years of sitting down at work is now over.<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt9w5dnYYVdOt7OzWrsYJOSnNVASw-Oyg0QL-5Kx9HsIb-5GGo6H2mX9gYrQNSCBEzY5kWnuNIpfkJbaqI8sqoSZsguq8_T_1PBwX1oIZoVBoWkisHvp17VmR62abaSbc1baNe/s1600/standing_desk_02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt9w5dnYYVdOt7OzWrsYJOSnNVASw-Oyg0QL-5Kx9HsIb-5GGo6H2mX9gYrQNSCBEzY5kWnuNIpfkJbaqI8sqoSZsguq8_T_1PBwX1oIZoVBoWkisHvp17VmR62abaSbc1baNe/s320/standing_desk_02.png" width="240" /></a></div>
<br />Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-4995987960413395312013-03-10T22:06:00.002-04:002013-03-10T22:20:55.787-04:00Loan's Beautiful Thoughts<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5T3gln4XzHVFDiI1oL_Lkjbxg_cW8Ny4uTwN8MUPWPvTwsA6R-MEkqGxmKngW76JRWTX4jS7Lp01iClD6dMG6B6o-rzmuZSD8b7jWvMQyRBChw2zXPpxWqszSG6yoNmWXKNIx/s1600/yosemite_lower_falls.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Click to enlarge" border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5T3gln4XzHVFDiI1oL_Lkjbxg_cW8Ny4uTwN8MUPWPvTwsA6R-MEkqGxmKngW76JRWTX4jS7Lp01iClD6dMG6B6o-rzmuZSD8b7jWvMQyRBChw2zXPpxWqszSG6yoNmWXKNIx/s320/yosemite_lower_falls.png" title="Click to enlarge" width="316" /></a></div>
<br />
* Feeding children, and taking them out for fun is easy. But teaching children to know and to follow in righteousness is hard.
<br />
* Cho con ăn ngon thì dể, cho con đi chơi thật thú vị cũng dể. Nhưng dạy con biết và làm theo dúng phải thì khó.<br />
<br />
And from Billy Graham:<br />
* Pleasures are the things that appeal to our flesh and to our lust. But joy is something else. Joy runs deep.<br />
* Vui thích là điều xuất phát trong xác thịt và tình dục. Nhưng vui mừng thì khác hẵn. Vui mừng thật sâu đậm.<br />
<br />
You can find more inspiration from Loan's musings and some of her favorite quotes <a href="http://lightcloud.verns.net/mediawiki/index.php/Beautiful_Thoughts" target="_blank">here in English</a>, and <a href="http://lightcloud.verns.net/mediawiki/index.php/L%E1%BB%9Di_Hay_%C3%9D_%C4%90%E1%BA%B9p" target="_blank">here in Vietnamese</a>.<br />
<br />
In Him.<br />
Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-27606492415479203322013-03-08T10:20:00.001-05:002013-03-08T10:21:08.938-05:00Gnome3 Terminal does not execute my .bash_profileIf you have ever had this issue where changes to your .bash_profile do not take effect the next time you launch the gnome-terminal. Well, do not worry. Just open the gnome-terminal and go to Edit -> Profile Preferences _> Title and Command (tab), and you will see this:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglKHsRJizhtFhfHlgHiVfkKzkMhB020vX4TlAS8IW9ue14fwS4pyuOtMqbra9BnLnmRVhBgu0OuR01vxRBYU8J4Hp_26M_lkCXR8pT6A4Pnd-iVRIFuRaiiNx9SWz3oSmiituX/s1600/gnome3_terminal_issue.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Click to enlarge" border="0" height="254" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglKHsRJizhtFhfHlgHiVfkKzkMhB020vX4TlAS8IW9ue14fwS4pyuOtMqbra9BnLnmRVhBgu0OuR01vxRBYU8J4Hp_26M_lkCXR8pT6A4Pnd-iVRIFuRaiiNx9SWz3oSmiituX/s320/gnome3_terminal_issue.png" title="Click to enlarge" width="320" /></a></div>
<br />
Make sure that the "Run commnad as a login shell" is checked. Then close, and close the terminal, and relaunch gnome-terminal, and you should see that your .bash_profile has been executed.<br />
<br />
Hope that helps.<br />
<br />Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-69375452258624497492013-03-05T12:12:00.000-05:002013-03-05T12:17:08.169-05:00SOLUTION: fatal: Couldn't find remote ref {Branch} Unexpected end of command stream<b>Symptoms:</b> You issue a command and get the error like this:<br />
<br />
<pre><b><span style="font-size: small;">$ git pull --rebase upstream a_branch_that_we_KNOW_is_there
fatal: Couldn't find remote ref a_branch_that_we_KNOW_is_there
Unexpected end of command stream</span></b></pre>
<br />
<b>Assumptions:</b><br />
1) the name of your remote repository is "upstream" <br />
2) the branch you are pulling from is called "a_branch_that_we_KNOW_is_there"<br />
<br />
There may be many ways to get this kind of error, but I suspect that I am not the only one who will get caught by this time wasting variant.<br />
<br />
<b>Reason:</b> The reason you are getting the error is because the branch DOES exist at the correct repository, but you have requested a pull or fetch from the wrong repository. And that branch name does NOT exist in the repo that you have requested a pull or fetch from.<br />
<br />
<b>How is that possible?</b><br />
<br />
<b>Cause:</b> You may have accidentally added a remote name that points to the wrong git repository.<br />
<br />
You can check the repository that your remote points to this way:<br />
<pre><b>$ git remote show upstream
* remote upstream
Fetch URL: https://github.com/</b><b><b>pkg</b>/</b><b><b>pkg</b>-module.git
Push URL: https://github.com/</b><b><b>pkg</b>/</b><b><b>pkg</b>-module.git
HEAD branch: master
Remote branches:
some_other_branch_that_we_do_not_expect tracked
master tracked
Local ref configured for 'git push':
master pushes to master (local out of date)</b></pre>
<br />
Or maybe this way:<br />
<pre><b>$ git config --list | grep upstream
remote.upstream.url=https://github.com/</b><b>pkg/</b><b>pkg-module.git
remote.upstream.fetch=+refs/heads/*:refs/remotes/upstream/*</b></pre>
<br />
Either way, check very carefully that the Fetch URL is correct. If you are silly like we are and have several modules in the same package, you may not have noticed the rogue:<br />
<br />
<pre>git remote add upstream https://github.com/pkg/pkg-<b>modul<span style="font-size: large;">e</span></b>.git</pre>
<br />
instead of the correct git repository:<br />
<br />
<pre>git remote add upstream https://github.com/pkg/pkg-<b>modul<span style="font-size: large;">o</span></b>.git</pre>
<br />
Easy to miss something like this, if you ask me.<br />
<br />
<b>Solution:</b> remove the name of the remote that points to the wrong repo, and re-add the name back so that it points to the correct git repository. Assuming your remote alias name is "upstream", you can fix that like this:<br />
<br />
<pre><b>$ git remote rm upstream
$ git remote add upstream https://github.com/pkg/</b><b><b>pkg</b>-modulo.git</b>
</pre>
<br />
Now Your pull command should work successfully. But just in case, here is yet another way to check to make sure:<br />
<br />
<pre><b>$ git ls-remote | grep a_branch_that_we_KNOW_is_there
From https://github.com/</b><b><b>pkg</b>/</b><b><b>pkg</b>-modulo.git
934a29d142efda2f40efced8a2126c5499162e03 refs/heads/a_branch_that_we_KNOW_is_there</b>
</pre>
<br />
Hope that helps.Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-11355505074404101522013-02-22T08:50:00.001-05:002013-02-24T08:49:10.787-05:00sort find results by date and time<br class="tr_bq" />
Have you ever wanted to find all the files below your current directory and sort them by thier last modification time? Try this:<br />
<blockquote>
find . -printf "%T+\t%p\n" | sort</blockquote>
Here is the breakdown:<br />
<br />
<b>%T</b> is file's last modification time in the format specified by k, which is the same as for %A. By the way, %A could be used to sort by access times instead of modification times.<br />
<br />
<b>+</b> means render the date and time, separated by "+", for example "2013-02-22+08:19:06.3877437110".<br />
<br />
<b>\t</b> is a tab character<br />
<br />
<b>%p</b> is the file name<br />
<br />
All of this information and more might be gleaned by typing "man find" and searching for the section describing "printf" and its options.<br />
<br />
Hope that helps.<br />
<br />
Please help us learn how to do this on a mac (or windows) on the command line without a 20 minute mac ports install.<br />
<br />Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com1tag:blogger.com,1999:blog-14500754.post-28913978089117327202013-02-02T22:03:00.002-05:002013-02-02T22:04:05.531-05:00Fun family pictures<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
Hello sushi!</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDRu95z2kEAAE3D9yhNfpsLCrgslkm1CT5xqgLUZ82EPrO7tGhTMuUvO8ZKoz7CkRrkhN4EC66JUNsulu5cczbIOaUXSriFzXIqyVKZ4qiL1yzKvBHmjwPjIJ6OjhudlHubShY/s1600/IMG-20110702-00075_mommy_kara_sushi.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDRu95z2kEAAE3D9yhNfpsLCrgslkm1CT5xqgLUZ82EPrO7tGhTMuUvO8ZKoz7CkRrkhN4EC66JUNsulu5cczbIOaUXSriFzXIqyVKZ4qiL1yzKvBHmjwPjIJ6OjhudlHubShY/s320/IMG-20110702-00075_mommy_kara_sushi.jpg" width="320" /> </a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
Hello flowers ... peek - a - boo!</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcTVffOlPQIMfeM-D6vwBocq7mxWc1Xof3Gh3xh3dRHEyXZ5H1ViUhTrTPC9q7lk2IR8NQXGUMybLenhwxDoN7hI2Gwc3iznbW77vISBiKrk3Ja6P9xFAsBWzpF1OEIvhEkGsz/s1600/IMG-20120303-00090_cutie_cutie.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcTVffOlPQIMfeM-D6vwBocq7mxWc1Xof3Gh3xh3dRHEyXZ5H1ViUhTrTPC9q7lk2IR8NQXGUMybLenhwxDoN7hI2Gwc3iznbW77vISBiKrk3Ja6P9xFAsBWzpF1OEIvhEkGsz/s320/IMG-20120303-00090_cutie_cutie.jpg" width="320" /> </a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
Looks delicious. </div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha7Fr6oWQOjx8WT4tlQr0LsbQSKVZWGMSA6xPLX5JLj5LGl7Q3KnMKLo4vdF8cluiA3jMNSeuHOzV2H1S4RQrnMxncqAHZT-vOwUfp92SAQC4m5qInyframzLMMTq2lcWRRgP-/s1600/IMG-20110702-00078.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha7Fr6oWQOjx8WT4tlQr0LsbQSKVZWGMSA6xPLX5JLj5LGl7Q3KnMKLo4vdF8cluiA3jMNSeuHOzV2H1S4RQrnMxncqAHZT-vOwUfp92SAQC4m5qInyframzLMMTq2lcWRRgP-/s320/IMG-20110702-00078.jpg" width="320" /> </a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
Froggy </div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji1wtPqnbD3Y7kHJ0Ugj2ahyEykhYkWcEGirp3fgXv4Y5lbs6fPmyojhvK3g8KWa5_OS1Y6TGYEXimwhimcJfwoH2tZP4CcpzStM8CYIQ_uZ18KEzp8Y9xNRN4_KkvRB5L5_WV/s1600/IMG-20120406-00105_frog.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji1wtPqnbD3Y7kHJ0Ugj2ahyEykhYkWcEGirp3fgXv4Y5lbs6fPmyojhvK3g8KWa5_OS1Y6TGYEXimwhimcJfwoH2tZP4CcpzStM8CYIQ_uZ18KEzp8Y9xNRN4_KkvRB5L5_WV/s320/IMG-20120406-00105_frog.jpg" width="320" /> </a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
Uh ... mazing Korean food in Diamond Bar, CA.</div>
<div class="separator" style="clear: both; text-align: center;">
Young Dong Tofu. Try their Bipp n' bopp! </div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3GpJxny1uWpY7rfJzW8zAdzXRINA7r4jhrF4Do6izV8FDz9LncXxgF1qlHW2IUwb3jWL0qDlVbyuwbZEEc0nv0R4BZD-UIFGvGX4_GgXmc7lUg_SZJAUHjRHukr2y7QhQm4e1/s1600/IMG-20130128-00003_uh_mazing_food.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3GpJxny1uWpY7rfJzW8zAdzXRINA7r4jhrF4Do6izV8FDz9LncXxgF1qlHW2IUwb3jWL0qDlVbyuwbZEEc0nv0R4BZD-UIFGvGX4_GgXmc7lUg_SZJAUHjRHukr2y7QhQm4e1/s320/IMG-20130128-00003_uh_mazing_food.jpg" width="320" /> </a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
Bipp n' Bopp in the lower left stone bowl ... yummmm. </div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpzCfd_K-8kiRZ3jEoOe9F4oe2QK-dn5tv2NdYGn12-sAuN2E4OfxdOmWtr4bDgc4TZ7nxWLnozWa2RHx0vDNrWfAIMnMaacHXSAFtxe1i8g1swvy4ZOejfMa_0qKuU3QaJ1h0/s1600/IMG-20130128-00002_bipp_n_bopp.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpzCfd_K-8kiRZ3jEoOe9F4oe2QK-dn5tv2NdYGn12-sAuN2E4OfxdOmWtr4bDgc4TZ7nxWLnozWa2RHx0vDNrWfAIMnMaacHXSAFtxe1i8g1swvy4ZOejfMa_0qKuU3QaJ1h0/s320/IMG-20130128-00002_bipp_n_bopp.jpg" width="240" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_dQM-8IRRhbYCvdlxSZHK9_6cQP2ekJuE1j8UBAz4Tvz_zLpdsGa0SjErQl2hYl7R_Htk5YbBivmb5dHfk_XHjSTlHk96W9SuFaii194e-Wc6eBNNokLJFTnP0lVtH-dkpQRt/s1600/IMG-20120313-00098_cuties.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_dQM-8IRRhbYCvdlxSZHK9_6cQP2ekJuE1j8UBAz4Tvz_zLpdsGa0SjErQl2hYl7R_Htk5YbBivmb5dHfk_XHjSTlHk96W9SuFaii194e-Wc6eBNNokLJFTnP0lVtH-dkpQRt/s320/IMG-20120313-00098_cuties.jpg" width="320" /> </a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
Good-bye :-) </div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNG6CNQB36pjKFzjXPh__8W58lyELIx9Sgrw2Bg8usFXyHj4hzhcMP2bUYm1c5kJ5e1nU0yny2mT6GCfqiq_tqqzgiBe8mF1Rps0qHyBtPP3SiDPAmk4U33S128JcmO84_rN7I/s1600/IMG-20111211-00053_ao_dai.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNG6CNQB36pjKFzjXPh__8W58lyELIx9Sgrw2Bg8usFXyHj4hzhcMP2bUYm1c5kJ5e1nU0yny2mT6GCfqiq_tqqzgiBe8mF1Rps0qHyBtPP3SiDPAmk4U33S128JcmO84_rN7I/s320/IMG-20111211-00053_ao_dai.jpg" width="320" /> </a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
Hmm. </div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7XbJZekvZgDIYbKKwjSLApjxV2TS6foztrIwgqsoVrIVZbDYY_zElB0nXrlSaNeSfrnkm2gfJP3SG6UiRgGXlg7F9EseufsunAUsJRC_uwOpPQdTo5yy_omGQKaEIV0KzaNYw/s1600/IMG-20121206-00175_valarie.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7XbJZekvZgDIYbKKwjSLApjxV2TS6foztrIwgqsoVrIVZbDYY_zElB0nXrlSaNeSfrnkm2gfJP3SG6UiRgGXlg7F9EseufsunAUsJRC_uwOpPQdTo5yy_omGQKaEIV0KzaNYw/s320/IMG-20121206-00175_valarie.jpg" width="320" /></a></div>
<br />
<br />Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-24914712146297752932013-01-30T21:46:00.000-05:002013-01-30T21:49:12.957-05:00Dashes or other special characters "confuse" Spotlight on mac osx ...Have you been trying to figure out why spotlight cannot find a file with a dash in the name? How much time have you wasted wondering about this? Well, look no further. If your problem is something like this:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAl8pCmPeuFLjIroxMSoJsNHCelkgfRX2loCEGcUZd3AM51B1brKHNHf6au7T5dWyDrijaez7PP89iyhhDceb7sAfQsXhGANfx0zOzzJKEQDQ8j0fF218rJDon5i6Hs6XRJ8Nh/s1600/Screen+Shot+2013-01-30+at+6.30.32+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="64" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAl8pCmPeuFLjIroxMSoJsNHCelkgfRX2loCEGcUZd3AM51B1brKHNHf6au7T5dWyDrijaez7PP89iyhhDceb7sAfQsXhGANfx0zOzzJKEQDQ8j0fF218rJDon5i6Hs6XRJ8Nh/s320/Screen+Shot+2013-01-30+at+6.30.32+PM.png" width="320" /></a></div>
You know that there is a file on your mac called "something-book.pdf", so like an idiot, thinking that Spotlight will be friendly, you type what you know, -book.pdf, into Spotlight, and the "Top Hit" is "App Store" ... sigh. You _know_ that the file is there somewhere! But where is it? Well, simply try this:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-YcGyXN78xG9SzmXp-EN3HamZu9MTEgeHQHDBiIYVtSKjDlqORbbZdRxZvrgJKRq7TeLzrKZsIATcUrsEnJDJLqlPqp03wlwrWLsN9zXxBMnkE42NvcgcUCE9Lm5YdZQXw0mM/s1600/Screen+Shot+2013-01-30+at+6.31.13+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="67" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-YcGyXN78xG9SzmXp-EN3HamZu9MTEgeHQHDBiIYVtSKjDlqORbbZdRxZvrgJKRq7TeLzrKZsIATcUrsEnJDJLqlPqp03wlwrWLsN9zXxBMnkE42NvcgcUCE9Lm5YdZQXw0mM/s320/Screen+Shot+2013-01-30+at+6.31.13+PM.png" width="320" /></a></div>
<h3>
<b>Solution: Put the fragment of the filename in quotes, and viola, there is your file. </b></h3>
<br />
Why should you have to put it in quotes you ask? Why wouldn't it automatically default to putting everything in quotes itself, you ask? Why isn't it more user friendly? Well the answer is apparently embedded in the logic sourced in <a href="http://developer.apple.com/library/mac/#documentation/Carbon/Conceptual/SpotlightQuery/Concepts/QueryFormat.html" target="_blank">this document</a>.<br />
<br />
http://developer.apple.com/library/mac/#documentation/Carbon/Conceptual/SpotlightQuery/Concepts/QueryFormat.html<br />
<br />
Let me know, when you have memorized that document, and can explain this is layman's terms. Until then, let's see if you and I are the only two people who have ever experienced any issue with Spotlight. The comments (or lack thereof) should be very telling.<br />
<br />
Hope that helps.<br />
<br />Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com1tag:blogger.com,1999:blog-14500754.post-20848429604118854032013-01-22T20:00:00.000-05:002013-01-30T21:50:51.219-05:00Our last visit to the Magic Kingdom<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEich6IWMiHQdudVB_YC_VYtPOuquDu2yWUx9XeDoC4YDq5ILQTKLXEYWNWwko3q-6X-SqN2FyL_1E0UBkD3yCkdzN6qGOgSHXrVmi4ft0EyIMgViZcHIVrbrbGWWQyGkVyyHomU/s1600/57ede33e-7387-434a-9103-a14e0145794d_whole.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEich6IWMiHQdudVB_YC_VYtPOuquDu2yWUx9XeDoC4YDq5ILQTKLXEYWNWwko3q-6X-SqN2FyL_1E0UBkD3yCkdzN6qGOgSHXrVmi4ft0EyIMgViZcHIVrbrbGWWQyGkVyyHomU/s320/57ede33e-7387-434a-9103-a14e0145794d_whole.jpg" width="320" /></a></div>
<br />Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-12544794657283228442013-01-06T09:26:00.002-05:002013-01-30T21:48:19.787-05:00New post ... old picture<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsmos3FY1TF2dpcSl9jsCuSs5CFjV3xIoY3dovLlWrFJ-jWZE_YVy13F0teyRjWIYLCz1SwavAob9muM3V-qc1KAaJegHtv204IQtxXu7zia3ITsnQAe24L5tQSHoKvzFBn5Kz/s1600/moms_20071225_600x400.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsmos3FY1TF2dpcSl9jsCuSs5CFjV3xIoY3dovLlWrFJ-jWZE_YVy13F0teyRjWIYLCz1SwavAob9muM3V-qc1KAaJegHtv204IQtxXu7zia3ITsnQAe24L5tQSHoKvzFBn5Kz/s320/moms_20071225_600x400.png" width="320" /></a></div>
<div style="text-align: center;">
It's always fun to find great older pictures.</div>
Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com2tag:blogger.com,1999:blog-14500754.post-53836384303496798192012-11-04T23:43:00.000-05:002013-01-30T21:49:40.788-05:00The Adobe Flash plugin has crashed. Or plugin-container: Fatal IO errHave you been seeing this?or 11 (Resource temporarily unavailable) on X serverHave you been seeing this?<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqMqjh-koC4pppdWnvDuX3_FEQzG1mns1smYLkVQ1WhY5BfMdY2a9FE4DpIIt8Y6mGGM8gjjYql0xvnOaybVbSKdcqKRhTlQ1TwW0nRQwSDLtzDJG3aAZnRLi6z1U4WqigaG2H/s1600/adobe_crashed.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqMqjh-koC4pppdWnvDuX3_FEQzG1mns1smYLkVQ1WhY5BfMdY2a9FE4DpIIt8Y6mGGM8gjjYql0xvnOaybVbSKdcqKRhTlQ1TwW0nRQwSDLtzDJG3aAZnRLi6z1U4WqigaG2H/s1600/adobe_crashed.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOe_Jveluz9kAPUH8d3lcEnxdrOuAeL6gQG7KIMwmFTLbhKcJJODAqziEnT4xmKHGocn2_pqFudXQRaTFP9dGszMCe989_C4a2Z6v0VvqqZE3RsgEIZg58g1BnN3nGBhRuPB3I/s1600/adobe_crashed.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
Or especially if you have been getting this error:<br />
<blockquote class="tr_bq">
plugin-container: Fatal IO error 11 (Resource temporarily unavailable) on X server</blockquote>
Well no worries, here is the solution for your problem.<br />
<br />
You probably have a file that looks like this:<br />
<br />
# cat /etc/adobe/mms.cfg<br />
#Hardware video decoding<br />
EnableLinuxHWVideoDecode=1<br />
<br />
Just edit the file to look like this:<br />
<br />
# cat /etc/adobe/mms.cfg<br />
#Hardware video decoding<br />
OverrideGPUValidation=false<br />
EnableLinuxHWVideoDecode=0<br />
<br />
Your problem is solved.<br />
<br />
Hope that helps.<br />
<br />Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com3tag:blogger.com,1999:blog-14500754.post-78085170936008039062012-09-01T18:07:00.002-04:002013-01-30T21:50:15.721-05:00mount: unknown filesystem type 'udf'Did you get this error?<br />
<br />
<blockquote class="tr_bq">
mount: unknown filesystem type 'udf'</blockquote>
<br />
Well, you probably just updated your kernel and forgot to reboot like i did. Just reboot and try again. Hope that helps.<br />
<br />
<br />Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-76920588847391394312012-03-18T19:05:00.003-04:002012-03-19T10:00:43.290-04:00Planet M.U.L.E. Error MuleException liblwjgl.so wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilLoF-KYr9ggZqCUJZDY39S1uaUYt-ux4f8xd9Qz-KxE5Ua_gPyXmUArVWjPoicMhW71FSvEA31QuQFsrWYuJHcRhgKyE6SmlHCFkaa0kNNfsqehT4hnq-j5CGnnhmyNRDwI5C/s1600/mule_error_01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="171" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilLoF-KYr9ggZqCUJZDY39S1uaUYt-ux4f8xd9Qz-KxE5Ua_gPyXmUArVWjPoicMhW71FSvEA31QuQFsrWYuJHcRhgKyE6SmlHCFkaa0kNNfsqehT4hnq-j5CGnnhmyNRDwI5C/s400/mule_error_01.png" width="400" /></a></div>
<br />
Have you ever gotten an error like this?
<br />
<br />
Planet M.U.L.E. Error<br />
MuleException<br />
<pre>/home/geek/mule/data/lib/liblwjgl.so:
wrong ELF class: ELFCLASS32 (Possible cause:
architecture word width mismatch)
Please run mule.sh to start the game.</pre>
<br />
Well, do not worry, here is the solution. The reason you are getting this error is that mule.sh is trying to use a 32 bit library instead of a 64 bit library like your machine probably requires. I got this error when launching the game <a href="http://www.planetmule.com/" target="_blank">M.U.L.E.</a> for the first time on a 64 bit linux box. The only thing you need to do to fix this error is change the LD_LIBRAY_PATH in your mule.sh file as follows.<br />
<br />
<pre>The old line looked like this:
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
so change it to:
export LD_LIBRARY_PATH=.:/usr/lib/jvm/java-7-openjdk/jre/lib/amd64</pre>
<br />
Your library path may be different. In order to find what LD_LIBRARY_PATH to change to, I ran the following command:<br />
$ locate jre/lib | grep 64<br />
<br />
This assumes that you have recently run the updatedb command, and have the openjdk installed, but it shows all of the files in the java runtime library that mule needs. Your java runtime library may be on a different path.<br />
<br />
Hope that helps.<br />
<br />
<br />Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com1tag:blogger.com,1999:blog-14500754.post-83663271702165384682012-03-08T01:29:00.000-05:002012-03-14T09:24:00.018-04:00Block anonymous users from seeing media wiki historyIt looks like a patch to the install will be necessary for making it such that anonymous users do not get to see histories. And while the <a href="http://www.mediawiki.org/wiki/Manual:Preventing_access#Other_restrictions">Other restrictions</a> section of the mediawiki page, as of today, confirms this fact, that page does not make it clear how to actually prevent histories from showing up for anonymous users.<br />
<br />
But have no fear, as of mediawiki 1.18.1, the following easy changes to two files have worked pretty well for me at preventing casual anonymous users from seeing the histories of pages:
<br />
<br />
1) Change the beginning of the history function in the includes/HistoryPage.php file so that it looks like this:
<br />
<pre style="line-height: 1.2em;">function history() {
global $wgOut, $wgRequest, $wgScript, $wgUser;
if ( ! $wgUser->isAllowed('edit') ) {
$wgOut->addWikiMsg( 'nohistory' );
wfProfileOut( __METHOD__ );
return;
}
</pre>
<br />
2) Change the beginning of the insertDiffHist function in the includes/ChangesList.php file so that it looks like this:
<br />
<pre style="line-height: 1.2em;">public function insertDiffHist( &$s, &$rc, $unpatrolled ) {
global $wgUser;
if ( ! $wgUser->isAllowed('edit') ) {
return null;
}
</pre>
This should prevent anonymous users from being able to see the histories of pages. For bonus points in the comments, let us know how badly this will affect our search engine rankings.
<br />
<br />
Enjoy.Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com1tag:blogger.com,1999:blog-14500754.post-68958948499912389562012-02-04T00:59:00.003-05:002012-02-16T10:58:04.970-05:00Error for wireless request "Set Encode" (8B2A) : SET failed on device wlan0 ; Invalid argument.Have you gotten an error like this?<br /><pre>Error for wireless request "Set Encode" (8B2A) :<br /> SET failed on device wlan0 ; Invalid argument.</pre>Do not worry. This is the error you will get when you specify the wrong WEP key with the iwconfig command.<br /><br />Just go back and make sure you have the correct key entered for the extended service set identifier (ESSID) you are trying to connect to.<br /><br />Cheers.Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com0tag:blogger.com,1999:blog-14500754.post-33147771077455923142011-10-05T23:31:00.022-04:002011-11-15T15:31:02.920-05:00Using the Places module (or Gadget) in e17 or enlightenmentApparently the new version of the <a href="http://www.enlightenment.org/">enlightenment</a> window manager (called e17 as of now) trys to use udisks instead of hal. But some of the modules, such as Places, have not been updated to use udisks yet.<br /><br />So, if you load the "Places" module, and then add the Places gadget to, say, your bottom shelf in enlightenment, it may look something like this:<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV-sBHL3xTjX-TKP6kMyAs_qtaH5PQgLz1CG4rkHwMJHEOp7cBvkcm4cUzGGRFrVnM1JFrULYBaYHE-wMwK9EDpyNRr77pyidzV6Y4zWKCC2VXO0TQOqihIajJz-9HbEfNsFk7/s1600/without_hal.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 303px; height: 72px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV-sBHL3xTjX-TKP6kMyAs_qtaH5PQgLz1CG4rkHwMJHEOp7cBvkcm4cUzGGRFrVnM1JFrULYBaYHE-wMwK9EDpyNRr77pyidzV6Y4zWKCC2VXO0TQOqihIajJz-9HbEfNsFk7/s400/without_hal.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5660217521835943442" /></a>So it just shows a blank grey area with no Gadget in it. Not to mention that if you plug a usb device in, the Places module will not detect it. So in order to fix this, I did this:<br /><h2>Solution</h2><pre>1) installed the hal daemon from <a href="http://www.freedesktop.org/wiki/Software/hal">here</a>.<br /> a) if you are using archlinux, <br /> first install <a href="http://aur.archlinux.org/packages.php?ID=44921">cower</a> from the AUR, and then ...<br /> b) cower -d -d hal-git<br /> c) make dependencies first if needed<br /> I only needed hal-info I think<br /> d) cd hal-git<br /> d) makepkg -s<br /> e) sudo pacman -U hal-git-someDateYouBuiltIt-1-x86_64.pkg.tar.xz<br />2) Then start the hal daemon<br /> For archlinux users, probably # /etc/rc.d/hal start<br />3) removed the old Places gadget from my shelf<br /> right click the Places gadget <br /> (which is just a blank area) -> Gedget Places -> Remove<br />4) unloaded the Places module<br /> left click desktop -> settings -> modules -> Places -> unload<br />5) restarted enlightenment <br /> left click desktop -> enlightenment -> restart<br />6) reloaded the Places module <br /> left click desktop -> settings -> modules -> Places -> load<br />7) added the Places gadget to my shelf <br /> left click shelf -> settings -> gadgets -> Places -> add gadget<br />8) plugged in a usb camera ...<br /> watched it appear as a new device on the shelf ...<br /> inside the Places gadget ... Yay!<br />9) Right Click Places -> Gadget Places -> Move to -> Desktop<br /></pre><br />My Places gadget on the desktop now looks like this with a camera plugged into a usb port:<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_BXHn_ITmkrpLYba08nYwO8StIitCBpjyoPKLbvNSFF-N78ECiR0PWwMLEuqyM6KXYOK26KQVtWdh2gVM_z1mPFbrYTpgkMuk43Paz5RweS70F7aFKJMk12HkDB8IE16GfslA/s1600/with_hal.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 243px; height: 84px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_BXHn_ITmkrpLYba08nYwO8StIitCBpjyoPKLbvNSFF-N78ECiR0PWwMLEuqyM6KXYOK26KQVtWdh2gVM_z1mPFbrYTpgkMuk43Paz5RweS70F7aFKJMk12HkDB8IE16GfslA/s400/with_hal.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5660221604397965426" /></a>And when I click on it, it opens a file manager, and shows me the files on my camera ... imagine that. Hope this blog post helps get the Places module working on your desktop.Vernon Singletonhttp://www.blogger.com/profile/09612077916175875470noreply@blogger.com3