This file contains hidden or 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
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 |
This file contains hidden or 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
// #1 - Default button | |
Button(action: {}) { | |
Text("Example 1") | |
} |
This file contains hidden or 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
/* 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 |
This file contains hidden or 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
# /etc/haproxy/haproxy.cfg, version 1.4 | |
global | |
maxconn 4096 | |
user haproxy | |
group haproxy | |
daemon | |
defaults | |
log global |
This file contains hidden or 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
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'); |
This file contains hidden or 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
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) |
This file contains hidden or 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 Cocoa | |
import Foundation | |
class RecallOutlineView: NSOutlineView { | |
required init?(coder: NSCoder) { | |
super.init(coder: coder) | |
} | |
var isReceivingDrag = false { | |
didSet { |
This file contains hidden or 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
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) |
This file contains hidden or 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
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 | |
} |
OlderNewer