ClickSSL (RapidSSL) + Apache2 + OpenSSL … vs firefox’s ssl checking

Step 1: Install the RapidSSL cert as required and you should be able to browse to the site as normal with the SSL encryption in place. Check to see if firefox is giving you issues – if so, proceed to step 2!

Step 2: Download the Intermediate cert from RapidSSL from the following address and use the SSLCertificateChainFile in your apache virtual host file to specify where the intermediate cert is. I didn’t actually need a root cert as well as the intermediate cert – just the intermediate cert sufficed.

https://knowledge.rapidssl.com/support/ssl-certificate-support/index?page=content&id=SO16588&actp=search&viewlocale=en_US&searchid=1292322797411

(conveniently hidden with IIS instructions!)

Just if the link happens to disappear:

RapidSSL Intermediate certificate:

-----BEGIN CERTIFICATE-----
MIID1TCCAr2gAwIBAgIDAjbRMA0GCSqGSIb3DQEBBQUAMEIxCzAJBgNVBAYTAlVT
MRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMRswGQYDVQQDExJHZW9UcnVzdCBHbG9i
YWwgQ0EwHhcNMTAwMjE5MjI0NTA1WhcNMjAwMjE4MjI0NTA1WjA8MQswCQYDVQQG
EwJVUzEXMBUGA1UEChMOR2VvVHJ1c3QsIEluYy4xFDASBgNVBAMTC1JhcGlkU1NM
IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx3H4Vsce2cy1rfa0
l6P7oeYLUF9QqjraD/w9KSRDxhApwfxVQHLuverfn7ZB9EhLyG7+T1cSi1v6kt1e
6K3z8Buxe037z/3R5fjj3Of1c3/fAUnPjFbBvTfjW761T4uL8NpPx+PdVUdp3/Jb
ewdPPeWsIcHIHXro5/YPoar1b96oZU8QiZwD84l6pV4BcjPtqelaHnnzh8jfyMX8
N8iamte4dsywPuf95lTq319SQXhZV63xEtZ/vNWfcNMFbPqjfWdY3SZiHTGSDHl5
HI7PynvBZq+odEj7joLCniyZXHstXZu8W1eefDp6E63yoxhbK1kPzVw662gzxigd
gtFQiwIDAQABo4HZMIHWMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUa2k9ahhC
St2PAmU5/TUkhniRFjAwHwYDVR0jBBgwFoAUwHqYaI2J+6sFZAwRfap9ZbjKzE4w
EgYDVR0TAQH/BAgwBgEB/wIBADA6BgNVHR8EMzAxMC+gLaArhilodHRwOi8vY3Js
Lmdlb3RydXN0LmNvbS9jcmxzL2d0Z2xvYmFsLmNybDA0BggrBgEFBQcBAQQoMCYw
JAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLmdlb3RydXN0LmNvbTANBgkqhkiG9w0B
AQUFAAOCAQEAq7y8Cl0YlOPBscOoTFXWvrSY8e48HM3P8yQkXJYDJ1j8Nq6iL4/x
/torAsMzvcjdSCIrYA+lAxD9d/jQ7ZZnT/3qRyBwVNypDFV+4ZYlitm12ldKvo2O
SUNjpWxOJ4cl61tt/qJ/OCjgNqutOaWlYsS3XFgsql0BYKZiZ6PAx2Ij9OdsRu61
04BqIhPSLT90T+qvjF+0OJzbrs6vhB6m9jRRWXnT43XcvNfzc9+S7NIgWW+c+5X4
knYYCnwPLKbK3opie9jzzl9ovY8+wXS7FXI6FoOpC+ZNmZzYV+yoAVHHb1c0XqtK
LEL2TxyJeN4mTvVvk0wVaydWTQBUbHq3tw==
-----END CERTIFICATE-----

Quiche

Ingredients:

  • 4 eggs
  • Mushrooms
  • Peppers (paprica)
  • Spring onions
  • Bacon (or ham)
  • Cheese (3/4 of 250 gram block)
  • Pastry
  • Thinly sliced tomatoes (dry with paper towels)
  • Nutmeg (little bit)
  • Pepper (no salt)
  • Parsley
  • 1 cup of pure cream (no thickened)

Method:

Base

  1. Put the oven onto 200 degrees
  2. Line a quiche dish with puff-pastry – base & sides
  3. Put dish into oven for about 20 mins (or until the pastry is puffed up / semi-golden brown)
  4. Take out and sit till not-so-hot (you will need to touch the pastry to put the filling in)

Filling

This is a whole mixture of ingredients so you’ll have to cut most of it up and combine in a bowl

  1. Slice capsicum / peppers into thin strips
  2. Slice mushrooms into thin slices
  3. Cut up spring onions
  4. Cut bacon into small squares / rectangles and fry up for a few mins – you don’t want it to be too oily though and DONT over-cook (otherwise it’ll be too crunchy!)
  5. Cut chesse into 1cm cubes
  6. Beat eggs, cream, pepper & nutmeg together till combined (as though you were beating it for scrambled eggs)
  7. Put in half the solid ingredients to the base, then pour half of the egg/cream/etc mixture, then the rest of the ingredients then the rest of the egg mixture
  8. Stick it in the oven for about 45mins – 1hr 15 mins, until the tops of some of the vegies are starting to brown.
  9. Let it sit before serving for about 10 mins

SGR (Still-air ground range)

SGR Calculation

Calculations of SGR are as follows;

consumption rate (lb/kg/etc per hr) / ground speed (kts) = lb/kg/etc per nm

OR;

ground speed (kts) / consumption rate (lb/kg/etc per hr) = nm per lb (or whatever you’ve used)

Consumption Rate

This is calculated by taking TAS and dividing by SAR (Still air range)

