Apr
25
Why is using "for...in" for array iteration a bad idea?
Published 17:04 Apr 25, 2022 by @ezra.
#Programming# The reason is that one construct:
var a = []; // Create a new empty array.
a[5] = 5; // Perfectly ...
Apr
01
Django CLI Cheatsheet
Published 15:04 Apr 01, 2021 by @ezra.
#Programming# Preparing enviro­nnement
mkdir projec­t_name && cd $_
Create project...
Mar
20
Switch-Case Statements Are Coming to Python
Published 15:03 Mar 20, 2021 by @ezra.
#Programming# Python 3.10 is beginning to fill-out with plenty of fascinating new features. One of those, in parti...
Jan
02
Keep Django server running after close ssh session
Published 12:01 Jan 02, 2021 by @ezra.
#Programming# Meet screen
Connect through ssh, start screen. This open a virtual console emulator on top of the on...
Nov
09
Python Handbook
Published 10:11 Nov 09, 2020 by @ezra.
#Programming# Introduction to Python
Python is literally eating the programming world. It is growing in popularit...
Aug
02
SQL Cheatsheet
Published 08:08 Aug 02, 2020 by @ezra.
#Programming# SQL
SQL is a standard language for storing, manipulating and retrieving data in databases.
Basics (C...
Aug
02
PHP Cheatsheet
Published 08:08 Aug 02, 2020 by @ezra.
#Programming# PHP framework
Hello World:
<body>
<?php echo "Hello, World!";?>
</bod...
Aug
02
Londonist query errors Cheatsheet
Published 08:08 Aug 02, 2020 by @ezra.
#Programming# Query Errors
Please help me fix the queries down below for their intended output:
Total Students By ...
Aug
02
Jquery Cheatsheet
Published 08:08 Aug 02, 2020 by @ezra.
#Programming# Jquery
jQuery is a lightweight, "write less, do more", JavaScript library. jQuery also simplifies a ...
Aug
02
Pep8 Cheatsheet
Published 08:08 Aug 02, 2020 by @ezra.
#Programming# PEP8 Standarts
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""This module's docstr...
Aug
02
Go Cheatsheet
Published 08:08 Aug 02, 2020 by @ezra.
#Programming# GO Lang Cheatsheet
Hello World
File hello.go:
package main
import "fmt"
func main() {
...
Aug
02
Python Cheatsheet
Published 08:08 Aug 02, 2020 by @ezra.
#Programming# Python cheatsheet
Basics
Advanced
# With *args you can pass on parameters
# with already defined va...