Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096| import { manifest } from '@sapper/internal/manifest-server' | |
| export const definition = () => { | |
| const openapi = { openapi: '3.0.0', paths: {} } | |
| const routes = manifest.server_routes | |
| for (const route of routes) { | |
| const pattern = route.pattern.toString() | |
| let name = pattern.replace('^\\/', '').replace('\\/?$/', '') | |
| let params | |
| if (name.endsWith('\\/([^/]+?)')) { |
| " :[range]SortGroup[!] [n|f|o|b|x] /{pattern}/ | |
| " e.g. :SortGroup /^header/ | |
| " e.g. :SortGroup n /^header/ | |
| " See :h :sort for details | |
| function! s:sort_by_header(bang, pat) range | |
| let pat = a:pat | |
| let opts = "" | |
| if pat =~ '^\s*[nfxbo]\s' | |
| let opts = matchstr(pat, '^\s*\zs[nfxbo]') |
| curl --include \ | |
| --no-buffer \ | |
| --header "Connection: Upgrade" \ | |
| --header "Upgrade: websocket" \ | |
| --header "Host: example.com:80" \ | |
| --header "Origin: http://example.com:80" \ | |
| --header "Sec-WebSocket-Key: SGVsbG8sIHdvcmxkIQ==" \ | |
| --header "Sec-WebSocket-Version: 13" \ | |
| http://example.com:80/ |
A work in progress collection of proprietary and as of yet undocumented HomeKit characteristics and their UUIDs used by Elgato Eve.
This list is not including all Eve accessories available and some services and characteristics still make no sense to me. If you have anything to contribute, please leave a comment. There is no guarantee that the information listed below is correct.
| Service - Characteristic | UUID | R | W | Type | Description |
|---|
| ;;;; | |
| ; npm userconfig file | |
| ; this is a simple ini-formatted file | |
| ; lines that start with semi-colons are comments. | |
| ; read `npm help config` for help on the various options | |
| ;;;; | |
| ;;;; | |
| ; all options with default values | |
| ;;;; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Angular JS</title> | |
| </head> | |
| <body ng-app="jsbin"> | |
| <div ng-controller="DemoCtrl as demo"> | |
| <h1>Hello {{demo.name}}</h1> | |
| </div> |
| /* | |
| In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp | |
| server, but for some reason omit a client connecting to it. I added an | |
| example at the bottom. | |
| Save the following server in example.js: | |
| */ | |
| var net = require('net'); |