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
app.on('ready', function() { | |
app.commandLine.appendSwitch("js-flags", "--harmony"); | |
// Create the browser window, load main page etc | |
// ... | |
}); |
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 RxSwift | |
import ReSwift | |
public typealias Epic = (Observable<Action>, @escaping GetState) -> Observable<Action> | |
public func CombineEpics(epics: [Epic]) -> Epic { | |
return { (actions: Observable<Action>, getState: @escaping GetState) -> Observable<Action> in | |
return Observable.from(epics) | |
.map{ e in e(actions, getState) } | |
.merge() |
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
LOCAL_PATH := $(call my-dir) | |
include $(CLEAR_VARS) | |
LOCAL_MODULE := loader | |
LOCAL_MODULE_TAGS := optional | |
LOCAL_SRC_FILES := loader.c | |
LOCAL_CPPFLAGS := -std=gnu++0x -Wall | |
LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog -pie -fPIE |
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
; | |
; VMRC "Maximizer" | |
; | |
; Simple procedure to maximize VMRC's desktop area, while keeping the Windows 10 | |
; taskbar docked to the side. Remove the VMRC window titlebar, and the toolbar. | |
; | |
; SETUP | |
; | |
; - Set Windows Taskbar docked to the right | |
; |
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
// From: https://dev.to/mckabue/an-aspnet-core-request---response-logger-middleware-clb | |
using System; | |
using System.IO; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.AspNetCore.Http.Internal; | |
using Microsoft.IO; |
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
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################ | |
############ also be sure to RESTART OpenProject after replacing the file. ################ | |
############ it doesn't show that enterprise mode is enabled in the settings, but all ################ | |
############ enterprise mode features, such as KanBan boards, are enabled. ################ | |
#-- copyright | |
# OpenProject is an open source project management software. | |
# Copyright (C) 2012-2023 the OpenProject GmbH | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License version 3. |