Skip to content

Instantly share code, notes, and snippets.

View nick-kravchenko's full-sized avatar
🇺🇦

Nick nick-kravchenko

🇺🇦
View GitHub Profile
@nick-kravchenko
nick-kravchenko / nginx-latest.sh
Created July 31, 2018 13:22 — forked from gdarko/nginx-latest.sh
Install the latest nginx from source for Debian 8
# Automatically instal the latest nginx
wget -O - http://nginx.org/keys/nginx_signing.key | sudo apt-key add -
#Make a backup copy of your current sources.list file
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
#Now copy the following repositories to the end of ` /etc/apt/sources.list`
echo "deb http://nginx.org/packages/mainline/debian/ jessie nginx" | tee -a /etc/apt/sources.list
echo "deb-src http://nginx.org/packages/mainline/debian/ jessie nginx" | tee -a /etc/apt/sources.list
@nick-kravchenko
nick-kravchenko / react-redux-container-template.js
Created July 20, 2018 11:47 — forked from sseletskyy/react-redux-container-template.js
React Redux Container Component Webstorm/PHPStorm File Template
import React, { PropTypes, Component } from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
// Import actions here!!
class $NAME extends Component {
constructor(props, context) {
super(props, context);
}