Content :
This document is an attempt to pin down all the things you don't think about when quoting for a project, and hopefully provide a starting point for some kind of framework to make quoting, working and delivering small-medium jobs more predictable and less stressful.
| # Standard TTS notification | |
| service: notify.alexa_media_kitchen_echo | |
| data: | |
| message: this is a test | |
| data: | |
| type: tts | |
| # Sequence Notification | |
| service: media_player.play_media | |
| data: |
| var ui = SpreadsheetApp.getUi(); | |
| function onOpen(e){ | |
| ui.createMenu("Gmail Manager").addItem("Get Emails by Label", "getGmailEmails").addToUi(); | |
| } | |
| function getGmailEmails(){ | |
| var input = ui.prompt('Label Name', 'Enter the label name that is assigned to your emails:', Browser.Buttons.OK_CANCEL); | |
| # This is an annotated subset of the Nginx configuration from our Magento production platform @ www.hypernode.com | |
| # See https://www.byte.nl/blog/magento-cacheleak-issue | |
| # !!!! If you are a Hypernode customer, do not use this config as it will result in duplicate statements. !!!!! | |
| user app; | |
| worker_processes 4; | |
| pid /var/run/nginx.pid; | |
| events { |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> | |
| <script src="https://code.jquery.com/jquery-1.11.1.min.js"></script> | |
| <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> | |
| <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/jquery.bootstrapvalidator/0.5.2/css/bootstrapValidator.min.css"/> | |
| <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery.bootstrapvalidator/0.5.2/js/bootstrapValidator.min.js"></script> |
| # Ignore PHPStorm | |
| /.idea/ | |
| /.phpstorm.meta.php | |
| #Ignore vagrant | |
| /.vagrant/ | |
| # Ignore code coverage reports | |
| /build/ |
Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?
| // based on https://github.com/nicolashery/nicolashery.com | |
| module.exports = function(grunt) { | |
| // Load all NPM grunt tasks | |
| require('matchdep').filterAll('grunt-*').forEach(grunt.loadNpmTasks); | |
| // Project configuration | |
| grunt.initConfig({ | |
| meta: { | |
| scripts: [ |
| #!/bin/sh | |
| sudo find . -type f -exec chmod 644 {} \; | |
| sudo find . -type d -exec chmod 755 {} \; | |
| sudo chmod o+w var app/etc | |
| sudo chmod 550 mage | |
| sudo chmod -R o+w media |