TinyURL widget - shorten your URL's for free!

Enter a long URL to make tiny:

Sunday, December 28, 2014

How to mount TV mount

Ok, I am no professional  but I've now installed a TV mount on three walls and no wall has fallen down yet. Nor TV. So here are my tips.

The first tip is don't let your wife make you move an installed TV.  My wife thought nothing of asking me to replace and move an already mounted TV.  In less time than it took her to come up with that, I figured out that would mean moving three TVs: take down one, install two, reinstall one.  No thanks. If you need a better excuse here's a real good one: these brackets are designed to be installed: once.  There is no guarantee the bolts will all work as designed if you replace them.  Mounting bolts most importantly.  You're looking at $30 in replacement bolts.

So my motto is new wall, new mount.

1. Wait till it goes on sale! This paid for the mounting bracket.



2. The most important part is not the brackets clamped onto the TV, it's making sure that the mounting screws are in dead centre of the 2 inch stud.  The fact is you're better off digging into the drywall to make certain that's right.  You don't want the TV falling if a screw gives way.  The drywall holes don't matter because the metal brackets cover it over. Use the stud finder to narrow down the studs, move left and right for the edges.

Once I get close and mark the outer edge of the stud I dig into the drywall.

I use a 1/2 inch drill bit to bore out the hole. It stops at the stud. You can see the full stud that way to make sure you are in the middle. If the hole is off centre I move the pilot screw over.


They tell you to hand crank the bolts and use soap to reduce friction. Use a smaller 3 inch screw to make a pilot hole. You see my stud finder marks and the pilot hole. The screw will go into the center of the stud thanks to a guide path.





























2. Plan for expansion when you mount it.




I found the marks for six mounting screws aligned for a larger TV. I used the rightmost two rows. You won't see the third row behind that TV and you can use it for extra mounting of shelves if you need it. You can shift the TV over to the centre.

3. They tell you to hand screw them in, but that will lead to more friction and you might wreck your work.



I use a ratchet to work in the guide hole. If the screw is not solid within 10 turns you don't have it centred in the stud or you are driving it crooked. Remove and dig into drywall more.

Then I remove the bolts to place the mounting bracket.

4. Get a kid to help hold it in place. Wives want to be the supervisor and tell you you're doing it wrong.  Kids just want to help and they are happy to hold it.


 Your prepositioned holes will make the first two go in smoother.  Take turns on the bolts. This reduces friction that might heat the bolt, switch bolts after half an inch to let them cool down. The ratchet makes it easy to snug them up to the bracket.

5. Don't worry about position until you are almost ready to snug them.


6.   You should be at this stage now.





7. Use vice grips with the screwdriver to mate bolts and nuts.  The metal they use is the bare minimum for weight, so the screw heads strip easily. I use the vice grip on the nut end to tighten not the screwdriver so it doesn't strip them as much.




8.Get that helper again and mount the TV. Turn it on before you throw anything away. Let the family clean it up, you've earned a break!


9.  Now you are ready to enjoy it.










Friday, November 14, 2014

How to include SVG graphics in latex compiles

Don't use latex, use pdflatex with  --shell-escape option

pdflatex --shell-escape condition-test

Example:  condition-test.tex


\documentclass{article}
\usepackage[inkscape=/usr/bin/inkscape]{svg}
\usepackage{amsmath}
\usepackage{etoolbox}

\newbool{EPUB}
\booltrue{EPUB}

\begin{document}
This is a test of the conditional change to SVG graphics for cards.

\begin{figure}[test]
      \centering
    \ifbool{EPUB}{\includesvg{queen-diamond-red}
    }{
    \includesvg{king-skull-black}
    }%
  \caption{svg image switch}%
\end{figure}

\end{document}
The  queen-diamond-red  SVG image.
https://www.dropbox.com/s/aug0drcrl45xj5h/queen-diamond-red.svg?dl=0

The King skull alternative SVG image.

 https://www.dropbox.com/s/3sw7tdsojydu3at/king-skull-black.svg?dl=0

Online Free HTML Editor with instant preview

http://www.w3schools.com/html/tryit.asp?filename=tryhtml_table

OK so you need to do a little HTML editing but you don't want to run any software or load it onto your machine?

