Archive for March, 2020

My whirlwind tour into Terraform

First an introduction is found here:

https://learn.hashicorp.com/terraform/getting-started/install.html

and tools can be downloaded here.

Two examples are attempted:

https://www.youtube.com/watch?v=luQ8Fds-EQU

https://www.youtube.com/watch?v=-NLMi59KuH0

Question is: Why Terraform existed? To provide a cloud-independent means of programming and accessing cloud resources?

To setup Terraform, you first will need AWS keys:

and access key is some unique to AWS. So this is NOT cloud-independent.

The above is a terraform setup file (“main.tf“). Quite complicated, and definitely not vendor-independent.

Now debugging goes: “terraform init” and then “terraform apply” gives:

So Terraform must recognize and communicate with AWS CLI.

Another error:

And then looking at this:

https://discuss.hashicorp.com/t/data-aws-ami-without-specifying-owners/6256

Ok, I am giving up on debugging Terraform.

Exploring Terraform further:

So we can see that in Terraform – just focusing on AWS alone (see “AWS Provider”) there are so many configurations in Terraform that is customized for AWS and migrating to any other provider will not be so easy.

Flutter: Basic login and signup screen

This continue from a previous blog on Flutter development:

https://tthtlc.wordpress.com/2020/02/20/starting-flutter-development/

The objective: How to program the login screen using Flutter

Using the following login screen as an example:

https://github.com/TheAlphamerc/flutter_login_signup

To use flutter, we use "flutter run" and found no devices are connected.

Next, issuing "flutter devices" – same messages as "No devices detected." given.

Next run ‘flutter emulators‘ to list and start any available device emulators.

Next is to startup the emulator:

flutter emulators –launch Pixel_3a_API_29

After starting up the emulator, navigate to the login application’s directory and run "flutter run":

And the application appearing on the connected devices:

and looking into the application:

How to build native app with Flutter:

https://expertise.jetruby.com/a-step-by-step-guide-to-building-native-app-with-flutter-c4ae3082e52a

How to use custom classes in Flutter?

https://backendless.com/how-to-use-custom-classes-in-flutter-sdk/

Looking at the tail output of "flutter run":

We are given URL link:

Let us checkout the URL:

More getting started guide:

https://flutter.dev/docs/get-started/editor?tab=androidstudio

https://codelabs.developers.google.com/codelabs/first-flutter-app-pt2/#0

Learning WordPress Plugin: Getting started

Master reference:

https://codex.wordpress.org/Writing_a_Plugin

Core APIs – Make WordPress Core

https://make.wordpress.org/core/handbook/best-practices/core-apis/

Rest-API:

https://developer.wordpress.org/rest-api/reference/

JSON viewer:

https://chrome.google.com/webstore/detail/json-viewer/gbmdgpbipfallnflgajpaliibnhdgobh/related?hl=en-US

Basic architecture of a WordPress plugin:

https://code.tutsplus.com/articles/the-beginners-guide-to-wordpress-actions-and-filters–wp-27373

What are Hooks? Action vs Filter Hooks?

Common actions every webpage requires:

https://codex.wordpress.org/Plugin_API/Action_Reference

https://learnwoo.com/what-are-wordpress-hooks/

https://codeburst.io/how-to-write-a-wordpress-plugin-in-5-minutes-5f8de34f3cd3

https://www.dreamhost.com/blog/how-to-create-your-first-wordpress-plugin/

Best practicses:

https://developer.wordpress.org/plugins/plugin-basics/best-practices/#folder-structure

Plugin Security:

https://developer.wordpress.org/plugins/security/

Plugin Handbook:

https://developer.wordpress.org/plugins/

https://developer.wordpress.org/plugins/hooks/

https://developer.wordpress.org/plugins/hooks/actions/

Vickblöm

Research scattered with thoughts, ideas, and dreams

Penetration Testing Lab

Offensive Techniques & Methodologies

Astr0baby's not so random thoughts _____ rand() % 100;

@astr0baby on Twitter for fresh randomness

The Data Explorer

playing around with open data to learn some cool stuff about data analysis and the world

Conorsblog

Data | ML | NLP | Python | R

quyv

Just a thought

IFT6266 - H2017 Deep Learning

A Graduate Course Offered at Université de Montréal

Deep Learning IFT6266-H2017 UdeM

Philippe Paradis - My solutions to the image inpainting problem

IFT6266 – H2017 DEEP LEARNING

Pulkit's thoughts on the course project

Thomas Dinsmore's Blog

No man but a blockhead ever wrote except for money -- Samuel Johnson

the morning paper

a random walk through Computer Science research, by Adrian Colyer

The Spectator

Shakir's Machine Learning Blog