Skip to content

Instantly share code, notes, and snippets.

Avatar

Joao Duarte jdduarte

View GitHub Profile
View vhosts.conf
<VirtualHost *:80>
Header set Access-Control-Allow-Origin "*"
ServerName portal.roadworks.org.dev
DocumentRoot "/Users/jdduarte/Projects/ELGIN/roadworks/portal"
Alias /img "/Users/jdduarte/Projects/ELGIN/elgin_images/Elgin%20images/img"
<Directory "/Users/jdduarte/Projects/ELGIN/elgin_images/Elgin%20images/img">
Require all granted
</Directory>
Alias /images "/Users/jdduarte/Projects/ELGIN/elgin_images/Elgin%20images/images"
<Directory "/Users/jdduarte/Projects/ELGIN/elgin_images/Elgin%20images/images">
View httpd-vhosts.conf
<VirtualHost *:80>
Header set Access-Control-Allow-Origin "*"
ServerName v7.roadworks.org.dev
DocumentRoot "/Users/jdduarte/Projects/ELGIN/roadworks-v7/wrapper"
</VirtualHost>
<VirtualHost *:80>
Header set Access-Control-Allow-Origin "*"
ServerName portal.v7.roadworks.org.dev
DocumentRoot "/Users/jdduarte/Projects/ELGIN/roadworks-v7/portal"
View keybase.md

Keybase proof

I hereby claim:

  • I am jdduarte on github.
  • I am jdduarte (https://keybase.io/jdduarte) on keybase.
  • I have a public key whose fingerprint is D43C 81C0 EE29 AC45 1087 7FEA 9EF4 31CB A913 A97F

To claim this, I am signing this object:

@jdduarte
jdduarte / exercice 3
Created Sep 11, 2013
Levelmeup workshop @ nodeconfeu
View exercice 3
var level = require('level');
var db = level(process.argv[2]);
function justGet(i) {
db.get('gibberish' + i, function (err, value) {
if(err) {
return;
}
console.log('gibberish' + i + '=' + value);
});
You can’t perform that action at this time.