Notes about building out the "Why PHP?" page.
There are two groups I think we should target, with two distinct sets of interests and who may require two separate treatments.
First group:
- Non-technical decision makers at companies considering PHP
I'm excited to have the chance to work with the PHP Foundation to help get some more modern design and messaging on the PHP site.
One place I've gotten some access is to be able to contribute to a new page, "Why use PHP"? I built a site a few years back called "Why PHP" but let it die, so it's fun to work on this again.
You can see the current status of the the page here:
I'd like to take a step back from this existing page and ask the broader questions:
| #!/bin/bash | |
| # this forces Arena into full screen mode on startup, set back to 3 to reset | |
| # note that if you go into the Arena "Graphics" preference panel, it will reset all of these | |
| # and you will need to run these commands again | |
| defaults write com.wizards.mtga "Screenmanager Fullscreen mode" -integer 0 | |
| defaults write com.wizards.mtga "Screenmanager Resolution Use Native" -integer 0 | |
| # you can also replace the long complicated integer bit with any other scaled 16:9 | |
| # resolution your system supports. |
| /* Blend Modes | |
| ========================================================================== */ | |
| .mix-overlay { mix-blend-mode: overlay; } | |
| .mix-multiply { mix-blend-mode: multiply; } | |
| .mix-screen { mix-blend-mode: screen; } | |
| .mix-lighten { mix-blend-mode: lighten; } | |
| .mix-soft-light { mix-blend-mode: soft-light; } | |
| .mix-difference { mix-blend-mode: difference; } | |
| .mix-color { mix-blend-mode: color; } |
In 5 minutes, you’ll have a brand new clean Statamic site, with Tailwind CSS and PurgeCSS configured.
It assumes that you work on a Mac, you put your site in ~/sites and you use Laravel Valet.
All the credit go to Jack McDade and philipboomy, from whom I stole and adapt the build scripts and the PurgeCSS config, because I have really absolutely no idea what I am doing with all this Terminal Black Magic ™; this is only a detailed write up of the process.
You'll need Yarn and Node. You can install them both in one command via Brew: brew install yarn
| # Get Sudo. | |
| if [ $EUID != 0 ]; then | |
| sudo "$0" "$@" | |
| exit $? | |
| fi | |
| # Install Xcode first - https://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12 | |
| # Install Xcode command line tools. | |
| xcode-select --install |
| import * as postcss from 'postcss'; | |
| module.exports = postcss.plugin('postcss-remove-important', (options = {}) => { | |
| return css => { | |
| css.walkDecls(decl => { | |
| decl.important = false; | |
| }); | |
| }; | |
| }); |
| Here are a few questions that will tee us up for a good conversation: | |
| - Can you tell me about your project in a few sentences? | |
| - What’s the timeframe? Does a certain event depend on this project launching? | |
| - What are you looking for from us? Do you want us to design, build, and launch the whole site? Or do you have developers or other partners lined up and only need us for design? | |
| - Have you already started on any part of the project? Do you have existing work? A new logo? Some rough designs or ideas for the site? | |
| - How large is your team? What are the roles you envision on your end? | |
| - How did you hear about our work? What specifically interests you about it? Any projects that you’re keen on? | |
| - How much money have you set aside for this project? | |
| - Are you talking to others about this project? Might we ask how many? What do you like about their work? |
| http://stackoverflow.com/questions/26475037/after-update-to-yosemite-local-domain-stop-working-after-disconnect-from-networ | |
| sudo launchctl kickstart system/homebrew.mxcl.dnsmasq |
These instructions will guide you through the process of setting up local, trusted websites on your own computer.
These instructions are intended to be used on macOS Sierra, but they have been known to work in El Capitan, Yosemite, Mavericks, and Mountain Lion.
NOTE: You may substitute the edit command for nano, vim, or whatever the editor of your choice is. Personally, I forward the edit command to Sublime Text:
alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"