Aug
02
Mongodb Cheatsheet
Published 08:08 Aug 02, 2020 by @ezra.
#Programming# MongoDB
MongoDB is an open-source document database and leading NoSQL database. MongoDB is written i...
Aug
02
Data table Cheatsheet
Published 08:08 Aug 02, 2020 by @ezra.
#Programming# Data Table
While working with data tables if you want to populate the table from an ajax call, you h...
Aug
02
Python sqlite Cheatsheet
Published 08:08 Aug 02, 2020 by @ezra.
#Programming# Sqlite - Python Driver
import sqlite3
from sqlite3 import Error
try:
conn = sqlite3.connect('ex...
May
18
The Theme Toggler
Published 12:05 May 18, 2020 by @ezra.
#Programming# So, I am trying to add in a very simple method of switching between 2 stylesheets/themes.
Switch The...
Apr
08
Combining QuerySets in Django
Published 11:04 Apr 08, 2020 by @ezra.
#Programming# QuerySet the Django Way
Django's documentation is pretty straightforward about the QuerySet API. It...
Apr
03
Emmet Cheatsheet
Published 14:04 Apr 03, 2020 by @ezra.
#Programming#
.ch-snippet__name {
color: #f0f0f0;
}
.ch-snippet__value,
.ch-snippet__value_undefined {
co...
Jan
28
Deploy Django with Gunicorn and Ngnix
Published 18:01 Jan 28, 2020 by @ezra.
#Programming# 准备
首先要更新软件源,以 Ubuntu 为例:
$ sudo apt-get update -y
安装 python3、virtualenv、nginx、sqlite3、openssl:
$ s...
Jan
23
Complete Python Cheatsheet
Published 14:01 Jan 23, 2020 by @ezra.
#Programming# Basic cheatsheet for Python mostly based on the book written by Al Sweigart, Automate the Boring Stu...
Aug
05
Linux Commands Cheatsheet
Published 09:08 Aug 05, 2019 by @ezra.
#Programming# Hardware Information
Show bootup messages:
dmesg
See CPU information:
cat /proc/cpuinfo
Display ...
Jul
21
A Simple Web Development Tutorial
Published 12:07 Jul 21, 2019 by @ezra.
#Programming#
1. 概述 / Introduction
1.1. 目标 / Purpose
这篇文章的主要目标是帮助你从整体上对前端开发的基本逻辑与页面实现的难易程度有一定的了解和认识
...
Nov
23
VMWare Fusion Pro 11: Application cannot run correctly.
Published 12:11 Nov 23, 2018 by @ezra.
#Programming# If you cannot get VMWare Fusion Pro 11 for macOS to launch properly with this error message:
Pleas...
Jun
13
WWDC 2018 Summary for iOS developers
Published 12:06 Jun 13, 2018 by @ezra.
#Programming# WWDC 2018 Summary for iOS developers.
What's new in Xcode 10
An ability to launch XCTest and XCUITe...