Skip to content

Instantly share code, notes, and snippets.

View orospakr's full-sized avatar

Andrew Clunis orospakr

View GitHub Profile
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix

Rover 2.0 Debug App

rv-inbox://presentSettings

rv-inbox://presentExperience?id=5b89513b045f150012698fb1

rv-inbox://presentNotificationCenter

@orospakr
orospakr / open-notification-example.swift
Last active June 13, 2019 18:12
Example of how to open a Rover Notification manually.
// NOTE: a future update is going to render this code unnecessary.
let notification = // get a reference to the Rover Notification using your own table data source.
// Resolve various Rover subsystems from the SDK that you will need to do the below logic.
// (Change `RoverCampaigns` to `Rover` if you are still targetting 2.x)
let notificationStore = RoverCampaigns.shared!.resolve(NotificationStore.self)!
let router = RoverCampaigns.shared!.resolve(Router.self)!
let dispatcher = RoverCampaigns.shared!.resolve(Dispatcher.self)!
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN graphql-gateway No repository field.
npm WARN graphql-gateway No license field.
npm ERR! path /rover/graphql-gateway/node_modules
npm ERR! code EBUSY
npm ERR! errno -16
npm ERR! syscall mkdir
npm ERR! EBUSY: resource busy or locked, mkdir '/rover/graphql-gateway/node_modules'
import Foundation
import RoverCampaigns
@objcMembers @objc
public class RoverWrapper : NSObject {
public static func startRover() {
// The following is the same as you have seen in the Rover documentation:
// Initialize Rover Campagins with its modules