Slides: https://speakerdeck.com/kenwoodworth/design-smarter-not-harder
Soft Facade
http://softfacade.com
Flat Pixels: The Battle Between Flat Design & Skeuomorphism
by Sacha Grief
http://sachagreif.com/flat-pixels
<div id="container"> | |
</div> |
<?php | |
$max_num_links = 7; | |
$page = "/"; | |
if (isset($_SERVER['REQUEST_URI'])) { | |
$page = htmlentities(rtrim($_SERVER['REQUEST_URI'], "/")); | |
} | |
?> | |
<h1>Hidden links</h1> | |
<h2><?php echo $page; ?></h2> |
# | |
# Minimal Drupal 7.x development environment. | |
# | |
# Use: | |
# 1. Place a copy of this file at your Drupal site root. | |
# 2. Start the web stack: `USER_ID=$(id -u) docker-compose up -d` | |
# 3. Set up `settings.local.php` (note that the host is 'db' and the username, | |
# password, and schema are in the environment variables for the database | |
# container below). | |
# 4. If you have a database dump to import, place it in your Drupal site root, |
#!/bin/sh | |
DBNAME=<database> | |
DBUSER=<dbuser> | |
DBPASS=<good-strong-password?> | |
DBHOST=localhost | |
DESTDIR=/path/to/backup/dir | |
NAME=<site-name> | |
RETENTION=2 | |
let MMIN=($RETENTION*60*24)-30 |
#!/bin/sh | |
SOURCEDIR=/path/to/docroot | |
DESTDIR=/path/to/backup/dir | |
NAME=<site-name> | |
RETENTION=2 | |
let MMIN=($RETENTION*60*24)-180 | |
DATE=`date +%Y-%m-%d-%H-%M` | |
EXCLUDE="" |
~/.ideas.md | |
# Software | |
- doomed startup idea 1 | |
- some feature for an open-source project | |
- doomed startup idea 2 | |
- ... | |
# Blog posts | |
- the .ideas file |
Slides: https://speakerdeck.com/kenwoodworth/design-smarter-not-harder
Soft Facade
http://softfacade.com
Flat Pixels: The Battle Between Flat Design & Skeuomorphism
by Sacha Grief
http://sachagreif.com/flat-pixels
#!/bin/sh | |
PERM_USER=nobody | |
PERM_GROUP=dev | |
APACHE_USER=apache | |
if [ $# -ne 1 ] ; then | |
echo "USAGE $0 <d7 root dir>" | |
exit; | |
fi |
global $user; | |
/* | |
* If the user is not logged in, require them to login prior to being | |
* redirected to the form | |
*/ | |
if ($user->uid === 0 && arg(0) != 'user') { | |
$dest = drupal_get_path_alias($_GET['q']); | |
drupal_goto('user', array('query' => array('destination' => $dest))); | |
} |