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
<?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>
<?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>
@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
@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()]});
[...]
}
<!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";
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';
import React from 'react';
import StandardMenu from '../Shared/StandardMenu/StandardMenu';
import Checkbox from "../Shared/checkbox";
export default class SettingsMenu extends React.component{
constructor(props) {
super(props);
this.updateSettings = this.updateSettings.bind(this);
this.changePath = this.changePath.bind(this);
import React from 'react';
import StandardMenu from '../Shared/StandardMenu/StandardMenu';
import Checkbox from "../Shared/checkbox";
const os = require('os');
export default class SettingsMenu extends React.component {
constructor(props) {
super(props);
java.util.ArrayList;
import javafx.geometry.Pos;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.stage.Stage;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.layout.Pane;
import javafx.scene.layout.HBox;
java.util.ArrayList;
import javafx.geometry.Pos;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.stage.Stage;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.layout.Pane;
import javafx.scene.layout.HBox;