background preloader

Workflow

Facebook Twitter

Mac keyboard shortcuts. By pressing a combination of keys, you can do things that normally need a mouse, trackpad, or other input device.

Mac keyboard shortcuts

To use a keyboard shortcut, hold down one or more modifier keys while pressing the last key of the shortcut. For example, to use the shortcut Command-C (copy), hold down Command, press C, then release both keys. Mac menus and keyboards often use symbols for certain keys, including the modifier keys: Command ⌘Shift ⇧ Option ⌥Control ⌃ Caps Lock ⇪Fn If you're using a keyboard made for Windows PCs, use the Alt key instead of Option, and the Windows logo key instead of Command. To learn more shortcuts, check the menus of the app you're using. Cut, copy, paste, and other common shortcuts Sleep, log out, and shut down shortcuts Document shortcuts Finder shortcuts Other shortcuts Learn more. 20. Moving files. Goals To learn how to move a file within the repository. 01 Move the hello.html file to the lib directory Now we will create the structure of our repository.

20. Moving files

Let us move the page in the lib directory Run: mkdir lib git mv hello.html lib git status. Install Nginx, PHP-FPM, MySQL and phpMyAdmin on OS X Mavericks or Yosemite. Recently I've got a new MacBook Pro and decided to set it up from scratch, because I use the same Time Machine backup to migrate from since about four years.

Install Nginx, PHP-FPM, MySQL and phpMyAdmin on OS X Mavericks or Yosemite

Perfect time to get rid of the web server/LAMP (Linux Apache MySQL PHP) stack and replace it with Nginx and PHP-FPM as FastCGI implementation. Below you can read how to setup Nginx, PHP-FPM, MySQL and phpMyAdmin on OS X 10.9 / Mavericks. Updated for Yosemite users: Updated the guide for 10.10 since Yosemite is officially released. The steps are basically the same as for Mavericks. Xcode First of all, get the latest Xcode version (6.1) via the Mac App Store: Moving A WordPress Website Without Hassle. Moving WordPress is a task that many people find daunting.

Moving A WordPress Website Without Hassle

The advice on the Codex, while comprehensive, gives you a myriad of options and doesn’t describe the process simply and in one place. When I had to move a WordPress installation for the first time, I spent hours searching online for information on the various aspects of the process, and eventually wrote myself a checklist — which I still use. Further Reading on SmashingMag: Link So to save you the hassle, here’s a step-by-step guide to moving a WordPress website. I’ll cover three different scenarios, which in my experience are the most common: How To Install Ruby on Rails with rbenv on Ubuntu 14.04. Introduction Ruby on Rails is an extremely popular open-source web framework that provides a great way to write web applications with Ruby.

How To Install Ruby on Rails with rbenv on Ubuntu 14.04

This tutorial will show you how to install Ruby on Rails on Ubuntu 14.04, using rbenv. This will provide you with a solid environment for developing your Ruby on Rails applications. rbenv provides an easy way to install and manage various versions of Ruby, and it is simpler and less intrusive than RVM. This will help you ensure that the Ruby version you are developing against matches your production environment. Prerequisites. Untitled. Levelling up your WordPress development workflow. Levelling up your WordPress development workflow with @daraskolnick Hi, I'm Dara.

Levelling up your WordPress development workflow

Nice to meet you! I'm @daraskolnick basically everywhere on the Internet. A little about me. Setup File Mirroring Using Rsync in Debian/Ubuntu - Vultr.com. Introduction If you run a critical website, it is a good practice to mirror your files to a secondary server.

Setup File Mirroring Using Rsync in Debian/Ubuntu - Vultr.com

In the event that your main server has a network or hardware issue, having mirrored files provides you with the flexibility to immediately switch from one server to another. Cbednarski.com. Published 2013-03-27 Ruby is an extremely flexible, concise language which boasts a rampant proliferation of libraries and popular frameworks like rails.

cbednarski.com

However, using your system's default ruby to install gems is a quick path into dependency nightmares, as different gems fight to use different versions of the same library. I'll walk you through how to avoid this using rbenv, ruby-build, and bundler. At the conclusion, you'll have a better understanding of where ruby lives on your system and you'll also have a stable, flexible ruby installation that can grow with new development while simultaneously providing a bulletproof runtime environment for existing applications and tools.

Questions Before we Begin What about RVM? RVM is another tool that purports to alleviate ruby's dependency issues. I already have some ruby stuff installed. Skip to the "Resetting Your Ruby Installation" appendix at the end of this article. Nginx Block And Deny IP Address OR Network Subnets. ByVivek GiteonJanuary 13, 2010 last updated January 13, 2010 How do I block or deny access based on the host name or IP address of the client visiting website under nginx web server?

Nginx Block And Deny IP Address OR Network Subnets

Nginx comes with a simple module called ngx_http_access_module to allow or deny access to IP address. The syntax is as follows: deny IP; deny subnet; allow IP; allow subnet; # block all ips deny all; # allow all ips allow all; Note rules are checked in the order of their record to the first match. Untitled. Installing Wordpress on Vagrant - Suresh's Site.

#!

Installing Wordpress on Vagrant - Suresh's Site

