PyConUS2022 announced PyScript to execute Python code in the browser, relying on pyodide (CPython for WebAssembly). It is much closer to the web development experience than pyodide. The published alpha version output Python version information…
Category: Uncategorized
Compare Popular React Native Component Libraries
In this post I’d like to compare three popular React Native(“RN”): NativeBase, Shoutem and React Native Elements. Create an app on Expo. The app contain three screen: Make an wordpress REST API call to render list of post,…
SVG of Chinese Art
Animal
Shape
Pattern
Index of ReactJS Source Code
React's design is often discussed, but because of the many related documents, the source code reads more tired.Just recently saw under the Hood:reactjs this project shared a flowchart of the React Core code (MIT Protocol), taking several…
Creating API with GraphQL+Django
Environment:
Django 1.10.4
graphene-django-1.2.0
Setup
Install graphene-django,`migrate` and `createsuperuser` if it’s a new Django project:…
AES Between Python, Go, Javascript(NodeJS) and PHP
AES
Wikipedia: https://en.wikipedia.org/wiki/Advanced_Encryption_Standard. AES needs Key, IV and PKCS.
- Use 256 bits key length, Python/Go can auto choice by key length your passed. Named `MCRYPT_RIJNDAEL_128` in PHP5, Nodejs/PHP7.1
Why Use 960px? — An Analysis of Web Content Width
In the days before LCD screens became widespread, web design needed to consider a resolution of 800×600. However, the usage rate of 800×600 resolution is now less than 2%, making it negligible. The next higher resolution, 1024×768,…