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
add_filter('woocommerce_paypal_supported_currencies', 'add_aed_paypal_valid_currency'); | |
function add_aed_paypal_valid_currency($currencies) | |
{ | |
array_push($currencies, 'INR'); /* YOUR CURRENCY */ | |
return $currencies; | |
} | |
add_filter('woocommerce_paypal_args', 'woocommerce_paypal_args_for_inr'); | |
function woocommerce_paypal_args_for_inr($paypal_args) | |
{ |
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
const AppNavigator = createStackNavigator( | |
{ | |
Screen: Screen, | |
Login: Login, | |
Intro: Intro, | |
}, | |
{ | |
initialRouteName: 'Screen', | |
transitionConfig, | |
navigationOptions: { |
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
<script type="text/javascript"> | |
eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(3(){(3 a(){8{(3 b(2){7((\'\'+(2/2)).6!==1||2%5===0){(3(){}).9(\'4\')()}c{4}b(++2)})(0)}d(e){g(a,f)}})()})();',17,17,'||i|function|debugger|20|length|if|try|constructor|||else|catch||5000|setTimeout'.split('|'),0,{})) | |
</script> |
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
import ws from 'k6/ws' | |
import { check } from 'k6' | |
export const options = { | |
stages: [ | |
{ duration: '30s', target: 100 }, | |
{ duration: '2m', target: 1000 }, | |
{ duration: '2m', target: 2000 }, | |
{ duration: '2m', target: 3000 }, | |
{ duration: '1m', target: 0 } |
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
{ | |
"version": "2.2306.9", | |
"description": "A cross-platform messaging and Voice over IP service.", | |
"homepage": "https://www.whatsapp.com", | |
"license": { | |
"identifier": "Freeware", | |
"url": "https://www.whatsapp.com/legal/" | |
}, | |
"architecture": { | |
"64bit": { |
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/sh | |
set -e | |
# Script was created from https://github.com/a-vrma 's docker script. | |
# Ref: https://github.com/imagemin/mozjpeg-bin/pull/57 | |
sudo apt-get update -y | |
sudo apt-get install -y build-essential nasm cmake ninja-build curl libpng-dev libpng-tools zlib1g-dev | |
mozjpeg_version=4.1.1 |
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
@echo off | |
REM IN YOUR SSL FOLDER, SAVE THIS FILE AS: makeCERT.bat | |
REM AT COMMAND LINE IN YOUR SSL FOLDER, RUN: makecert | |
REM IT WILL CREATE THESE FILES: example.cnf, example.crt, example.key | |
REM IMPORT THE .crt FILE INTO CHROME Trusted Root Certification Authorities | |
REM REMEMBER TO RESTART APACHE OR NGINX AFTER YOU CONFIGURE FOR THESE FILES | |
REM PLEASE UPDATE THE FOLLOWING VARIABLES FOR YOUR NEEDS. | |
SET HOSTNAME=example |
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
const { createLogger, format, transports } = require('winston') | |
const moment = require('moment') | |
// set default log level. | |
const logLevel = 'info' | |
var logger = createLogger({ | |
level: logLevel, | |
levels: { | |
fatal: 0, |
OlderNewer