Skip to content

Instantly share code, notes, and snippets.

View orospakr's full-sized avatar

Andrew Clunis orospakr

View GitHub Profile
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
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'
@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)!

Rover 2.0 Debug App

rv-inbox://presentSettings

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

rv-inbox://presentNotificationCenter

# 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
adb I 90270 17586402 adb_io.cpp:99] writex: fd=7 len=4 4641494c FAIL
adb I 90270 17586402 adb_io.cpp:99] writex: fd=7 len=33 3030316464657669636520275a583147 001ddevice 'ZX1G
adb I 90270 17586402 sockets.cpp:739] SS(0): okay transport
adb I 90270 17586402 sockets.cpp:345] LS(1146): fd=7 post peer->enqueue(). r=0
adb I 90270 17586402 fdevent.cpp:373] --- --- waiting for events
adb I 90270 17586402 fdevent.cpp:241] poll(), pollfds = 7(R) 6(R) 9(R) 4(R)
adb I 90270 17586402 fdevent.cpp:249] for fd 7, revents = 11
adb I 90270 17586402 fdevent.cpp:274] (fdevent 7 AR) got events 5
adb I 90270 17586402 fdevent.cpp:287] fdevent_call_fdfunc (fdevent 7 AR)
adb I 90270 17586402 sockets.cpp:252] LS(1146): event_func(fd=7(==7), ev=0005)
==> Building and installing package
==> Making package: lxc-docker-git 1:0.7.0.rc4.3830.3c20a8c-1 (Fri Nov 22 00:20:43 EST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning docker git repo...
Cloning into bare repository '/tmp/yaourt-tmp-orospakr/aur-lxc-docker-git/docker'...
remote: Counting objects: 28291, done.
remote: Compressing objects: 100% (17198/17198), done.
remote: Total 28291 (delta 17149), reused 21143 (delta 10479)
E/ThermalEngine( 197): TM Id 'battery_LCD_monitor' Sensor 'batt_therm' - alarm raised 3 at 350.0 degC
E/ThermalEngine( 197): override action 5000
E/ThermalEngine( 197): Thermal-Server: Thermal received msg override 5000
E/ThermalEngine( 197): override_notify : SS mode 1 override 5000
E/ThermalEngine( 197): enable_threshold: tsens_tz_sensor3 (/sys/devices/virtual/thermal/thermal_zone3/trip_point_0_type)
E/ThermalEngine( 197): enable_threshold: tsens_tz_sensor3 (/sys/devices/virtual/thermal/thermal_zone3/trip_point_1_type)
E/ThermalEngine( 197): enable_threshold: tsens_tz_sensor8 (/sys/devices/virtual/thermal/thermal_zone8/trip_point_0_type)
E/ThermalEngine( 197): enable_threshold: tsens_tz_sensor8 (/sys/devices/virtual/thermal/thermal_zone8/trip_point_1_type)
E/ThermalEngine( 197): enable_threshold: tsens_tz_sensor7 (/sys/devices/virtual/thermal/thermal_zone7/trip_point_0_type)
E/ThermalEngine( 197): enable_threshold: tsens_tz_sensor7 (/sys/devices/virtual/thermal/thermal_zone7/trip_point_1_type)