A quick guide on how to setup Node.js development environment.
Previous versions of these install instructions had been tested with:
using System; | |
public class PaystackFees | |
{ | |
const Double DEFAULT_PERCENTAGE = 0.015; | |
const Double DEFAULT_ADDITIONAL_CHARGE = 10000; | |
const Double DEFAULT_THRESHOLD = 250000; | |
const Double DEFAULT_CAP = 200000; | |
private Double percentage; |
package co.paystack.android.api.utils; | |
/** | |
* Created by ibrahimlawal on Mar/14/2016. | |
* | |
* @author fkrauthan | |
* @see http://blog.dev-area.net/2015/08/13/android-4-1-enable-tls-1-1-and-tls-1-2/ | |
* @since 1.2.0 | |
* | |
* Modified to work with okHttp3.1.2 |
import math | |
class PaystackFee: | |
"""Work with Paystack's Fees""" | |
DEFAULT_PERCENTAGE = 0.015 | |
DEFAULT_ADDITIONAL_CHARGE = 10000 | |
DEFAULT_THRESHOLD = 250000 | |
DEFAULT_CAP = 200000 | |
percentage = DEFAULT_PERCENTAGE |
A quick guide on how to setup Node.js development environment.
Previous versions of these install instructions had been tested with:
using System; | |
public class MyHashHMACTester | |
{ | |
public static void Main() | |
{ | |
// Usage sample | |
Console.WriteLine(MyHashHMAC.sha512WithKey("{\"event\":\"charge.success\",\"data\":{\"id\":708206,\"domain\":\"test\",\"status\":\"success\",\"reference\":\"AB8760\",\"amount\":9000,\"message\":null,\"gateway_response\":\"Successful\",\"paid_at\":\"2017-02-02T08:18:39.000Z\",\"created_at\":\"2017-02-02T08:18:13.000Z\",\"channel\":\"card\",\"currency\":\"NGN\",\"ip_address\":\"154.118.4.232\",\"metadata\":{\"cancel_action\":\"https://gbeta.gigm.com/PayStack-Response.aspx\",\"custom_fields\":[],\"referrer\":\"http://gbeta.gigm.com/Passenger-Details.aspx\"},\"log\":{\"time_spent\":22,\"attempts\":1,\"authentication\":null,\"errors\":0,\"success\":false,\"mobile\":false,\"input\":[],\"channel\":null,\"history\":[{\"type\":\"input\",\"message\":\"Filled these fields: card number, card expiry, card cvv\",\"time\":22},{\"type\":\"action\",\"message\":\"Attempted to pay\",\"time\":22}]},\"fees\":null,\"fees_split\":n |
0815.ru | |
0wnd.net | |
0wnd.org | |
10minutemail.co.za | |
10minutemail.com | |
123-m.com | |
126.com | |
139.com | |
163.com | |
1fsdfdsfsdf.tk |
curl -O https://wordpress.org/latest.zip | |
unzip latest.zip | |
mv wordpress wp | |
rm latest.zip |
These instructions will guide you through the process of setting up local, trusted websites on your own computer.
These instructions are intended to be used on macOS Sierra, but they have been known to work in El Capitan, Yosemite, Mavericks, and Mountain Lion.
NOTE: You may substitute the edit
command for nano
, vim
, or whatever the editor of your choice is. Personally, I forward the edit
command to Sublime Text:
alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
<?php | |
// Get this from https://github.com/yabacon/paystack-class | |
require 'Paystack.php'; | |
$paystack = new Paystack('sk_test_xxx'); | |
// ... some code previously to obtain $token and $code for this subscription | |
// (both can be obtained by capturing `subscription.create` event) | |
// the code below throws an exception if there was a problem completing the request, | |
// else returns an object created from the json response |
<?php | |
// plain text | |
$headers = "MIME-Version: 1.0\r\n"; | |
$headers.= "From: =?utf-8?Q?" . quoted_printable_encode("Remaayo Int'l Guest House Limited") . "?= <info@remintguesthouseltd.com.ng>\r\n"; | |
$headers.= "Content-Type: text/plain;charset=utf-8\r\n"; | |
$headers.= "X-Mailer: PHP/" . phpversion(); | |
// html | |
$headers = "MIME-Version: 1.0\r\n"; |