Docu for encrypt and decrypt a large file with AES and RSA
//generates a private Key with 8196 Bit.
openssl genrsa -out private.pem 8196
| -- just the city resource | |
| SELECT DISTINCT ?citylabel ?countrylabel ?pop | |
| WHERE { | |
| ?city rdf:type dbpedia-owl:City. | |
| ?city rdfs:label ?citylabel. | |
| ?city dbpedia-owl:country ?country. | |
| ?country rdfs:label ?countrylabel. | |
| ?city dbpedia-owl:populationTotal ?pop . | |
| FILTER ( lang(?countrylabel) = 'en' and lang(?citylabel) = 'en' and ?pop>10000) |
| $(window).on("scroll", function() { | |
| var scrollHeight = $(document).height(); | |
| var scrollPosition = $(window).height() + $(window).scrollTop(); | |
| if ((scrollHeight - scrollPosition) / scrollHeight === 0) { | |
| // when scroll to bottom of the page | |
| } | |
| }); |
| select.form-control + .chosen-container.chosen-container-single .chosen-single { | |
| display: block; | |
| width: 100%; | |
| height: 34px; | |
| padding: 6px 12px; | |
| font-size: 14px; | |
| line-height: 1.428571429; | |
| color: #555; | |
| vertical-align: middle; | |
| background-color: #fff; |
Configure local wildcard DNS server
sudo apt-get install dnsmasq/etc/NetworkManager/NetworkManager.conf and comment out (#) the line that reads dns=dnsmasq. Restart NetworkManager afterwards: sudo restart network-manager./etc/dnsmasq.conf, and adding the line listen-address=127.0.0.1./etc/dnsmasq.d (eg. /etc/dnsmasq.d/dev), and add the line address=/dev/127.0.0.1 to have dnsmasq resolve requests for *.dev domains. Restart Dnsmasq: sudo /etc/init.d/dnsmasq restart.source: http://brunodbo.be/blog/2013/04/setting-up-wildcard-apache-virtual-host-wildcard-dns
| <?php | |
| // Put the following in your theme's functions.php for instance: | |
| add_filter( 'wc_pdf_product_vouchers_voucher_fields', 'wc_pdf_product_vouchers_add_custom_fields', 10, 2 ); | |
| /** | |
| * Adds some custom fields to the given product voucher | |
| * |
| .tab-bar { | |
| height: 34px; | |
| padding: 0; | |
| .tab { | |
| -webkit-transform: none; | |
| top: 2px; | |
| line-height: 25px; | |
| &.active { |
| <?php | |
| $province= array( | |
| 'AG' => 'Agrigento', | |
| 'AL' => 'Alessandria', | |
| 'AN' => 'Ancona', | |
| 'AO' => 'Aosta', | |
| 'AR' => 'Arezzo', | |
| 'AP' => 'Ascoli Piceno', | |
| 'AT' => 'Asti', | |
| 'AV' => 'Avellino', |
| <select> | |
| <optgroup label="Piemonte"> | |
| <option value="TO">Torino</option> | |
| <option value="VC">Vercelli</option> | |
| <option value="NO">Novara</option> | |
| <option value="CN">Cuneo</option> | |
| <option value="AT">Asti</option> | |
| <option value="AL">Alessandria</option> | |
| <option value="BI">Biella</option> | |
| <option value="VB">Verbano-Cusio-Ossola</option> |