I hereby claim:
- I am thomasrooney on github.
- I am thomasrooney (https://keybase.io/thomasrooney) on keybase.
- I have a public key ASBoX6Ce4RakCSUXiabeT0cTZCZmOvo8-NGuhm68-Y8lbQo
To claim this, I am signing this object:
| openapi: 3.1.0 | |
| servers: | |
| - url: https://api.netbird.io | |
| description: Default server | |
| info: | |
| title: NetBird REST API | |
| description: API to manipulate groups, rules, policies and retrieve information about peers and users | |
| version: 0.0.1 | |
| tags: | |
| - name: Users |
| import * as https from 'https'; | |
| import { URL } from 'url'; | |
| const AWS = require('aws-sdk'); | |
| export function assertEnv(key: string): string { | |
| if (process.env[key] !== undefined) { | |
| return process.env[key]!; | |
| } | |
| throw new Error(`expected environment variable ${key}`); |
| import { useEffect, useState } from 'react'; | |
| import { DataStore } from '@aws-amplify/datastore'; | |
| import type { | |
| PersistentModel, | |
| PersistentModelConstructor, | |
| ProducerModelPredicate, | |
| ProducerPaginationInput, | |
| } from '@aws-amplify/datastore'; | |
| export const useDataStore = <T extends PersistentModel>( |
| #! /bin/sh | |
| if ! which dns-sd > /dev/null | |
| then | |
| echo "Requires dns-sd" | |
| exit | |
| fi | |
| if (( $# < 1 )) ; then | |
| echo "Requires devicename as an argument" |
I hereby claim:
To claim this, I am signing this object:
| impssh() { | |
| shellServerIndex=$((RANDOM%4+1)) | |
| username="tr111" | |
| shellServer=shell$shellServerIndex.doc.ic.ac.uk | |
| if (( $# >= 1 )) ; then | |
| ssh -t $username@$shellServer "ssh $1" |
| ruby -rsocket -e "require 'webrick';include WEBrick;s = HTTPServer.new(:Port => 80, :DocumentRoot => Dir::pwd);trap(\"INT\"){ s.shutdown };s.start;" | |
| ruby -rsocket -e "require 'webrick';include WEBrick;s = HTTPServer.new(:Port => 8080, :DocumentRoot => \"/opt/blocks/client/bin\");trap(\"INT\"){ s.shutdown };s.start;" | |
| 146.169.44.231 |