Skip to main content

Posts

GIT - Disable Gnome-SSH-askpass

Recently ran a update on my Fedora Core 18 and have been really annoyed with the dialog window popping up everytime I run a remote GIT command from the CLI. There is an easy quick fix for this. unset SSH_ASKPASS PHEW!!! All Better lol. Have fun coding!

Colorful Tropic Salsa

Ingredients Pineapple Avacado Cilantro Tomato Salt Jalepeno Lime Prepare Chop up all the pineapple, avacado, tomato, jalepeno and cilantro into evenly sized chunks. If you don't like chunky salsa feel free to chop up finer or stick in a blender. Put ingredients in a bowl and mix well adding some salt and squeezed lime to taste. For best results mix well and set in fridge for an hour before eating. All the juice will meld together creating a very tasty salsa, that goes great on mixed greens salad.

Soap Requests using CURL

If you ever need a way to test a webservice from a curl you can make a file of your request XML and call the following command below to get a response. curl - H "Content-Type: text/xml; charset=utf-8" \ - H "SOAPAction: " \ - k\ - d @file . xml\ - X POST https : // www . webservice - url . com / webservice /

Zabel Crest

The surname ZABEL seems to have come from trappers of the Sable. The idea for this crest was that of M. Jean (Culp) Naiman. The artist was Ray Hansen a commercial artist, who attended church with Carol Hesselgesser. The image of the Sable was copied from the dictionary, the rest was free hand.  It is my impression that the crest is to represent the immigration from Pommern to Nebraska and the occupations of the respective  generations.

Harrington Crest

The surname HARRINGTON is locative  in origin which is to say derived from a place so named, one of which lies in the county of Cumberland. Once everyone was known by a single name but this led to confusion and so an extra name was adopted. Thus, a man named John who hailed from Harrington might be known as "John (of) Harrington", the additional name eventually becoming hereditary as a surname. Early records mention Recardus de Heryngton in the Poll Tax returns of the West Riding of Yorkshire in 1379. William Harrington who died in 1523 was a noted divine. James Harrington (1664-1694) was a lawyer & poet who published many pamphlets. Among early emigrants from England to America was - Edward Harrington who is recorded in Virginia in 1643. Mark Waldrod Harrington (1848-1926) was an eminent American astronomer. The arms illustrated may be described heraldically as: Sable, a fret argent; Crest: a lion's head or tongued and collared gules buckled or; and for...

Javascript - Rounding numbers to decimal

function roundNumber(number, decimal) { return Math .round(number * Math .pow( 10 , decimal)) / Math .pow( 10 , decimal); } How it works The first thing to understand is how the Math.round() function works in Javascript. The round function takes what ever number that it is given and strips off everything after the decimal point. So if you have a number like 343.12345678 it will return 343. For this example lets say you want to have 2 decimal points left for your output like 343.12. To get the decimal points that we want we need to move the decimal point over 2 spots so that they will not be removed from the round function. Each decimal place is a factor of 10. Tenths, Hundredths, Thousandths, etc. Lets now multiply 343.12345678 by 10^2. 10 is the decimal and the 2 is how many we need to move. You should get 34312.345678. Now if you use the round function you will get 34312 right? So now that we have all the correct numbers we need to get the number back to the right value...