TAS / SAR (nm per lb) = lb per hour

OR;

TAS * SAR (lbs per nm) = l per nm

Rate of descent calculations

To calculate the vertical speed required to reach a destination with a given groundspeed and distance, use the following:

Vertical speed required (fpm) = (altitude to lose (ft) x groundspeed (kts)) / (60 x distance to go (nm))

To calculate the distance required for descending at a particular vertical speed & groundspeed, use the following formula:

60 x descent (fpm) / groudspeed (kts) = ft/nm
altitude to loose (ft) / ft/nm = distance required

aka: altitude to loose (ft) / (60 x vertical speed (fpm)) = distance required (nm)

Another way to look at is: if you need to loose 24,000ft, descending at 2000 ft/min, it will take 12 mins (24,000 / 2,000 = 12). With a groundspeed of 240 kts, it equates to 4 kts per min (240 / 60 = 4). 4 (kts per min) x 12 (mins) = 48 nm (distance required).

Thanks to:

http://forums.flightsim.com/vbfs/showthread.php?27140-Rate-of-Descent-Calculation
http://forums.vatsim.net/viewtopic.php?f=8&t=6861
http://www.atpforum.co.uk/showthread.php?t=9907

Pressure Height / Density Height

Pressure Height

Get the difference between your current QNH & the standard sea level QNH (1013.25) … eg. AD QNH = 1006, means there is a difference of 7 hPa, which equates to a 210 ft difference (calculated by taking the calculated 7 hPa and multiplying it by 30 (30ft difference per hPa)

Once you have 210 as the height difference, you add (if your QNH is less than standard sea level pressure), or subtract it if it’s higher (eg. if the QNH is showing you’re actually less than sea level pressure) it to your current elevation (eg. 3310 ft).

The overall formula can be shown as;

Pressure Height = Elevation + 30 * (1013 – QNH)

Eg. At an elevation of 3310, with QNH of 1006.

  1. Pressure difference is 1013 – 1006 = 7 hPa difference.
  2. We then get the pressure height difference in feet … 7 * 30 = 210
  3. Then add it to our current height … 210 + 3310 = 3520 feet.

Density Height

Density altitude in feet = pressure altitude in feet + (120 x (OAT – ISA_temperature))

ISA_temperature = the ISA temp at the altitude you are at … calculated by using;

ISA Temperature: Temperature changes at the rate of 2 degrees per thousand ft (gets colder as you go up, and gets warmer as you descend). The standard sea level ISA temp is 15 degrees, so you will need to subtract the temperature difference from 15 degrees to get the ISA temp…

Eg. The aerodrome (AD) is 3310 feet above mean sea level (ASML), and the temp is 28 degrees.

  1. The ISA temp at 3310 is 3310 / 1000 = 3.31 …. * 2 = 6.62 …. 15 – 6.62 = 8.38 degrees.
  2. We then need to find out the temperature deviation from the norm = 28 (our temp) – 8.38 (ISA temp at our altitude) = 19.62 … (rounded to the nearest degree gives 20 degrees).
  3. From here, we need to use the temp deviation to find out our density height. This is done by the following;
    ISA Temp * 120 (120 ft per degree) = 20 * 120 = 2400
  4. Then add 2400 to our pressure height (3520 in this case .. see the above section for workings) which gives us 5,920 ft.

Reference: http://en.wikipedia.org/wiki/Density_altitude

Hazelnut Crescents

Crescents can be stored in an airtight container for about 3 weeks; they can be frozen for about 2 months. This recipe is not suitable to microwave.

Ingredients:

  • 1 cup plain flour
  • 2 tablespoons castor-sugar
  • 125g butter
  • 1/2 cup packaged ground roasted hazelnuts (hazelnut meal)
  • 2 egg yolks
  • icing sugar (to serve)

Method:

  1. Sift flour and castor sugar into bowl, rub in butter, mix in hazelnuts & egg yolk.
  2. Knead lightly on floured surface until smooth.
  3. Roll teaspoonfuls of mixture into 7cm long sausages, shape into crescents.
  4. Bake on lightly greased oven trays in moderately slow oven (160 degrees) for about 20 mins or until lightly browned.
  5. Sift icing sugar over warm crescents, lift onto wire racks to cool.

Makes about 30.

Spring Interceptors

To add an interceptor to your application, do the following;

Add the following to your application-context.xml file;

<context:component-scan base-package="com.test" />

<mvc:annotation-driven/>

<mvc:interceptors>
	<bean .... />
</mvc:interceptors>

http://forum.springsource.org/showpost.php?p=289544&postcount=4

CASA CPL Exams – Aircraft General Knowledge (AGK)

Sample questions;

  1. Why must you minimize the time used to check the pitot heater?
    1. To minimize the drain on the battery
    2. So as not to impare the working life of the heating element
  2. Once airbourne, pitot heat should be switched on;
    1. Well before you enter known icing conditions
    2. On entering known icing conditions and left on
  3. If static lines fully block, the altimeter will display the level of the blockage?
  4. A/C lands at AD (elevation 1750′) with ALT subscale set to AREA QNH 1020 hPa. AD QNH at the time is 1025hPa. In this case, what will the ALT display in feet?
  5. On a climb at a constant IAS, does air leaves both casing & capsule at the same rate?
  6. An A/C’s sole static source is fully blocked whilst on a climb. If the A/C settles down to CRZ in an area of MOD to SEV turbulence at the published turbulence penetration speed then;
    1. The airframe could be overstressed
    2. There should be no risk of overstressing the airframe
  7. Where globally will a magnetic compass function best?
  8. What purpose does the compas deviation card serve?

Answers;

  1. B – Heating element gets very hot in still air conditions
  2. 2