Skip to content

Instantly share code, notes, and snippets.

View jbis9051's full-sized avatar
😎
Reinventing Everything

Josh Brown jbis9051

😎
Reinventing Everything
View GitHub Profile
import React, {Component} from 'react';
import './css/App.css';
import './css/box.css';
import './css/settings.css';
import './css/pastDownloads.css';
import './css/standard_prompt.css';
import './css/tooltip.css';
import './css/downloads.css';
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script>
const {ipcRenderer} = require('electron');
ipcRenderer.on('getPage', e => {
window.location.href = "http://localhost:3000";
@jbis9051
jbis9051 / App.js
Last active February 22, 2019 16:53
<div className={"right-align"}>
<Tool className={"confirm-btn"} icon={"fas fa-check"}
onClick={() => this.beginDownload()}/>
</div>
[...]
beginDownload() {
[...]
this.setState({downloads: [...this.state.downloads, new Download()]});
[...]
}
@jbis9051
jbis9051 / sshd_config
Created August 25, 2018 00:26
/etc/ssh/
# $OpenBSD: sshd_config,v 1.101 2017/03/14 07:19:07 djm Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options override the
# default value.
Port 111
Port 22
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadIdentifier</key>
<string>com.company.macos.blockapps</string>
<key>PayloadRemovalDisallowed</key>
<true/>
<key>PayloadScope</key>
<string>System</string>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadIdentifier</key>
<string>com.company.mcx.blockapps</string>
<key>PayloadRemovalDisallowed</key>
<true/>
<key>PayloadScope</key>
<string>System</string>