This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from telethon import TelegramClient, events, sync | |
from telethon.tl.types import InputPeerUser, InputPeerChannel | |
import yaml | |
import sys | |
import logging | |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s') | |
logging.getLogger('telethon').setLevel(level=logging.WARNING) | |
logger = logging.getLogger(__name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="wrapper"> | |
<div v-if="registered" class="pad"> | |
<div class="status"> | |
<span>•</span><span class="txt">REGISTERED</span> | |
</div> | |
<DialPad v-model="destination" ref="dialpad" /> | |
<Calling v-if="!incoming && (speaking||calling)" :counterpart-num="counterpartNum" :speaking="speaking" :onhold="onhold" @hold="hold" @unhold="unhold" /> | |
<Receiving v-if="incoming && !speaking" :counterpart-num="counterpartNum" @accept="answer" @decline="decline" /> | |
<button v-if="!incoming" class="call action-dig" @click.prevent="callOrHangup" :class="{ 'in-call': speaking||calling }" > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function stripe(Request $request){ | |
try{ | |
$result = true; | |
\Stripe\Stripe::setApiKey(config('services.stripe.secret_key')); | |
$payload = $request->getContent(); | |
Log::info('stripe-webhook',[ | |
'payload' => $payload | |
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.0 | |
info: | |
title: Web API | |
version: '1.0' | |
contact: | |
name: Lavan | |
email: [email protected] | |
license: | |
name: MIT | |
description: Rest API for User Dashboard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Helpers; | |
use \Firebase\JWT\JWT; | |
use Illuminate\Support\Str; | |
class Utils | |
{ | |
public static function generateToken($payload){ | |
$tokenId = (string) Str::uuid(); | |
$issuedAt = time(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
use \Firebase\JWT\JWT; | |
class ClientTokenAbility | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Not able to reply emails, while clicking send button, only loading (Screenshot Attached - Email) | |
Message sorting order in "Active Folder", "Completed" and "Archived" folder displaying randomly. Last actioned chats should be displayed first (Screenshot - sorting) | |
Search box is always loading when we search - (Screenshot - Searching) | |
If we do archive, then messages are moving to the archive folder after one manual refresh. if we do manual refresh then a blank page comes for a few seconds. (Screenshot- blank page) | |
Few messages are showing as "Deleted" in active tab and not able to read the content (Screenshot - Deleted) | |
Email attachment is not coming even sender attached something to see | |
All Active new message count showing as "1", but not able to find that message (Screenshot - Count) | |
When replying Facebook messenger, agent messages loading continuously but the same message content showing as sent by System (Screenshot - Facebook) | |
Archive folder loading happen for long time comparatively higher loading tim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get update -qq && sudo apt-get -y install \ | |
autoconf \ | |
automake \ | |
build-essential \ | |
cmake \ | |
git-core \ | |
libass-dev \ | |
libfreetype6-dev \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
use \Firebase\JWT\JWT; | |
class AdminTokenAbility | |
{ | |
protected $prefix = 'bearer'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_reactNative.UIManager.getViewManagerConfig is not a function. (In '_reactNative.UIManager.getViewManagerConfig('RCTNodeCamera')', '_reactNative.UIManager.getViewManagerConfig' is undefined) | |
start | |
NodeCameraModule.js:62:37 | |
onPress | |
index.js:212:24 | |
touchableHandlePress | |
TouchableOpacity.js:199:45 | |
_performSideEffectsForTransition | |
Touchable.js:746:34 |