Skip to content

Instantly share code, notes, and snippets.

View jonathanroze's full-sized avatar

Jonathan jonathanroze

View GitHub Profile
@jonathanroze
jonathanroze / 01-update-maxmind-database.config.js
Last active December 6, 2021 23:17
Script to install and update MaxMind geoipupdate in AWS ElasticBeanStalk (EBS)
// FILENAME: 01-update-maxmind-database.config
// LOCATION: <project>/.ebextensions/
// Script to setup geoipupdate (Maxmind) package on AWS ElasticBeanStalk (EBS)
// Don't forget to replace tar url by a version of your current architecture (and indeed, folder name)
// Replace <ACCOUNT_ID_TO_REPLACE> by your account Id
// Replace <LICENSE_KEY_TO_REPLACE> by your key
container_commands:
{
"messages": [
"Total [249] records found."
],
"result": [
{
"name": "Afghanistan",
"alpha2_code": "AF",
"alpha3_code": "AFG"
},
using System;
using Xamarin.Forms;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Collections.ObjectModel;
//using ZXing.Mobile;
//using ZXing.Net.Mobile.Forms;
//using System.Threading.Tasks;
using M2JOB;