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
stat -c "%a %n" . |
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
# Recursively find all files in the current directory and change to access of 644 | |
find ./ -type f -exec chmod 644 {} \; | |
# Recursively find all directories in the current directory and change to access of 755 | |
find ./ -type d -exec chmod 755 {} \; |
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
[{"key":"1920 x 1080","name":"Nexus 5 Landscape","width":1920,"height":1080}, | |
{"key":"1080 x 1920","name":"Nexus 5 Portrait","width":1080,"height":1920}, | |
{"key":"1024 x 768","name":"iPad Landscape","width":1024,"height":768}, | |
{"key":"768 x 1024","name":"iPad Portrait","width":768,"height":1024}, | |
{"key":"736 x 414","name":"iPhone 6 Plus Landscape","width":736,"height":414}, | |
{"key":"414 x 736","name":"iPhone 6 Plus Portrait","width":414,"height":736}, | |
{"key":"667 x 375","name":"iPhone 6 Landscape","width":667,"height":375}, | |
{"key":"375 x 667","name":"iPhone 6 Portrait","width":750,"height":1334}, | |
{"key":"568 x 320","name":"iPhone 5/S/C Landscape","width":568,"height":320}, | |
{"key":"320 x 568","name":"iPhone 5/S/C Portrait","width":320,"height":568}, |
- Initial Server Setup with Ubuntu 12.04
- How To Install Linux, nginx, MySQL, PHP (LEMP) stack on Ubuntu 12.04
- A Basic MySQL Tutorial
- How To Install phpMyAdmin on a LEMP server
- How To Install Git on Ubuntu 12.04
- Generating SSH Keys and connect with DigitalOcean
- Install Composer on DigitalOcean
- [Install php5-cli if you get stuck with installing Compos
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
# change permissions for all files, skipping dirs | |
find . -type f | xargs chmod 664 | |
# change permissions for all dirs, skipping files | |
find . -type d | xargs chmod 775 |
Revised date: 07/11/2012
Between us [company name] and you [customer name]
We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.
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
# How to convert font size px to pt in Inkscape | |
> Inkscape pixel is 1/90 of an inch, other software usually uses 1/72. This means if you need 10pt - use 12.5 in Inkscape (multiply with 1.25). | |
> http://www.inkscapeforum.com/viewtopic.php?f=6&t=5964 |
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
# This is a template .gitignore file for git-managed WordPress projects. | |
# | |
# Fact: you don't want WordPress core files, or your server-specific | |
# configuration files etc., in your project's repository. You just don't. | |
# | |
# Solution: stick this file up your repository root (which it assumes is | |
# also the WordPress root directory) and add exceptions for any plugins, | |
# themes, and other directories that should be under version control. | |
# | |
# See the comments below for more info on how to add exceptions for your |
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
server { | |
# output compression saves bandwidth | |
gzip on; | |
gzip_http_version 1.1; | |
gzip_vary on; | |
gzip_comp_level 6; | |
gzip_proxied any; | |
gzip_types text/plain text/html text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; | |
# make sure gzip does not lose large gzipped js or css files |
OlderNewer