Ensure that Cursor is not running before making any changes.
This file contains hidden or 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
| // ==UserScript== | |
| // @name WhatsApp Web Calling Enabler | |
| // @namespace https://hisalman.in | |
| // @version 1.0 | |
| // @description Enable calling features in WhatsApp Web by overriding AB test configurations. | |
| // @author salman0ansari | |
| // @match https://web.whatsapp.com/* | |
| // @run-at document-start | |
| // @grant none | |
| // ==/UserScript== |
This file contains hidden or 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
| // return the decrypted payload bytes, or nil if no <enc> node was found. | |
| func (cli *Client) decryptCallOffer(ctx context.Context, offerNode *waBinary.Node, callCreator types.JID, timestamp time.Time) ([]byte, error) { | |
| // Find the <enc> node inside the offer | |
| encNode, ok := offerNode.GetOptionalChildByTag("enc") | |
| if !ok { | |
| return nil, nil // No encrypted content | |
| } | |
| content, ok := encNode.Content.([]byte) | |
| if !ok { |
This file contains hidden or 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
| { | |
| "version": "", | |
| "name": "", | |
| "assetdir": "", | |
| "reloaddirs": "", | |
| "build:dir": "", | |
| "frontend:dir": "", | |
| "frontend:install": "", | |
| "frontend:build": "", | |
| "frontend:dev": "", |
I hereby claim:
- I am salman0ansari on github.
- I am salman0ansari (https://keybase.io/salman0ansari) on keybase.
- I have a public key ASB4PMtSFcqEpJjAWM3aAr62yjkO5V3f0Yk6NHChBx2oEQo
To claim this, I am signing this object:
This file contains hidden or 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
| // https://x.com/cneuralnetwork/status/1831989042826629546 | |
| const digits = "4137894711755904"; | |
| let sum = []; | |
| digits.split("").map((digit, index) => { | |
| if (index % 2 === 0) { | |
| const double = +digit * 2; | |
| if (double > 9) { | |
| let pushItem = String(double) |
This file contains hidden or 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
| --- | |
| swagger: "2.0" | |
| info: | |
| description: | | |
| This is a swagger defenition for [Telegram bot API](https://core.telegram.org/bots/api). | |
| version: "3.6" | |
| title: Telegram Bot API | |
| host: api.telegram.org | |
| schemes: | |
| - https |
This file contains hidden or 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 | |
| check_storage() { | |
| # Get the disk usage percentage | |
| usage=$(df -h --output=pcent / | tail -n 1 | tr -d ' %') | |
| if [ "$usage" -ge 70 ]; then | |
| return 0 | |
| else | |
| return 1 | |
| fi |
This file contains hidden or 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
| import React, { useEffect } from 'react'; | |
| import { Space, Table, Tag } from 'antd'; | |
| import type { ColumnsType } from 'antd/es/table'; | |
| import { atom, useAtom } from 'jotai' | |
| import { currentTableData } from './atoms'; | |
| interface DataType { | |
| Id: string; | |
| Jid: string; | |
| Name: string; |
NewerOlder