I hereby claim:
- I am banagale on github.
- I am ripta (https://keybase.io/ripta) on keybase.
- I have a public key ASBQIWFoZCW-maRzA_BfwRaYmYBMq8R0wEFhhOIVmYp3wQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // As discussed in https://github.com/evanw/esbuild/issues/1688 | |
| require('esbuild').build({ | |
| entryPoints: ['./briefings/frontend/src/briefings.ts'], | |
| outfile: './briefings/frontend/build/briefings-fe.js', | |
| bundle: true, | |
| minify: true, | |
| target: 'es2017', | |
| color: true, | |
| watch: { |
| import Cookies from "js-cookie"; | |
| import { wvApiUrl } from "../../routes"; | |
| const fetchUrl = wvApiUrl.events(); | |
| export async function useSendGatheringEvent(bodyData) { | |
| const response = await fetch(fetchUrl, { | |
| method: 'POST', | |
| body: JSON.stringify(bodyData), | |
| headers: { |
| import logging | |
| from rest_framework import serializers | |
| from rest_framework.authentication import SessionAuthentication, TokenAuthentication | |
| from rest_framework.permissions import IsAuthenticated | |
| from rest_framework.response import Response | |
| from rest_framework.views import APIView | |
| from core.analytics.helpers import track_event | |
| from frontend.api.event_constants import GATHERING_EVENT_ID_MAP |
| import Cookies from "js-cookie"; | |
| import { wvApiUrl } from "../../routes"; | |
| const fetchUrl = wvApiUrl.ovToken(); | |
| export async function useCreateSessionToken(bodyData) { | |
| const response = await fetch(fetchUrl, { | |
| method: 'POST', | |
| body: JSON.stringify(bodyData), | |
| headers: { |
| <?php | |
| function display_wordpress_user_auth() | |
| { ?> | |
| <script> | |
| <?php | |
| $current_user = wp_get_current_user(); | |
| if (isset($current_user)) { | |
| if ($current_user->ID === 0) { | |
| echo 'console.log(\'User is anonymous\');'; | |
| } else { |
| const nodeRSA = require('node-rsa'); | |
| const fetch = require('node-fetch'); | |
| const publicKey = 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCbM2br48JS2JJy8Ajy0gy33Gu5RNAFgysUp4Mj9FqzXWg7AwdGaXc0vIAGG3vmyrP906qJpiEV1aW9GhsEGNQ9Mjmngfnu1VAKZjskVToqG1ktiXZJKSlVUfGTYj+r1lKDgd2iKt4azIzoeElk1gnLovn8zEaiCT7prHlzWWb7JgW3qp1e12e5WvSC5xX9P5iKOs6WM3qTSAX3e8qGeA9wtlHdQuDjSjWA0WlYQIFKgpoCBNZeldNxel79QgR7QKG6Oo/H4aImhDW9vXH00mGVy9QX11ngovVYPhCQWzsAo+v+Y2lAJUtFdjr2t9/mJisKxpYvpMeqVo2ZSydwBmb5' | |
| const consumerId = 'change this to your consumer id' | |
| const privateKey = "MIIEpAIBAAKCAQEAmzNm6+PCUtiScvAI8tIMt9xruUTQBYMrFKeDI/Ras11oOwMH\ | |
| Rml3NLyABht75sqz/dOqiaYhFdWlvRobBBjUPTI5p4H57tVQCmY7JFU6KhtZLYl2\ | |
| SSkpVVHxk2I/q9ZSg4HdoireGsyM6HhJZNYJy6L5/MxGogk+6ax5c1lm+yYFt6qd\ | |
| XtdnuVr0gucV/T+YijrOljN6k0gF93vKhngPcLZR3ULg40o1gNFpWECBSoKaAgTW\ | |
| XpXTcXpe/UIEe0ChujqPx+GiJoQ1vb1x9NJhlcvUF9dZ4KL1WD4QkFs7AKPr/mNp\ |
| #!/usr/bin/python3 | |
| from datetime import datetime | |
| import click | |
| import requests | |
| from py_imessage import imessage | |
| def build_store_dict(zipcode, n): | |
| url = f'https://www.walmart.com/grocery/v4/api/serviceAvailability?postalCode={zipcode}' |
| import { useEffect, useState } from "react"; | |
| export function useCustomHookDebugPattern(arg1, arg2, arg3, message, something, setSomething) { | |
| // Watch for loop progress | |
| const [count, setCount] = useState(1); | |
| // Additional local state | |
| const [prevMessageId, setPreviousMessageId] = useState(undefined); | |
| useEffect(() => { | |
| // Increment hook count |
| import time | |
| import base64 | |
| import hashlib | |
| import hmac | |
| def generate_signature(sig_ingredients: dict) -> str: | |
| """Python 3.6+ implementation of Zoom Signature Generation |