Skip to content

Instantly share code, notes, and snippets.

View vin-ai's full-sized avatar
🐍
Pythoning

Vinay Kumar Sharma vin-ai

🐍
Pythoning
View GitHub Profile
@vin-ai
vin-ai / Yii-MailGun.php
Last active April 27, 2017 22:53
PHP Class for Yii PHP Framework to Send E-mails using Curl. It's uses MailGun API to send emails.
<?php
/**
* MailGun PHP Curl Client
*
* @version 1.1b
* @copyright &copy; 2015, VINAY KUMAR SHARMA <[email protected]>
* @author VINAY KUMAR SHARMA
*/
class MailGun extends CApplicationComponent {
{
"USD": {
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
},
@vin-ai
vin-ai / ajaxify-html5.js
Created August 17, 2012 05:53 — forked from balupton/README.md
Ajaxify a Website with the HTML5 History API using History.js, jQuery and ScrollTo
// https://gist.github.com/854622
(function(window,undefined){
// Prepare our Variables
var
History = window.History,
$ = window.jQuery,
document = window.document;
// Check to see if History.js is enabled for our Browser