Skip to content

Instantly share code, notes, and snippets.

import React from 'react';
import PropTypes from 'prop-types';
import { MuiThemeProvider } from '@material-ui/core/styles';
import { lightTheme } from '~/config/theme/index';
function getDisplayName(Component) {
return Component.displayName || Component.name || 'Component';
}
@yuzhakovvv
yuzhakovvv / server.sh
Created February 11, 2017 22:24
BASH Scripts to Setup a Server for Front/Back
#!/usr/bin/env bash
apt-get -y update;
apt-get -y upgrade;
apt-get -y install htop;
#swap file
cd /var;
touch swap.img;
chmod 600 swap.img;
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->