Skip to content

Instantly share code, notes, and snippets.

View shmidtelson's full-sized avatar
💻
I do so as much as i can

Roman Sapezhko shmidtelson

💻
I do so as much as i can
View GitHub Profile
@shmidtelson
shmidtelson / qwe
Last active November 15, 2019 14:17
qweqwe
import reducer, { initialState } from './reducer'
import * as t from './actionTypes'
describe('session reducer', () => {
it('should return the initial state', () => {
expect(reducer(undefined, {})).toEqual(initialState)
})
it('LOG_IN_REQUEST', () => {
const action = { // РАБ СИСТЕМЫ // САМ РАБ
@shmidtelson
shmidtelson / ajenti-v-php7.3.sh
Last active August 21, 2021 02:47 — forked from kn9/ajenti-v-php7.sh
Ubuntu Nginx Web Server with Ajenti with PHP 7.3
#Insall Ajenti ubuntu 18.04
apt-get update
wget http://repo.ajenti.org/debian/key -O- | apt-key add -
echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" >> /etc/apt/sources.list
apt-get update
# install python imaging
apt upgrade
apt-get install python-pillow
cd ~
wget http://security.ubuntu.com/ubuntu/pool/universe/p/pillow/python-imaging_4.1.1-3build2_all.deb
@shmidtelson
shmidtelson / default.conf
Last active November 17, 2018 10:56
NGiNX Configuration for Vue-Router in HTML5 Mode
server {
listen 80 default_server;
listen [::]:80 default_server;
root /your/root/path;
index index.html;
server_name you.server.com;