I hereby claim:
- I am faisalabid on github.
- I am faisalabid (https://keybase.io/faisalabid) on keybase.
- I have a public key ASBWd5Ne3LV-T36cpqI7FhZnmjofBeGbgOVs58ATCKDlmwo
To claim this, I am signing this object:
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(new MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return new MaterialApp( |
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(new MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return new MaterialApp( |
I hereby claim:
To claim this, I am signing this object:
| test.dynamatik.com | |
| gzip | |
| proxy /ws ip { | |
| websocket | |
| } | |
| proxy / sameIpAsAbove { | |
| except /ws | |
| } |
| if (req.uri.path == "/ws") { | |
| WebSocketTransformer.upgrade(req).then((socket) { | |
| rt.handleMessage(socket); | |
| }, onError:(error) { | |
| Logger.root.severe(error); | |
| }); | |
| } |
| handleMessage(WebSocket webSocket) { | |
| webSocket.map((string) => JSON.decode(string)).listen((Map map) async { | |
| if (map["type"] == "client") { | |
| await connectClient(map["userID"], webSocket); | |
| } else { | |
| await handleChatMessage(map, webSocket); | |
| } | |
| }, onError: (error, stack) { | |
| Logger.root.severe(error); |
| // This is a generated file (see the discoveryapis_generator project). | |
| library googleapis.toyApi.D0_1; | |
| import 'dart:core' as core; | |
| import 'dart:collection' as collection; | |
| import 'dart:async' as async; | |
| import 'dart:convert' as convert; | |
| import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| [Uncaught Error: The null object does not have a getter '_cursor'. | |
| NoSuchMethodError: method not found: '_cursor' | |
| Receiver: null | |
| Arguments: [] | |
| Stack Trace: | |
| #0 Object._noSuchMethod (dart:core-patch/object_patch.dart:42) | |
| #1 Object.noSuchMethod (dart:core-patch/object_patch.dart:45) | |
| #2 Connection._read_response (package:rethinkdb_driver/src/net.dart:267:49) | |
| #3 Connection._read_response (package:rethinkdb_driver/src/net.dart:279:16) |
| void enableSSL() { | |
| // the password used for the certutil db | |
| var sslPassword = ""; | |
| // the certificate subject | |
| // retrieved from certutil with command | |
| // > certutil -d sql:. -L -n my_domain | |
| // and look for the "Subject: " line under certificate data | |
| var certificateName = "CN=mydomain.com,OU=..."; |
| library db.redis; | |
| import 'dart:async'; | |
| import 'package:redis_client/redis_client.dart'; | |
| import 'package:connection_pool/connection_pool.dart'; | |
| class Redis { | |
| static Future<RedisClient> getRedis() async { | |
| ManagedConnection managedConnection = await new RedisPool().getConnection(); |