For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
| sudo apt install alien -y | |
| sudo alien --scripts bluejeans_1.28.9-2_amd64.rpm # or whatever is the file you downloaded from the bluejeans website | |
| sudo dpkg -i bluejeans_1.28.9-2_amd64.deb | |
| cd /lib/x86_64-linux-gnu | |
| sudo ln -s libudev.so libudev.so.0 | |
| # now you can launch bluejeans | |
| /opt/bluejeans/bluejeans-bin |
| function base64url(source) { | |
| // Encode in classical base64 | |
| encodedSource = CryptoJS.enc.Base64.stringify(source); | |
| // Remove padding equal characters | |
| encodedSource = encodedSource.replace(/=+$/, ''); | |
| // Replace characters according to base64url specifications | |
| encodedSource = encodedSource.replace(/\+/g, '-'); | |
| encodedSource = encodedSource.replace(/\//g, '_'); |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
| <!-- | |
| Noto Mono + Color Emoji Font Configuration. | |
| Currently the only Terminal Emulator I'm aware that supports colour fonts is Konsole. | |
| Usage: | |
| 0. Ensure that the Noto fonts are installed on your machine. | |
| 1. Install this file to ~/.config/fontconfig/conf.d/99-noto-mono-color-emoji.conf |
| {% for c in site.collections %} | |
| {% assign docs=c[1].docs %} | |
| {% for doc in docs %} | |
| // do something | |
| {% endfor %} | |
| {% endfor %} |
| /* | |
| UPDATED for 2023 - Now much simpler. The old tricks are no longer needed. | |
| The following code makes an 800ร600 canvas that is always as sharp as possible for the device. | |
| You still draw on it as if it's the logical size (800ร600 in this case), but everything just | |
| looks sharper on high-DPI screens. Regular non-sharp screens are not affected. | |
| */ | |
| const width = 800 |
| <!doctype html> | |
| <title>Site Maintenance</title> | |
| <style> | |
| body { text-align: center; padding: 150px; } | |
| h1 { font-size: 50px; } | |
| body { font: 20px Helvetica, sans-serif; color: #333; } | |
| article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
| a { color: #dc8100; text-decoration: none; } | |
| a:hover { color: #333; text-decoration: none; } | |
| </style> |
| #!/bin/bash | |
| # | |
| # glassfish: Startup script for Glassfish Application Server. | |
| # | |
| # chkconfig: 3 80 05 | |
| # description: Startup script for domain1 of Glassfish Application Server. | |
| GLASSFISH_HOME=/home/glassfish/glassfish; | |
| export GLASSFISH_HOME |
| import javax.crypto.Cipher; | |
| import java.security.spec.KeySpec; | |
| import javax.crypto.spec.PBEKeySpec; | |
| import javax.crypto.SecretKey; | |
| import javax.crypto.spec.SecretKeySpec; | |
| import javax.crypto.SecretKeyFactory; | |
| import java.security.AlgorithmParameters; | |
| import javax.crypto.spec.IvParameterSpec; | |
| public class Decrypter { |