Author: Angel
Combining a key and certificate into a .pfx file
If you want to use SSL with your site in Azure you need to have a .pfx file.
We Apache you most likely have a certificate and a private key. I am using certificate from Letsencrypt.
Using openssl you can generate the .pfx file like this:
openssl pkcs12 -export -out /tmp/certificate.pfx -inkey /etc/letsencrypt/live/yourdomain.tld/privkey.pem -in /etc/letsencrypt/live/yourdomain.tld/cert.pem -certfile /etc/letsencrypt/live/yourdomain.tld/chain.pem
Replace yourdomain.tld with your actual domain name.
You will be asked for a password to protect the .pfx file
NFC Ring
http://www.instructables.com/id/NFC-Ring/?utm_source=newsletter&utm_medium=email
How to Build a Chat Bot Using Azure Bot Service and Train It with LUIS
https://blogs.msdn.microsoft.com/uk_faculty_connection/2017/09/08/how-to-build-a-chat-bot-using-azure-bot-service-and-train-it-with-luis/
How to Make Macarons | Classic French Macaroons Recipe
http://www.instructables.com/id/Classic-French-Macarons
Install OpenVPN Access Server
https://www.linode.com/docs/networking/vpn/install-openvpn-access-server-on-linux
IMPASSA Self-Contained 2-Way Wireless Security System (model SCW9057)
This wireless security system is widely used by ADT and companies providing security.
Useful links:
IMPASSA Self-Contained 2-Way Wireless Security System
DSC – IMPASSA Self-Contained 2-Way Wireless Security System – User Video English
DSC IMPASSA 2 Way Wireless Security System
How to Change Master and User Code on DSC Powerseries
How to Program DSC Neo Proxy and PG9939 Keyfob
Default master/installer code
The default code is 1234 or 5555.
It might be changed on your system and if you make few wrong attempts the keyboard will be locked temporarily.
How to reset to factory settings
If you do not have the master code or installer code you are limited in what you can do with the system.
You can do a factory reset and will be able to set your own master code.
NOTE: If you do a factory reset all settings will be lost including any zones, sensor information, etc.
To do a factory reset do the following:
- turn the AC power off (unplug the transformer)
- open the front panel (check the user manual on how to do it) and disconnect the battery pack
- connect IO1 and IO2 with a wire
- Power the device with AC only. Keep it power for 10 to 20 seconds
- Power off the device
- remove the wire between IO1 and IO2
- connect the battery
- Turn the AC power on
Now you device is factory reset. You need to configure everything including set the date and time.
The default master/installer code is 1234
Programming
If you have the master/installer code you can do things like
- adding a new user code for a family member or the cleaning lady
- adding new sensors
- programming new wireless remote
Add new user
[*][5] [1][2][3][4] [<][>] [*] [9][7][1][3] [#]
master code select user to access code new user code exit
Delete user
[*][5] [1][2][3][4] [<][>] [*] [*] [#]
master code select user to access code delete exit
Baked Potatoes
Preparation
- Peel the potatoes and cut them into small pieces (a cube with 1 inch side)
- Place the potatoes in a baking pan. Make sure you have enough to cover the pan with two layers.
- Dice two onions and add then to the pan.
- Add one can of tomatoes (28 OZ / 794g)
- Add 3 to 5 table spoons of cooking oil
- Add salt to taste
- Mix everything well
- Add water so it covers the mix completely
- Cover the cooking pan with a tin foil and place in the oven to bake at 425°F
- Let it cook for at least 1 hour. Check with a fork if the potatoes are soft. If not leave it in the oven and check periodically.
- When the potatoes become soft it is ready.
- You can add some parsley at the top.
- Leave to cool off to a temperature at which it can be consumed
Bon Appétit!
Letsencrypt + Certbot
Letsencrypt provides free SSL certificates
Certbot automates re-newal and installation of the certificates
Install Certbot:
$ sudo add-apt-repository ppa:certbot/certbot $ sudo apt-get update $ sudo apt-get install python-certbot-apache
Generate and install the certificate
$ certbot --apache
Generate the certificate only
$ certbot --apache certonly
Generate wildcard certificate
$ sudo certbot certonly --manual --preferred-challenges=dns --email yourname@yourdomain.com --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d *.yourdomain.com
Renewal
The Certbot packages on your system come with a cron job that will renew your certificates automatically before they expire. Since Let’s Encrypt certificates last for 90 days, it’s highly advisable to take advantage of this feature.
$ sudo certbot renew --apache
Musaka
Ingredients
- 1 pound of ground meat (50% port / 50% beef)
- 2 pounds of potatoes
- 2 onions
- 1 jar of diced tomatoes
- 1 bucket of yogurt
- 2 eggs
- 1/4 pound of mozzarella
- 5 table spoons of flour
- 1/2 cup of cooking oil
- 1 table spoon paprika
- 1/2 tea spoon black pepper
- 1 tea spoon savory
- 1 table spoon salt
Preparation
- Put the cooking oil in a deep pot and heat. Peel and dice the onion and add it to the pot. Stir regularly. Cook until the onion gets soft.
- Mill half of the tomatoes in a food processor and add it to the pot. Add the ground meat and mix it well with the tomatoes and the onion.
- Add the black pepper, the savory and salt.
- Cook until the water from the tomatoes is gone or very little is left. Then add the paprika and stir well.
- In the mean time you had to peal the potatoes and cut it into a small cubes (1/2 inch side). Add them to the pot and stir well.
- In a baking rectangular pan pour some cooking oil to barely cover the bottom. Mill the other half of the tomato jar and spread evenly on the pan bottom.
- Pour the mix from the pot to the baking pan and spread evenly. Add 1/2 cup of hot water.
- Put the baking pan into a pre-heated oven at 400 degrees Fahrenheit. Bake until the water disappears.
- It is time for the icing. In a big bowl mix one jar of plain yogurt, 2 eggs and shredded mozzarella.
- Add 5 table spoons of white flower while constantly stirring. Keep stirring it until you get a very homogeneous mix.
- Take the pan out of the oven. Pour the icing on top and spread evenly.
- Put the pan back into the oven. Cook until the top becomes golden brownish.
- Take the pan out of the oven and put it aside to cool off. Turn off the oven.
- You can serve it with parsley on top and yogurt on the side.
This is it!
