create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| # Install linux update, followed by GCC and Make | |
| sudo yum -y update | |
| sudo yum install -y gcc make | |
| # Install Nginx and PHP-FPM | |
| sudo yum install -y nginx php-fpm | |
| # Install PHP extensions | |
| sudo yum install -y php-devel php-mysql php-pdo \ | |
| php-pear php-mbstring php-cli php-odbc \ |
| server { | |
| server_name SERVER_NAME; | |
| listen 80; | |
| root /var/www/html/; | |
| index index.php; | |
| fastcgi_keep_conn on; | |
| fastcgi_index index.php; | |
| fastcgi_param QUERY_STRING $query_string; |
| drush sql-dump --structure-tables-list=ctools_object_cache,ctools_css_cache,cache,cache_field,cache_form,cache_filter,cache_menu,cache_page,cache_views,cache_views_data,history,sessions,watchdog > ~/backup/database/backup-20170303.sql |
| /** | |
| * Gulp file for Drupal theming, including clever drush cache clearing. | |
| * | |
| * Usage in docker4drupal environment: `gulp --docker` | |
| * It ensures, that drush is executed from the php container. | |
| */ | |
| var gulp = require('gulp'); | |
| var argv = require('yargs').argv; | |
| var plumber = require('gulp-plumber'); |
| drush config-export --skip-modules=devel,kint,stage_file_proxy |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| require_relative "test_helper" | |
| require "open-uri" | |
| require "net/http" | |
| class EmojiTest < Blog::Test | |
| def test_no_emoji | |
| posts.each do |post| | |
| content = File.read(post) | |
| refute_match /:[a-zA-Z0-9_]+:/, content, |
Sublime Text includes a command line tool, subl, to work with files on the command line. This can be used to open files and projects in Sublime Text, as well working as an EDITOR for unix tools, such as git and subversion.
Applications folderSetup