/bin/bash # This is where the variables for the rest of the installation are created USER=vagrant DBROOTPASSWORD=qwerty. Export and import MySQL databases - Media Temple. CloudTech Can Help! If you are having trouble with the steps in this article, additional assistance is available via CloudTech, our premium services division. Our expert engineers can import or export your MySQL database quickly and painlessly. For more information on what CloudTech can do for you, please click here. Overview This article will show you how to export a copy of your MySQL database, and how to import an SQL database backup file to your database server.

Auto-deploy WordPress via SSH with WordMove [Update 2015] - Woratana Perth. WordMove is Ruby package for deploying WordPress from localhost to live environment. It can be found here: As of writing, I am running on Mac OS Capitan (OS X 10.11.1) with X Code 7.1.1 and X Code command line tool (included with XCode) installed. Here is old video on how WordMove can easily deploy to production server: I am quite new to convenient deployment tool like this. In the past, I used FTP to transfer files and upload database file to target server’s PHPMyAdmin, all done by hand. Ubuntu Linux: Start / Restart / Stop Nginx Web Server. ByVivek GiteonJanuary 1, 2011 last updated March 19, 2015 How do I restart / stop / start the nginx web server under a Ubuntu Linux operating systems using command line option? The nginx web server can be restarted using any one of the following command line syntax: sudo service nginx restart sudo /etc/init.d/nginx restart.

Ruby unexpected ':', expecting kEND - uzzai. System Administration Screencasts. System Administration Screencasts. Setup Ruby On Rails on Ubuntu 14.04 Trusty Tahr - GoRails. './install' - Installing RVM. Official ruby interpreter releases that are supported by RVM can be installed using any of the below methods. Known Rubies (Interpreters) RVM maintains a list of interpreters and versions thereof to which it may install. In order to see this list run the following command. Setup Ruby On Rails on Ubuntu 14.04 Trusty Tahr - GoRails. Joeguilmette/ee-vvv-wordmove: A guide for l... - GitHub.

ShellCommandError · Issue #215 · welaika/wordmove. Problem pulling database · Issue #98 · welaika/wordmove. Getting Wordmove installed in VVV (or any Vagrant) · welaika/wordmove Wiki. Varying Vagrant Vagrants VVV is an open source Vagrant configuration focused on WordPress development. Joeguilmette/ee-vvv-wordmove: A guide for l... - GitHub. How To Install Wordpress with nginx on Ubuntu 12.04. About Wordpress Wordpress is a free and open source website and blogging tool that uses php and MySQL. It was created in 2003 and has since then expanded to manage 22% of all the new websites created and has over 20,000 plugins to customize its functionality. Step One—Prerequisites! Getting Started with WP-CLI on Ubuntu 15.10.

Wordpress is one of the best open-source content management system (CMS) based on PHP and MYSQL, it is the most popular blogging system used by more than 23% of the top 10 million websites. WordPress is installed on more than 60 million websites. There are plenty of ready to use themes and plugins available for WordPress. Installing WordPress. Languages: English • Español • Deutsch • বাংলা • Français • Italiano • Nederlands • 日本語 • 한국어 • Português do Brasil • Русский • Slovenčina • Српски • ไทย • 中文(简体) • 中文(繁體) • (Add your language) WordPress is well-known for its ease of installation. Under most circumstances, installing WordPress is a very simple process and takes less than five minutes to complete. Many web hosts now offer tools (e.g. How To Create a New User and Grant Permissions in MySQL. What the Red Means The lines that the user needs to enter or customize will be in red in this tutorial! The rest should mostly be copy-and-pastable.

Initial Server Setup with Ubuntu 14.04. Introduction When you first create a new Ubuntu 14.04 server, there are a few configuration steps that you should take early on as part of the basic setup. This will increase the security and usability of your server and will give you a solid foundation for subsequent actions. How To Set Up Nginx Server Blocks (Virtual Hosts) on Ubuntu 14.04 LTS. Setting up EasyEngine on Ubuntu 14.04 + PHP 5.5 + Nginx + Memcached Object cache - Useful Snippets. Build Virtual Machines Easily With PuPHPet. Does creating and managing development environments frustrate you, slow you down, or distract you from development? Do you have issues because your development and deployed environments differ?

If so, I've got the solution for you – PuPHPet! Introduction I can't speak for you, but one of my pet peeves about software development is environments. Whether it's creating and maintaining them for different projects with different needs; ensuring environment parity across a development team, (especially when they're remote); or between environments such as development, testing, and production. Build Virtual Machines Easily With PuPHPet. PuPHPet - Online GUI configurator for Puppet & Vagrant. How to Create Staging Environment for a WordPress Site. As WordPress beginners progress in their career, their site grows as well. When running stable and professional websites, editing everything live is not the best option. Several of our users asked us for a tutorial that explains the process of creating a staging environment. Vim Cheat Sheet - English. Add an SSH key to an account. This page covers the following topics:

Web Developer and Programmer - Ultimate WordPress Development Workflow. Connecting to MySQL · Varying-Vagrant-Vagrants/VVV Wiki. Setting up a WordPress VVV Vagrant Workflow. Setting up VVV Varying Vagrant Vagrants on OSX.