start new:
tmux
start new with session name:
tmux new -s myname
/* | |
Go on your labels page (https://github.com/user/repo/labels) | |
Edit the following label array | |
or | |
Use this snippet to export github labels (https://gist.github.com/MoOx/93c2853fee760f42d97f) | |
and replace it | |
Paste this script in your console | |
Press Enter!! |
// go on you labels pages | |
// eg https://github.com/cssnext/cssnext/labels | |
// paste this script in your console | |
// copy the output and now you can import it using https://github.com/popomore/github-labels ! | |
var labels = []; | |
[].slice.call(document.querySelectorAll(".js-label-link")) | |
.forEach(function(element) { | |
labels.push({ | |
name: element.textContent.trim(), |
// Gulp 4 | |
var gulp = require('gulp'); | |
var using = require('gulp-using'); | |
var grep = require('gulp-grep'); | |
var changed = require('gulp-changed'); | |
var del = require('del'); | |
var coffee = require('gulp-coffee'); | |
var less = require('gulp-less'); | |
var coffeelint = require('gulp-coffeelint'); | |
var sourcemaps = require('gulp-sourcemaps'); |
server { | |
listen 80; | |
server_name domain.ru; | |
rewrite ^(.*)$ http://www.domain.ru$1 permanent; | |
} | |
server { | |
listen 80; | |
server_name www.domain.ru; |
location = /sitemap.xml { | |
rewrite ^ /index.php?route=feed/google_sitemap; | |
} | |
location = /googlebase.xml { | |
rewrite ^ /index.php?route=feed/google_base; | |
} | |
location /download/ { | |
rewrite ^ /index.php?route=error/not_found; |
index index.php; | |
location / { | |
try_files $uri $uri/ /index.php?q=$uri&$args; | |
} | |
location ~ \.php$ { | |
#fastcgi_pass 127.0.0.1:9000; | |
fastcgi_pass unix:/var/run/php5-fpm.sock; | |
fastcgi_index index.php; |
As configured in my dotfiles.
start new:
tmux
start new with session name: