Coding

Coding, Python

Learning Python in 2020 – Beginner – Simple Automated WordPress Project Setup

Requirements Python, internet, time Problem Goal The script should simply download the latest wordpress zip file, unzip it and allow the user to set the main wp-config values. Pseudo-code Make a get request ( https://wordpress.org/latest.zip ) Save the downloaded zip file in the current directory Create a wp-config.php file based off wp-config-sample.php file Ask the […]

Coding, JavaScript, React, Software Development, Web Development

React Transition for Dummies | Difference between CSSTransition and Transition

Bounce, Fade, Animate 05/03/2019 11:56:52 PM Intro into React Transitions In case you are a newbie in the world of react transitions,  you should probably read this post (React Transitions for Dummies | Part 1 : Transition, Styled Components and RandomColor) before continuing. <Transition> If you want to animate a react component, wrap it with […]

Coding, JavaScript, React, Software Development, Web Development

React Transitions for Dummies | Part 1 : Transition, Styled Components and RandomColor

04/29/2019 12:49:21 AM Overview Simply learning on how to use the React Transition Group “Transition” component to make websites look awesome! Who is this for? This should be useful for those who are confused as I was and (to some extent) still am about component and page transitions especially in React. Why I wanted to […]

Coding, Python

Beginner Automating with Python | Converting MYSQL database tables into single CSV files

Things you might need before coding Install python here Since this solution is realised by using the programming language called python,  you should probably install it as instructed in the website linked above. Additionally, you may need to understand the programming principles independent of programming language and also learn the code syntax in python. An […]

Coding

Python 4 Beginners: XML to CSV within a minute

Hey yall! Another snippet to convert the same XML file in Python 4 Beginners: XML to JSON within a minute into a simple CSV file.  XML File: Code: #XML TO EXCEL FILE import xml.etree.ElementTree as ET from openpyxl import Workbook import os import json import csv def readFile(filename): ”’ Checks if file exists, parses the file and […]

Coding

Python 4 Beginners: XML to JSON within a minute

This is an extension of the Python 4 Beginners: XML to Excel within a minute. A simple function will help generate a json file. This is the XML File  xml_to_excel The Code [sourcecode lang=”python”] #XML TO EXCEL FILE import xml.etree.ElementTree as ET from openpyxl import Workbook import os import json def readFile(filename): ”’ Checks if file exists, […]

Coding, Python, Software Development

Python Networking | Super Beginner Series | Simple Server and Client – “Hello World”

I am more into web development but out of boredom decided to dabble into networking… okay let’s see what I have learned so far. Networking  2018-05-12 10:56:17 AM Python Server This server opens its service at port 9999 and listens and connects to an incoming tcp stream. Once a connection is established, it sends the client […]