Skip to content

Instantly share code, notes, and snippets.

View mrkiura's full-sized avatar
🚀

Alex mrkiura

🚀
  • Nairobi
View GitHub Profile
import ast
import sys
from _ast import Dict
from collections import defaultdict
from typing import Any
class FindDuplicateKeys(ast.NodeVisitor):
def visit_Dict(self, node: Dict) -> Any:
seen = defaultdict(list)
@mrkiura
mrkiura / SignupForm.js
Last active July 16, 2021 07:39
SignupForm component
import React from 'react';
import { useHistory } from 'react-router-dom';
import { useGlobalState } from '../RoomContextProvider';
import { Device } from '@twilio/voice-sdk';
const SignupForm = ({onSubmit}) => {
const history = useHistory()
const [state, setState] = useGlobalState();
const handleSubmit = e => {

Journey

Keybase proof

I hereby claim:

  • I am alexkiura on github.
  • I am kiura (https://keybase.io/kiura) on keybase.
  • I have a public key ASAtgekfEcGZAiOQ-etwpLE448-7dUH0OEproovvGXJBuAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am alexkiura on github.
  • I am kiura (https://keybase.io/kiura) on keybase.
  • I have a public key ASAtgekfEcGZAiOQ-etwpLE448-7dUH0OEproovvGXJBuAo

To claim this, I am signing this object: