Skip to content

Instantly share code, notes, and snippets.

View amelieykw's full-sized avatar

amelieykw amelieykw

  • Sophia Antipolis, France
View GitHub Profile
@amelieykw
amelieykw / 00 - Table of Content.md
Last active October 15, 2025 20:05
[Django - Models] #Django #Models
  • Models
    • Fileds
    • Meta options
    • Model attributes
    • Model methods
    • Model inheritance
  • Making queries
  • Aggregation
  • Search
  • Managers
@amelieykw
amelieykw / Use Case Diagram.md
Last active May 14, 2025 17:20
[UML - Use Case Diagrams] #UML #UseCaseDiagrams #UseCase #actors #aParticularFunctionalityOfaSystem

Dynamic behavior means the behavior of the system when it is running/operating.

5 diagrams to model Dynamic behavior :

  1. Use Case
  2. activity
  3. sequence
  4. collaboration
  5. Statechart

Use Case Diagram

@amelieykw
amelieykw / 0 - 目录.md
Last active March 10, 2025 09:32
[RDBMS - 写给开发者看的关系型数据库设计] #RDBMS #写给开发者看的关系型数据库设计
@amelieykw
amelieykw / 00 - Basic.md
Last active May 27, 2024 18:42
[Java Interview Preparation] #java #interview
  1. Java Identifiers
  2. Data types
  3. How to define our own data type in java(enum)
  4. Variables
  5. Scope of Variables
  6. Loops in Java(Practice)
  7. For-each loop in Java
  8. For Loop in Java | Important points
  9. Decision Making(if, if-else, switch, break, continue, jump)(Practice)
  10. Switch Statement in Java(Practice)
@amelieykw
amelieykw / 0 - Overview.md
Last active April 18, 2024 17:31
[Python - Storing User Passwords Securely: hashing, salting, and Bcrypt] #Python #storepassword #securityofpython

explain the theory of "how to store user passwords securely" with some example code in Python using a Bcrypt library

@amelieykw
amelieykw / 0 - Problem.md
Last active July 28, 2023 02:37
[Encrypting passwords for use with Python and SQL Server] #Python #encryption #encyptionPassword #password
  • Background : SQL Server Authentication + my Python scripts
  • Problem : don't want a clear text password stored in the Python scripts
  • Requirement : secure the passwords
@amelieykw
amelieykw / Section 01. Getting started with MySQL.md
Last active January 31, 2023 15:34
[MySQL - tutorial] #MySQL #queryingData #updatingData #managingDatabase #creatingTables

This section helps you get started with MySQL. We will start installing MySQL, downloading a sample database, and loading data into the MySQL server for practicing.

@amelieykw
amelieykw / sort_divs.css
Last active December 18, 2022 13:12
[jQuery sort divs - by DOM element name] #jQuery #javascript #sort_divs #html #css
body {
background: #eee;
font-family: sans-serif;
}
.box {
background: red;
height: 200px;
width: 200px;
}
.box h1 {
@amelieykw
amelieykw / MySQL table.md
Last active November 23, 2022 21:15
[ChartJS | How to draw Bar graph using data from MySQL table and PHP] #ChartJS #insertDataofJSON

Score table

CREATE TABLE `score` (
  `playerid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `score` int(11) DEFAULT '0',
  PRIMARY KEY (`playerid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Score table data

@amelieykw
amelieykw / 00 - Table of Contents.md
Last active July 8, 2022 13:14
[Django - Forms] #forms #django #GET # POST
  • Working with forms
    • HTML forms
      • GET and POST
    • Django’s role in forms
    • Forms in Django
      • The Django Form class
      • Instantiating, processing, and rendering forms
    • Building a form
      • The work that needs to be done
  • Building a form in Django