Go to TryIt Editor from W3C Schools at the link above and edit an HTML text snippet online. 

Tuesday, November 4, 2014

Forcibly removing debian packages from ubuntu

If you have a broken package on ubuntu and you want to get rid of it, then you need to remove the bad package - in this file called PACKAGE - from the file  folder  /var/lib/dpkg/info/* . It holds the info files:

for example

nordugrid-arc-ldap-infosys.conffiles
nordugrid-arc-ldap-infosys.list
nordugrid-arc-ldap-infosys.md5sums
nordugrid-arc-ldap-infosys.postinst
nordugrid-arc-ldap-infosys.postrm
nordugrid-arc-ldap-infosys.prerm
These must all be moved out to avoid dpkg from exiting on error.

Run these commands on the Package to excoriate it:



mv /var/lib/dpkg/info/PACKAGE.* /tmp/
 
dpkg --remove --force-remove-reinstreq PACKAGE
  


Saturday, November 1, 2014

My complaints against LaTeX

There are a lot of real advantages to the LaTeX / TeX document preparation software suites developed for real publishing applications.  Those that know these tools can recite all of them to you at length. 

I am not going to describe them to you because they are well documented by people cheering for them.  I can't argue that LaTeX / TeX and so on can't be used to do many things.  I hope to be able to do these great things, presuming

The great things done are all based on one simple fact: you need to know the system, to understand them fully, and to spend a lot of time reading and researching to get all the arcane answers.

It's ultimate power is also it's greatest weakness.  The problem is that the knowledge is held by a cabal, a group of technocrats that look down their noses at you if you don't want to spend a lot of time getting acquainted with all the ways to use LaTeX. 

I used to be an apologist for a lot of problems in Linux or open source software, the fact that free and open are big assets to many projects.  But not everyone can accept the weaknesses that come with no support, little documentation, and a small community that could help you if they were still around to answer emails.  A lot of open source software dies on the vine because people aren't paid to develop it at school, they get bored or have a kid and so on. Without the monetary incentive it gets lost.  It's actually a great tragedy - code that wastes away without use.

Now, LaTex is the same kind of development, lots of power, lots of thoughtful users, but it still needs a lot of quaint specific knowledge.  And the possessors are mostly snobby and unhelpful. 

Most people use simple word processors because they don't want the hassle of learning to code their word processing.  LaTex and ilk requires an investment that most people don't want to make.  They aren't paid to learn processing - that can be solved by simpler software.

So it's a new fresh hell when you try to learn - because most people weren't educated with LaTeX  - most weren't in diapers when it was written.  It's hard to get help and the people that know this stuff don't waste their time improving documentation - especially new examples - to help those that need it. 

To sort this out, the LaTeX community must get past their egos and truly help people learn their system or it will end up in the open source graveyard. 

Saturday, October 11, 2014

Replace Audi Ax key fob battery



The new Audi keys have the same battery as Apple TV remotes : the CR 2032.
Front side has buttons. Back side is black plastic.

You take the chrome key out of the bottom with a button. Push button and pull out.  Inside the key on the front side there is another button on the other side inside of that recess. Push button and pull slide out to reveal the battery case.

Battery pops into holder.

Reverse operation to complete. 

Thursday, October 2, 2014

How to make a butter knife when you are travelling abroad so you can make a peanut butter sandwich.

How do you get a knife from basic materials when you are at a hotel and just want a peanut and jelly sandwich?  Say you are in a foreign hotel. You couldn't carry a knife since you went through security. And hotels want you to buy a restaurant meal so there's nothing close not even tea spoons in most hotels.

You could go to corner stores but you can't buy a single plastic knife.

So here's a simple way.

Go to a local market and buy a set of plastic cups.

Plastic cups come in two varieties. Soft ones and hard ones.

For Hard ones, shatter the plastic cup bottom and then peel away one side for the knife.  You can bend it back and forth to make a sharp edge where you want it.


For Soft plastic cups, you bend the top rim so it has a crease, then take a pen and jab the side of the cup.  That will open the plastic and it will tear along the fibres.   Remove the bottom of the cup from the sides. For softer cups I would tear a larger sheet of plastic and fold it in half for more strength.

Now you can make that peanut butter sandwich on the cheap!