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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "tsc-watch", | |
"command": "npm", | |
"args": ["run", "watch"], | |
"type": "shell", | |
"isBackground": true, | |
"group": "build", |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: unifi-video-deployment | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: unifi-video | |
template: |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: unifi-controller-deployment | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: unifi-controller | |
template: |
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
First, checkout the code: | |
$ git clone https://github.com/mozilla-services/autopush.git | |
$ git clone https://github.com/mozilla-services/simplepush_test.git | |
Setup the tester (assumes virtualenv is on the path): | |
$ cd simplepush_test | |
(simplepush_test/) $ make | |
Setup the autopush app: |
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
{ | |
"id": null, | |
"title": "Grafana", | |
"originalTitle": "Grafana", | |
"tags": [], | |
"style": "dark", | |
"timezone": "browser", | |
"editable": true, | |
"hideControls": false, | |
"rows": [ |
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
{-# LANGUAGE OverloadedStrings #-} | |
{-# LANGUAGE ScopedTypeVariables #-} | |
module Main | |
( | |
main | |
) where | |
import Control.Concurrent | |
import qualified Control.Exception as E |
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
Configuring hashable-1.2.2.0... | |
Building hashable-1.2.2.0... | |
Preprocessing library hashable-1.2.2.0... | |
[1 of 3] Compiling Data.Hashable.Class ( Data/Hashable/Class.hs, dist/dist-sandbox-921acbd0/build/Data/Hashable/Class.o ) | |
Data/Hashable/Class.hs:201:11: Warning: | |
In the use of ‘bitSize’ (imported from Data.Bits): | |
Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead" | |
Data/Hashable/Class.hs:224:11: Warning: |
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
{-# LANGUAGE QuasiQuotes #-} | |
{-# LANGUAGE TemplateHaskell #-} | |
{-# LANGUAGE TypeFamilies #-} | |
module Main | |
( | |
main | |
) where | |
import Conduit |
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
@view_config(context=Page, name="edit", route_name="pages", permission="admin") | |
@view_config(context=Page, name="edit", route_name="pages_by_url", permission="admin") | |
def view_page_edit(context, request): | |
return Response("edit '%s'" % context.title) | |
# would be nice if... | |
@view_config(context=Page, name="edit", route_name="*", permission="admin") | |
def view_page_edit(context, request): | |
return Response("edit '%s'" % context.title) |
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
html { | |
background-color: -moz-dialog; | |
} | |
body { | |
margin: 0; | |
overflow: auto; | |
font-family: Lucida Grande, sans-serif; | |
font-size: 11px; | |
border-top: 1px solid #BBB9BA; |