Skip to content

Instantly share code, notes, and snippets.

View ramlev's full-sized avatar

Hasse Ramlev Wilson ramlev

View GitHub Profile
Name Views
Description Create customized lists and queries from your database.
Version 7.x-3.0-rc1
Module path profiles/artesis/modules/contrib/views
Dependencies ctools
# cd DRUPAL_INSTALLATION
# drush moduleinfo views
# cat sites/all/modules/contrib/views/*info
@ramlev
ramlev / moduleinfo.drush.inc
Created November 10, 2011 11:51
Show some information of defined drupal module or theme, such as name, description, version and dependencies
<?php
/**
* Need drupal.org/project/drush.
*
* Very beta. Will show up as a github repo very soon.
*
* Download the raw file, and put it in ~/.drush/
*
* Examples
server {
listen 80 default;
server_name *.dev;
if ($host ~* "^(.+)+.dev$") {
set $site $1;
}
root /Users/Hasse/www/$site;
index index.php;
#user nobody;
worker_processes 1;
#error_log logs/error.log;
error_log /var/log/nginx/error.log info;
#error_log logs/error.log info;
pid /usr/local/var/run/nginx.pid;
address=/dev/127.0.0.1
address=/.dev/127.0.0.1
# vi /usr/local/etc/dnsmasq.conf
# sudo cp /usr/local/Cellar/dnsmasq/VERSION/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
# brew install dnsmasq