- Project (Drupal) is served on
/var/www/html
in the Vagrant box - Local project files location:
c:\Users\username\Work\projects\my-project\repo\html
- Guest machine IP is 10.0.2.2 (if this doesn't work, run
route -nee
in the VM and look for the gateway address)
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
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
cg.subject.ciat,dc.contributor.author,dc.contributor.corporate,dc.cplace.country,dc.date.issued,dc.description.abstract,dc.identifier.citation,dc.identifier.status,dc.identifier.uri,dc.identifier.url,filename,dc.language.iso,dc.publisher,dc.rplace.region,dc.subject,dc.title,dc.type.output | |
POLICY||NUTRITION,"Pachico, DH||Seré Rabé, C",,,1981,,"Pachico, Douglas H.; Seré Rabé, Carlos. 1981. Food consumption patterns and malnutrition in Latin America : Some issues for commodity priorities and policy analysis. Centro Internacional de Agricultura Tropical (CIAT), Cali, CO. 36 p.",Open Access,,http://ciat-library.ciat.cgiar.org/ciat_digital/CIAT/64661.pdf,64661.pdf,en,Centro Internacional de Agricultura Tropical (CIAT),LATIN AMERICA,FOOD CONSUMPTION||MALNUTRITION||LATIN AMERICA||CONSUMO DE ALIMENTOS||MALNUTRICIÓN||AMÉRICA LATINA,Food consumption patterns and malnutrition in Latin America : some issues for commodity priorities and policy analysis,Report | |
MONITORING AND REPORTING,"Woolley, JN||Pachico, DH",,,1987,,"Woo |
Go to the egghead website, i.e. Building a React.js App
run
$.each($('h4 a'), function(index, video){
console.log(video.href);
});
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
# Atom Cheatsheet. | |
# Project Key Bindings. | |
- 'cmd-shift-p': open the command palette. | |
- 'cmd-p' or 'cmd-t': open the fuzzy finder to find a file. | |
- 'cmd-b': look for a file that is already open. | |
- 'cmd-shift-b': search the list of files modified and untracked in your project repository. | |
- 'ctrl-0': open and focus the the tree view. |
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
# http://henrik.nyh.se/2008/12/git-dirty-prompt | |
# http://www.simplisticcomplexity.com/2008/03/13/show-your-git-branch-name-in-your-prompt/ | |
# username@Machine ~/dev/dir[master]$ # clean working directory | |
# username@Machine ~/dev/dir[master*]$ # dirty working directory | |
function parse_git_dirty { | |
[[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*" | |
} | |
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/[\1$(parse_git_dirty)]/" |