Skip to content

Instantly share code, notes, and snippets.

diff --git a/client/lib/App.pm b/client/lib/App.pm
old mode 100644
new mode 100755
index 1d8bcc0..ad381fa
--- a/client/lib/App.pm
+++ b/client/lib/App.pm
@@ -53,7 +53,7 @@ sub url {
{
my %handlers = map { $_ => 1} qw(
index create chat status raw events
// #1 - Default button
Button(action: {}) {
Text("Example 1")
}
// #1 - Default button
Button(action: {}) {
Text("Example 1")
}
// #2 - Give it some padding, a background, and rounded corners
Button(action: {}) {
Text("Example 2").color(.white)
}
.padding(.all)
/* THIS FILE IS AUTO-GENERATED, EDITS WILL BE OVERWRITTEN */
import Vue from 'vue'
import expect from 'expect'
import { config, mount, createLocalVue } from '@vue/test-utils'
import Component from '../../examples/todomvc/components/App.vue'
import store from '../../examples/todomvc/store'
config.stubs.transition = false
# /etc/haproxy/haproxy.cfg, version 1.4
global
maxconn 4096
user haproxy
group haproxy
daemon
defaults
log global
let cpSpawn = require('child_process').spawn;
async function spawn(cmd, args, opts, handleStdout, handleStderr) {
return new Promise((resolve, reject) => {
let handle = cpSpawn(cmd, args, opts);
handle.stdout.setEncoding('utf8');
handle.stdout.on('data', d => handleStdout(d.toString()));
handle.stderr.setEncoding('utf8');
func outlineViewItemWillExpand(_ notification: Notification) {
if let entity = notification.userInfo?["NSObject"] as? DesktopFolderEntity {
guard let sortDescriptor = self.outlineView.sortDescriptors.first else { return }
entity.isExpanding = true
let childrenFetch = BlockOperation {
entity.buildChildren()
entity.sortChildren(sortDescriptor: sortDescriptor)
import Cocoa
import Foundation
class RecallOutlineView: NSOutlineView {
required init?(coder: NSCoder) {
super.init(coder: coder)
}
var isReceivingDrag = false {
didSet {
func createNewWindow() -> NSWindowController? {
let storyboard = NSStoryboard(name: "Main", bundle: nil)
guard let mainViewController = storyboard.instantiateController(withIdentifier: "OutlineViewController") as? RecallOutlineViewController else { return nil }
let newWindow = NSWindow(contentViewController: mainViewController)
newWindow.title = "Recall"
newWindow.toolbar = NSToolbar(identifier: "MainToolbar")
newWindow.makeKeyAndOrderFront(self)
buildscript {
repositories {
maven { url = 'https://files.minecraftforge.net/maven' }
jcenter()
mavenCentral()
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true
classpath group: 'net.md-5', name: 'SpecialSource', version: '1.8.6', changing: true
}