Skip to content

Instantly share code, notes, and snippets.

View Kasiviswanathan3876's full-sized avatar
💭
I may be slow to respond.

KasiVisu Kasiviswanathan3876

💭
I may be slow to respond.
View GitHub Profile
@Kasiviswanathan3876
Kasiviswanathan3876 / meta-tags.md
Created June 21, 2016 17:53 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@Kasiviswanathan3876
Kasiviswanathan3876 / gist:f2b074031300fcd76033b9cae3712e3f
Created September 13, 2018 14:07 — forked from Epigene/gist:47c059a825acd4445e61
First Data FDL response (error) codes
RESPONSE_CODES = {
"000" => "Approved",
"001" => "Approved, honour with identification",
"002" => "Approved for partial amount",
"003" => "Approved for VIP",
"004" => "Approved, update track 3",
"005" => "Approved, account type specified by card issuer",
"006" => "Approved for partial amount, account type specified by card issuer",
"007" => "Approved, update ICC",
"100" => "Decline (general, no comments)",

Frontend Masters—Deploying Full Stack: Node.js & React on AWS

You should have the following completed on your computer before the workshop:

  • Have Node.js installed on your system. (Recommended: Use nvm.)
    • Unfortunately, you'll need to be on Node 9.x or earlier. Dependencies are hard and one of the dependencies of one of our dependencies is set to not allow Node 10.x.
    • Install yarn with brew install yarn.
  • Create an AWS account. (This will require a valid credit card.)
  • Install multi-factor authentication app (e.g. Authy, Google Authenticator, Duo).
  • Install the AWS CLI. (brew install awscli should do the trick. Otherwise, you'll need Python and PIP, which you can install using brew install python.)
CREATE TABLE IF NOT EXISTS `country` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iso` char(2) NOT NULL,
`name` varchar(80) NOT NULL,
`nicename` varchar(80) NOT NULL,
`iso3` char(3) DEFAULT NULL,
`numcode` smallint(6) DEFAULT NULL,
`phonecode` int(5) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
@Kasiviswanathan3876
Kasiviswanathan3876 / countries.sql
Created November 16, 2018 12:35 — forked from adhipg/countries.sql
Sql dump of all the Countries, Country Codes, Phone codes.
CREATE TABLE IF NOT EXISTS `country` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iso` char(2) NOT NULL,
`name` varchar(80) NOT NULL,
`nicename` varchar(80) NOT NULL,
`iso3` char(3) DEFAULT NULL,
`numcode` smallint(6) DEFAULT NULL,
`phonecode` int(5) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
+-----------+-------------------+------------------------------+--------+-----------------+-----+-----------------------+-----------+----------+-----------+
| gatewayid | name | description | active | autobillcapable | cvv | credentials_gatewayid | preferred | sequence | group |
+-----------+-------------------+------------------------------+--------+-----------------+-----+-----------------------+-----------+----------+-----------+
| 1 | landmark | Landmark | 0 | 1 | 1 | 1 | 0 | 11 | NULL |
| 2 | verisign | PayPal Payflow Pro | 0 | 1 | 1 | 2 | 1 | 4 | paypal |
| 3 | authorize | Authorize.Net | 1 | 1 | 1 | 3 | 0 | 1 | authorize |
| 4 | paradata | Payment Processing Inc. | 0 |
@Kasiviswanathan3876
Kasiviswanathan3876 / fortune500.txt
Created June 7, 2019 19:08 — forked from kurtroberts/fortune500.txt
Check a list of sites to see if they are Google Mobile friendly.
http://www.corporate.walmart.com/
http://www.exxonmobil.com/
http://www.chevron.com/
http://www.berkshirehathaway.com/
http://www.apple.com/
http://www.phillips66.com/
http://www.gm.com/
http://www.ford.com/
http://www.ge.com/
http://www.valero.com/
@Kasiviswanathan3876
Kasiviswanathan3876 / fortune1000.csv
Created June 7, 2019 19:09 — forked from bousquet/fortune1000.csv
Fortune 1000 List - circa 2009
rank name domain
1 Exxon Mobil exxonmobil.com
2 Wal-Mart Stores corporate.walmart.com
3 Chevron chevron.com
4 ConocoPhillips conocophillips.com
5 General Electric ge.com
6 General Motors gm.com
7 Ford Motor ford.com
8 AT&T att.com
9 Hewlett-Packard hp.com
@Kasiviswanathan3876
Kasiviswanathan3876 / GooglePlayPurchaseService.cs
Created June 7, 2019 19:11 — forked from jonathanpeppers/GooglePlayPurchaseService.cs
Google Play purchase service - HandleActivityResult
private TaskCompletionSource<Order> _purchaseSource;
private IPublicKey _publicKey;
//NOTE: get this key from the Google Play dev console, under Development Tools | Services & APIs | Licensing & in-app billing
public string PublicKey { get; set; }
//Order details class, parsed from JSON
private sealed class Order
{
public string PackageName { get; set; }
private CreditCardTransaction ProcessCustomerPaymentProfileTransaction(OrderContext context, transactionTypeEnum transactionType) {
//============================================
//New Transaction Method by Paul -- 02/28/2018
//============================================
var creditCardInformation = (CreditCardInformation) context.BillingInformation;
//Create or update the AuthNet Customer Profile and Payment Profile
EnsurePaymentProfile(context, creditCardInformation);
//Authenticate with Authorize.net