Skip to content

Instantly share code, notes, and snippets.

Reigel Gallarde reigelgallarde

Block or report user

Report or block reigelgallarde

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
reigelgallarde / encryption.js
Last active Oct 2, 2018 — forked from Tiriel/encryption.js
Symetric encryption/decryption for PHP and NodeJS communication
View encryption.js
'use strict';
const crypto = require('crypto');
const AES_METHOD = 'aes-256-cbc';
const IV_LENGTH = 16; // For AES, this is always 16, checked with php
const password = 'lbwyBzfgzUIvXZFShJuikaWvLJhIVq36'; // Must be 256 bytes (32 characters)
function encrypt(text, password) {
View bot-for-wp.php
Plugin Name: Bot For WP
Description: Messenger bot for WordPress
Plugin URI:
Author: Sunny Luthra
Author URI: http://#
Version: 1.0
License: GPL2
View wc_customer_order_csv_export_order_row.php
function wc_customer_order_csv_export_order_row($order_data){
if (!is_array($order_data)) { return $order_data; }
if (!is_numeric($order_data['cart_discount'])) {
$order_data['cart_discount'] = 0.00;
if (!is_numeric($order_data['order_discount'])) {
$order_data['order_discount'] = 0.00;
reigelgallarde / woocommerce_product_tabs_contact_form7.php
Last active Feb 27, 2017
WooCommerce Additional Tab Product Inquiry.
View woocommerce_product_tabs_contact_form7.php
* Plugin Name: WooCommerce plus Contact Form 7
* Plugin URI:
* Description: Additional Tab Product Inquiry.
* Author: Reigel Gallarde
* Author URI:
* Version: 0.1
* Tested up to: 4.1
You can’t perform that action at this time.