# Automatic initialization of terminals on start in `Atom` with `platformio-ide-terminal` plugin.
# Script was tested with `Atom` 1.12.9 and `platformio-ide-terminal` 2.2.2.
#
# Author: metamaker <https://github.com/metamaker>
#
# How to install:
# 1. Add this script to Atom's `init.coffee`.
# 2. Write your actual terminals configuration to `terminals` variable.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import PropTypes from 'prop-types'; | |
import Dropzone from 'react-dropzone'; | |
import {translate} from 'admin-on-rest'; | |
import FileInputPreview from "admin-on-rest/lib/mui/input/FileInputPreview"; | |
const defaultStyle = { | |
dropZone: { | |
background: '#efefef', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const table; /* DOM Element that reacts to resize event */ | |
// Initialize table | |
const __sync = () { /* some happy crappy code */ }; | |
$(window).on('resize', null, { | |
type: 'sticky-table-handler', | |
table: table | |
}, __sync); | |
__sync(); |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).