landing page example with Bootstrap 3 creator https://codepen.io/veronicadev/
A Pen by Koffi Eli KPONBLANOU on CodePen.
| """ | |
| SNAKE GAME - PYGAME VERSION | |
| A graphical implementation of the classic Snake game using Pygame. | |
| Controls: Arrow Keys to move, Q or ESC to quit | |
| """ | |
| import pygame | |
| import random | |
| import sys |
| import json | |
| import argparse | |
| import sys | |
| def compare_json(obj1, obj2, path=""): | |
| """ | |
| Recursively compares two JSON objects (Python dicts/lists) and returns a list of differences. | |
| Args: | |
| obj1: The first Python object (dict or list). |
landing page example with Bootstrap 3 creator https://codepen.io/veronicadev/
A Pen by Koffi Eli KPONBLANOU on CodePen.
| >>> import pytz | |
| >>> | |
| >>> for tz in pytz.all_timezones: | |
| ... print tz | |
| ... | |
| ... | |
| Africa/Abidjan | |
| Africa/Accra | |
| Africa/Addis_Ababa | |
| Africa/Algiers |
This gist is an ES module which provides functions to import and export data from an IndexedDB database as JSON. It's based on Justin Emery's indexeddb-export-import package, but applies some adjustments that reflect better on the current browser landscape (i.e. better developer ergonomics but no support for Internet Explorer).
For each of the provided functionalities, you need a connected IDBDatabase instance.
import { idb } from 'some-database'| 'use strict'; | |
| module.exports = function (element, callback) { | |
| var allImgsLength = 0; | |
| var allImgsLoaded = 0; | |
| var allImgs = []; | |
| var filtered = Array.prototype.filter.call(element.querySelectorAll('img'), function (item) { | |
| if (item.src === '') { | |
| return false; |
| Using Markdown and Localization in the WordPress Block Editor | |
| https://css-tricks.com/using-markdown-and-localization-in-the-wordpress-block-editor/ | |
| Gutenberg blocks: Add custom default class names | |
| https://poolghost.com/add-custom-default-class-names-to-gutenberg-blocks/ | |
| How to Create a Simple Gutenberg Block Pattern in WordPress | |
| https://speckyboy.com/create-simple-gutenberg-block-pattern-wordpress/ | |
| WordPress Block Patterns Resource List |
| <?php | |
| // Pour comprendre mieux ce code | |
| // aller sur le lien suivant: https://www.php.net/manual/fr/function.mail.php | |
| // Meme le code en dessous provient de la documentation officielle | |
| // Recuperer la valeur du champ fname du formulaire | |
| $fname = htmlspecialchars($_POST["fname"])'; | |
| // Recuperer la valeur du champ lname du formulaire | |
| $lname = htmlspecialchars($_POST["lname"])'; | |
| // Recuperer la valeur du champ eaddress du formulaire |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
This is a collection of books that I've researched, scanned the TOCs of, and am currently working through. The books are selected based on quality of content, reviews, and reccommendations of various 'best of' lists.
The goal of this collection is to promote mastery of generally applicable programming concepts.
Most topics are covered with Python as the primary language due to its conciseness, which is ideal for learning & practicing new concepts with minimal syntactic boilerplate.
JavaScript & Kotlin are listed in the Tooling section; as they allow extension of VS Code and the IntelliJ suite of IDEs, which cover most development needs.