This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Node | |
attr_accessor :value, :next | |
def initialize(value) | |
@value = value | |
end | |
end | |
class LinkedList | |
attr_accessor :head, :tail | |
def initialize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="field"> | |
<input id="ballot_city_quezon_city" name="ballot[city]" type="radio" value="Quezon City" /> | |
<label for="ballot_city_quezon_city">Quezon City</label> | |
</div> | |
<div class="field"> | |
<input id="ballot_city_manila" name="ballot[city]" type="radio" value="Manila" /> | |
<label for="ballot_city_manila">Manila</label> | |
</div> | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl req -new -sha1 -newkey rsa:1024 -nodes -keyout client.key -out request.pem | |
mkdir -p demoCA/newcerts | |
touch demoCA/index.txt | |
touch demoCA/index.txt.attr | |
vim demoCA/serial | |
sudo openssl ca -cert /etc/ssl/certs/ssl-cert-snakeoil.pem -keyfile /etc/ssl/private/ssl-cert-snakeoil.key -policy policy_anything -out signed.pem -infiles request.pem | |
sudo openssl pkcs12 -export -in signed.pem -inkey client.key -certfile /etc/ssl/certs/ssl-cert-snakeoil.pem -name "testp12" -out test-p12.p12 | |
NewerOlder