https://www.perplexity.ai/search/7b10bf92-6ee6-47b4-8e1f-b39ace6ee873?s=u
https://www.phind.com/search?cache=b34651e1-f4e9-40ce-81da-411bd476d71f
| // let data = JSON.parse(responseBody); | |
| var authorization = pm.response.headers.get('authorization') | |
| var refreshToken = pm.response.headers.get('x-refresh-token') | |
| if (!authorization) return | |
| if (authorization) pm.environment.set("USER_ACCESS_TOKEN", authorization?.split(' ')[1]); | |
| if (refreshToken) pm.environment.set("USER_REFRESH_TOKEN", refreshToken); |
| const axios = require("axios"); | |
| require("dotenv").config(); | |
| const { toToman } = require("./helpers"); | |
| class TorobProduct { | |
| /** | |
| * @type {[Object]} | |
| */ | |
| #url; |
| /[^\w\s\-|\u0621-\u064A\u0660-\u0669\u06F0-\u06F9|\u06Af|\u067E|\u0698|\u0686|\u06CC|\u06A9|\u200C]/g |
| <?php | |
| /************************************************************************* | |
| php easy :: whois lookup script | |
| ========================================================================== | |
| Author: php easy code, www.phpeasycode.com | |
| Web Site: http://www.phpeasycode.com | |
| Contact: webmaster@phpeasycode.com | |
| *************************************************************************/ | |
| $domain = $_GET['domain']; |
| /^\S+@\S+\.\S+$/ | |
| /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/ |
| # https://martin.hoppenheit.info/blog/2015/set-windows-proxy-with-powershell/ | |
| $reg = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | |
| $settings = Get-ItemProperty -Path $reg | |
| $port = 10809 | |
| # select the gateway ip address from the default route and extract the ip address | |
| $gateway = Get-NetRoute | | |
| where {$_.DestinationPrefix -eq '0.0.0.0/0'} | | |
| select { $_.NextHop } |
| module.exports = (to = "World!") => { | |
| console.log(`Hello ${to}`); | |
| } |
| swaggerOptions: { | |
| persistAuthorization: true, | |
| responseInterceptor: function (response) { | |
| if (!response.url.includes("auth/signin")) return response; | |
| const accessToken = response.headers["x-access-token"]; | |
| console.log(response, accessToken); | |
| if (!accessToken) return response; | |
| let oldAuth = JSON.parse(localStorage.getItem("authorized")); | |
| if (oldAuth && oldAuth.accessToken) { | |
| oldAuth.accessToken.value = accessToken; |