
Bibliothekarin #LinkedOpenData #GermanNationalLibrary Tweets for @DiniAgKim
Frankfurt am Main, Deutschland
Joined May 2012
- Tweets1.2K
- Following245
- Followers110
- Likes2.5K
Letitia Moelck retweeted
Knowing SQL JOIN syntax is one thing.
Knowing how to troubleshoot JOIN problems is what separates beginners from professionals.
Master the problems. Understand the solutions. Become confident with JOINs.
๐ Save this cheat sheet for future reference.
Letitia Moelck retweeted
JAVASCRIPT CHEAT SHEET / COMMANDS & SYNTAX
Grab Master JavaScript from beginner to advanced ebook here: codewithdhanian.gumroad.com/โฆ
Letitia Moelck retweeted
๐ SQL Cheat Sheet Every Developer Should Save! ๐พ
Learning SQL? Start with the commands you'll use every day.
In this cheat sheet you'll find:
โ
SELECT
โ
WHERE
โ
JOINs
โ
GROUP BY
โ
ORDER BY
โ
INSERT / UPDATE / DELETE
โ
Aggregate Functions
โ
Wildcards
โ
Constraints
โ
Data Types
โ
Useful SQL Keywords
๐ Save this post for quick revision.
๐ค Share it with your coding partner.
Letitia Moelck retweeted
No braces, just spaces but donโt underestimate them. Python indentation rules matter ๐
Letitia Moelck retweeted
๐๐ฎ๐ ๐ฏ๐ฒ/๐ฒ๐ฌ ๐ผ๐ณ ๐ฆ๐ค๐ ๐ฆ๐ฒ๐ฟ๐ถ๐ฒ๐ โ ๐ก๐๐บ๐ฒ๐ฟ๐ถ๐ฐ ๐๐๐ป๐ฐ๐๐ถ๐ผ๐ป๐ โ ๐ฅ๐ข๐จ๐ก๐(), ๐๐๐๐(), ๐๐๐ข๐ข๐ฅ(), ๐๐๐ฆ(), ๐ฎ๐ป๐ฑ ๐ฅ๐๐ก๐()
Working with numbers is a fundamental part of SQL.
Whether you're calculating prices, generating reports, analyzing financial data, or performing mathematical operations, SQL provides built-in numeric functions that make these tasks quick and accurate.
Today, you'll learn five essential numeric functions used in real-world SQL development ๐
1๏ธโฃ ๐ช๐ต๐ ๐จ๐๐ฒ ๐ก๐๐บ๐ฒ๐ฟ๐ถ๐ฐ ๐๐๐ป๐ฐ๐๐ถ๐ผ๐ป๐?
Numeric functions help you:
โข Round decimal values
โข Find the nearest whole number
โข Calculate absolute values
โข Generate random numbers
โข Format numerical results for reports
They simplify calculations directly within SQL queries.
2๏ธโฃ ๐ฅ๐ข๐จ๐ก๐() โ ๐ฅ๐ผ๐๐ป๐ฑ ๐ก๐๐บ๐ฏ๐ฒ๐ฟ๐
ROUND() rounds a number to a specified number of decimal places.
Example:
SELECT ROUND(123.4567, 2);
Result:
123.46
Useful for financial reports, pricing, and currency calculations.
3๏ธโฃ ๐๐๐๐() โ ๐ฅ๐ผ๐๐ป๐ฑ ๐จ๐ฝ
CEIL() (or CEILING() in some databases) rounds a number up to the nearest whole number.
Example:
SELECT CEIL(15.2);
Result:
16
Perfect when you always need to round upward.
4๏ธโฃ ๐๐๐ข๐ข๐ฅ() โ ๐ฅ๐ผ๐๐ป๐ฑ ๐๐ผ๐๐ป
FLOOR() rounds a number down to the nearest whole number.
Example:
SELECT FLOOR(15.9);
Result:
15
Useful for calculating complete units or whole quantities.
5๏ธโฃ ๐๐๐ฆ() โ ๐๐ฏ๐๐ผ๐น๐๐๐ฒ ๐ฉ๐ฎ๐น๐๐ฒ
ABS() returns the positive value of a number.
Example:
SELECT ABS(-250);
Result:
250
Commonly used when calculating distances, differences, or deviations.
6๏ธโฃ ๐ฅ๐๐ก๐() โ ๐๐ฒ๐ป๐ฒ๐ฟ๐ฎ๐๐ฒ ๐ฅ๐ฎ๐ป๐ฑ๐ผ๐บ ๐ก๐๐บ๐ฏ๐ฒ๐ฟ๐
RAND() generates a random decimal value between 0 and 1.
Example:
SELECT RAND();
Typical output:
0.731842
Useful for testing, sampling, and random selections.
7๏ธโฃ ๐๐ผ๐บ๐ฏ๐ถ๐ป๐ถ๐ป๐ด ๐ก๐๐บ๐ฒ๐ฟ๐ถ๐ฐ ๐๐๐ป๐ฐ๐๐ถ๐ผ๐ป๐
Numeric functions can work together.
Example:
SELECT
ROUND(AVG(salary), 2) AS average_salary,
CEIL(MAX(price)) AS highest_price
FROM employees;
This combines aggregate and numeric functions in one query.
8๏ธโฃ ๐ฅ๐ฒ๐ฎ๐น-๐๐ผ๐ฟ๐น๐ฑ ๐จ๐๐ฒ ๐๐ฎ๐๐ฒ๐
Numeric functions are widely used for:
โข Financial calculations
โข Sales reporting
โข Tax calculations
โข Scientific data
โข Inventory management
โข Statistical analysis
9๏ธโฃ ๐๐ฎ๐๐ฎ๐ฏ๐ฎ๐๐ฒ ๐๐ถ๐ณ๐ณ๐ฒ๐ฟ๐ฒ๐ป๐ฐ๐ฒ๐
Most SQL databases support these functions, though names may vary.
Examples:
โข MySQL: CEIL() and RAND()
โข PostgreSQL: CEIL() and RANDOM()
โข SQL Server: CEILING() and RAND()
Always check your database documentation for exact syntax.
๐ ๐ ๐ฎ๐๐๐ฒ๐ฟ ๐ก๐๐บ๐ฒ๐ฟ๐ถ๐ฐ ๐๐๐ป๐ฐ๐๐ถ๐ผ๐ป๐
These built-in functions simplify mathematical operations and improve the readability of your SQL queries.
They're essential tools for developers, analysts, and data engineers working with numerical data every day.
๐ก ๐๐ฒ๐ ๐๐ฎ๐ธ๐ฒ๐ฎ๐๐ฎ๐:
Functions like ROUND(), CEIL(), FLOOR(), ABS(), and RAND() help you manipulate and analyze numeric data with ease.
Mastering these functions enables cleaner calculations, better reports, and more accurate SQL queries across a wide range of real-world applications.
Grab SQL Playbook:
codewithdhanian.gumroad.com/โฆ
Which numeric function do you find yourself using most often in SQL?
๐๐ฎ๐ ๐ฏ๐ฑ/๐ฒ๐ฌ ๐ผ๐ณ ๐ฆ๐ค๐ ๐ฆ๐ฒ๐ฟ๐ถ๐ฒ๐ โ ๐๐ฎ๐๐ฒ ๐ฎ๐ป๐ฑ ๐ง๐ถ๐บ๐ฒ ๐๐๐ป๐ฐ๐๐ถ๐ผ๐ป๐ โ ๐ก๐ข๐ช(), ๐๐ซ๐ง๐ฅ๐๐๐ง(), ๐๐๐ง๐_๐๐๐(), ๐ฎ๐ป๐ฑ ๐๐๐ง๐๐๐๐๐()
Dates and times are everywhere in modern applications.
From tracking customer sign-ups and orders to generating monthly reports and calculating delivery times, SQL provides powerful functions to work with date and time data efficiently.
Today, you'll learn four essential SQL date and time functions used in real-world databases ๐
1๏ธโฃ ๐ช๐ต๐ ๐๐ฎ๐๐ฒ ๐ฎ๐ป๐ฑ ๐ง๐ถ๐บ๐ฒ ๐๐๐ป๐ฐ๐๐ถ๐ผ๐ป๐ ๐ ๐ฎ๐๐๐ฒ๐ฟ
These functions help you:
โข Retrieve the current date and time
โข Extract parts of a date
โข Add or subtract time intervals
โข Calculate the difference between dates
They are fundamental for reporting, scheduling, and analytics.
2๏ธโฃ ๐ก๐ข๐ช() โ ๐๐ฒ๐ ๐๐ต๐ฒ ๐๐๐ฟ๐ฟ๐ฒ๐ป๐ ๐๐ฎ๐๐ฒ ๐ฎ๐ป๐ฑ ๐ง๐ถ๐บ๐ฒ
The NOW() function returns the current date and time according to the database server.
Example:
SELECT NOW();
Typical output:
2026-07-28 14:30:15
Useful for timestamps, logging, and auditing records.
3๏ธโฃ ๐๐ซ๐ง๐ฅ๐๐๐ง() โ ๐๐ฒ๐ ๐ฃ๐ฎ๐ฟ๐๐ ๐ผ๐ณ ๐ฎ ๐๐ฎ๐๐ฒ
EXTRACT() retrieves a specific component from a date or timestamp.
Example:
SELECT
EXTRACT(YEAR FROM order_date) AS year,
EXTRACT(MONTH FROM order_date) AS month,
EXTRACT(DAY FROM order_date) AS day
FROM orders;
This is useful for grouping and filtering data by year, month, quarter, or day.
4๏ธโฃ ๐๐๐ง๐_๐๐๐() โ ๐๐ฑ๐ฑ ๐ง๐ถ๐บ๐ฒ ๐๐ผ ๐ฎ ๐๐ฎ๐๐ฒ
DATE_ADD() adds a specified interval to a date.
Example (MySQL):
SELECT DATE_ADD(order_date, INTERVAL 7 DAY)
FROM orders;
This calculates a date seven days after each order.
5๏ธโฃ ๐๐๐ง๐๐๐๐๐() โ ๐๐ฎ๐น๐ฐ๐๐น๐ฎ๐๐ฒ ๐๐ฎ๐๐ฒ ๐๐ถ๐ณ๐ณ๐ฒ๐ฟ๐ฒ๐ป๐ฐ๐ฒ๐
DATEDIFF() returns the number of days between two dates.
Example:
SELECT DATEDIFF(delivery_date, order_date) AS delivery_days
FROM orders;
Perfect for measuring delivery times, project durations, and customer activity.
6๏ธโฃ ๐๐ผ๐บ๐ฏ๐ถ๐ป๐ถ๐ป๐ด ๐๐ฎ๐๐ฒ ๐๐๐ป๐ฐ๐๐ถ๐ผ๐ป๐
Date functions can be combined to answer more complex questions.
Example:
SELECT
EXTRACT(YEAR FROM NOW()) AS current_year,
DATE_ADD(NOW(), INTERVAL 30 DAY) AS next_month;
This returns the current year and the date 30 days from today.
7๏ธโฃ ๐ฅ๐ฒ๐ฎ๐น-๐๐ผ๐ฟ๐น๐ฑ ๐จ๐๐ฒ ๐๐ฎ๐๐ฒ๐
These functions are commonly used for:
โข Order tracking
โข Subscription renewals
โข Employee tenure calculations
โข Financial reporting
โข Event scheduling
โข Customer retention analysis
8๏ธโฃ ๐๐ฎ๐๐ฎ๐ฏ๐ฎ๐๐ฒ ๐๐ถ๐ณ๐ณ๐ฒ๐ฟ๐ฒ๐ป๐ฐ๐ฒ๐
Date functions vary across SQL databases.
For example:
โข MySQL uses DATE_ADD() and DATEDIFF()
โข PostgreSQL commonly uses CURRENT_TIMESTAMP, interval arithmetic (+ INTERVAL '7 days'), and date subtraction
โข SQL Server uses DATEADD() and DATEDIFF()
Always verify the syntax for your database system.
9๏ธโฃ ๐๐ฒ๐๐ ๐ฃ๐ฟ๐ฎ๐ฐ๐๐ถ๐ฐ๐ฒ๐
โข Store dates using proper DATE or TIMESTAMP data types.
โข Avoid storing dates as plain text.
โข Consider time zones when working with global applications.
โข Use built-in date functions instead of manual calculations whenever possible.
๐ ๐ ๐ฎ๐๐๐ฒ๐ฟ ๐๐ฎ๐๐ฒ ๐ฎ๐ป๐ฑ ๐ง๐ถ๐บ๐ฒ ๐ข๐ฝ๐ฒ๐ฟ๐ฎ๐๐ถ๐ผ๐ป๐
Date and time functions are essential for nearly every SQL application.
Whether you're building dashboards, processing transactions, or analyzing trends, mastering these functions will help you write cleaner, more efficient, and more reliable SQL queries.
๐ก ๐๐ฒ๐ ๐๐ฎ๐ธ๐ฒ๐ฎ๐๐ฎ๐:
Functions like NOW(), EXTRACT(), DATE_ADD(), and DATEDIFF() make it easy to work with temporal data.
They allow you to retrieve the current date, extract date components, perform date arithmetic, and measure time intervalsโskills that every SQL developer and data analyst should master.
Grab SQL Playbook:
codewithdhanian.gumroad.com/โฆ
Which date or time function do you use most often in your SQL queries?
Letitia Moelck retweeted
LINUX LEARNING PATH
LINUX FUNDAMENTALS
โ understand the history and philosophy of Linux
โ learn popular Linux distributions and use cases
โ install Linux on a virtual machine or physical computer
โ understand the Linux file system hierarchy
COMMAND LINE BASICS
โ navigate directories using terminal commands
โ create, move, copy, rename, and delete files
โ understand absolute and relative paths
โ use command history and shell shortcuts efficiently
FILES AND PERMISSIONS
โ understand file ownership and permissions
โ manage users, groups, and access rights
โ use chmod, chown, and chgrp effectively
โ secure files and directories properly
TEXT PROCESSING AND EDITORS
โ master nano and vim editors
โ search text using grep
โ manipulate text with sed and awk
โ process logs and large text files efficiently
SHELL SCRIPTING
โ write Bash scripts for automation
โ use variables, loops, and conditional statements
โ create reusable shell functions
โ automate repetitive administrative tasks
PACKAGE MANAGEMENT
โ install and update software packages
โ use apt, dnf, yum, pacman, and snap
โ manage repositories and package sources
โ remove unused packages and dependencies
PROCESS MANAGEMENT
โ monitor running processes
โ manage background and foreground jobs
โ control processes using ps, top, htop, and kill
โ understand process priorities and scheduling
SYSTEM ADMINISTRATION
โ manage users and groups
โ configure system services with systemd
โ schedule tasks using cron and timers
โ manage disks, partitions, and file systems
NETWORKING
โ understand TCP/IP fundamentals
โ configure network interfaces
โ troubleshoot connectivity using ping, traceroute, and netstat
โ use ssh for secure remote administration
SECURITY AND HARDENING
โ secure Linux systems and user accounts
โ configure firewalls with ufw and iptables
โ manage ssh security and authentication
โ understand SELinux and AppArmor basics
STORAGE AND FILE SYSTEMS
โ create and manage partitions
โ understand ext4, xfs, and btrfs file systems
โ mount and unmount storage devices
โ configure logical volume management (LVM)
LOGGING AND MONITORING
โ analyze system logs using journalctl
โ monitor CPU, memory, disk, and network usage
โ identify performance bottlenecks
โ troubleshoot system issues effectively
CONTAINERS AND VIRTUALIZATION
โ understand Docker fundamentals on Linux
โ manage Linux containers efficiently
โ explore Kubernetes basics
โ use virtual machines with KVM and VirtualBox
LINUX FOR CLOUD AND DEVOPS
โ administer Linux servers in the cloud
โ automate infrastructure using shell scripts
โ manage cloud virtual machines
โ integrate Linux with CI/CD pipelines
ADVANCED LINUX ADMINISTRATION
โ manage kernel modules and services
โ optimize system performance
โ understand high availability concepts
โ configure backup and disaster recovery solutions
REAL-WORLD PROJECTS
โ build a Linux web server
โ automate server management with Bash scripts
โ deploy Dockerized applications on Linux
โ configure a secure production Linux server
KEEP LEARNING AND BUILD PROJECTS
โ contribute to Linux and open-source communities
โ practice system administration daily
โ explore advanced networking and security topics
โ continuously improve your Linux expertise
Grab LINUX EBOOK:
codewithdhanian.gumroad.com/โฆ
Letitia Moelck retweeted
Every programming journey starts with one simple line:
Hello, World! ๐
From Python to Java, C, C++, JavaScript, Go, Rust, Kotlin, Swift, PHP, Ruby, and moreโthis cheat sheet shows how different languages greet the world.
Save this post for quick reference.
Share it with a friend who's learning to code.
Which programming language did you write your first Hello, World! in?
Letitia Moelck retweeted
10 Linux concepts every developer should master:
1. Linux File System โ understand directories like /home, /etc, /var, and /usr
2. Shell & Bash โ execute commands and automate tasks with scripts
3. File Permissions โ manage read, write, and execute access using chmod and chown
4. Package Management โ install and update software with apt, yum, dnf, or pacman
5. Process Management โ monitor and control running processes using ps, top, and kill
6. Networking โ configure IP addresses, ports, SSH, and troubleshoot connectivity
7. System Services โ manage background services with systemctl and systemd
8. Text Processing โ manipulate files using grep, awk, sed, cut, and sort
9. Disk & Storage Management โ work with partitions, filesystems, mounts, and disk usage
10. Shell Scripting โ automate repetitive tasks with Bash scripts and cron jobs
Grab Linux Ebook: codewithdhanian.gumroad.com/โฆ
Letitia Moelck retweeted
LINUX MOCK INTERVIEW (WITH ANSWERS)
1๏ธโฃ Tell me about yourself
โ
Sample Answer:
"I have 3+ years of experience working with Linux servers for backend development, cloud infrastructure, automation, and DevOps. Skilled in shell scripting, process management, networking, security, and server optimization. Passionate about building reliable, scalable Linux-based systems."
2๏ธโฃ What is Linux?
โ
Answer:
Linux is an open-source, Unix-like operating system kernel that powers servers, cloud platforms, embedded systems, and desktops.
3๏ธโฃ Why is Linux widely used on servers?
โ
Answer:
Linux is stable, secure, highly customizable, cost-effective, and performs well under heavy workloads. It powers most web servers and cloud infrastructure.
4๏ธโฃ What is the Linux kernel?
โ
Answer:
The kernel is the core of the operating system. It manages hardware resources, memory, CPU scheduling, devices, and processes.
5๏ธโฃ What is a shell?
โ
Answer:
A shell is a command-line interface that allows users to interact with the operating system.
Examples: Bash, Zsh, Fish.
6๏ธโฃ What is the difference between a process and a thread?
โ
Answer:
Process: Independent program with its own memory space.
Thread: Lightweight execution unit within a process that shares memory.
7๏ธโฃ Explain Linux file permissions.
โ
Answer:
Permissions control access to files and directories.
Types: Read (r), Write (w), Execute (x).
Applied to owner, group, and others.
8๏ธโฃ What is the difference between a soft link and a hard link?
โ
Answer:
Soft link: Shortcut pointing to another file.
Hard link: Direct reference to the file's data on disk.
9๏ธโฃ What is SSH?
โ
Answer:
Secure Shell (SSH) is a protocol for securely connecting to and managing remote Linux systems.
๐ What are some commonly used Linux commands?
โ
Answer:
ls, cd, pwd, cp, mv, rm, grep, find, chmod, chown, ps, top, htop, df, du, ssh.
11๏ธโฃ What is systemd?
โ
Answer:
systemd is the Linux system and service manager responsible for booting the system and managing background services.
12๏ธโฃ What is a daemon?
โ
Answer:
A daemon is a background service that runs continuously to perform system tasks.
Examples: sshd, cron, nginx.
13๏ธโฃ What monitoring tools have you used?
โ
Answer:
top, htop, vmstat, iostat, free, netstat, ss, journalctl, dmesg, and sar.
14๏ธโฃ How do you secure a Linux server?
โ
Answer:
Use SSH keys, disable root login, configure firewalls, apply regular updates, enforce least-privilege access, and monitor system logs.
15๏ธโฃ What is shell scripting?
โ
Answer:
Writing scripts using Bash or another shell to automate repetitive system administration and deployment tasks.
16๏ธโฃ Tell me about a Linux project you've worked on.
โ
Strong Answer:
"Configured and managed Ubuntu production servers hosting backend applications with Nginx and Docker. Automated deployments using Bash scripts, implemented monitoring, and optimized server performance, improving uptime and reducing maintenance effort."
Grab Linux Ebook: codewithdhanian.gumroad.com/โฆ
Letitia Moelck retweeted
STOP scrolling if you're learning Python ๐ณ๐ฅ
These Python LIST METHODS are used in almost every project ๐ป
๐ append() โ add item
๐ extend() โ add multiple
๐ insert() โ add at position
๐ remove() โ delete item
๐ pop() โ remove last
๐ sort() โ arrange
๐ reverse() โ flip list
๐ count() โ count items
๐ index() โ find position
๐ก Master these = Strong Python basics
๐ Save this post for later
โค๏ธ Like & Share with friends
Letitia Moelck retweeted
Replying to @PythonPr
Thanks for the cheat sheet. What do you think about including
๐ which: Shows executable path in $PATH.
โก๏ธtype: Tells type (builtin/alias/file) + path. Most useful.
โ๏ธcommand: Runs command ignoring aliases/functions (use `-v` for info)
PS: I use them often in my scripts
Letitia Moelck retweeted
30 Day Python Roadmap
(with projects per day)
Grab Python ebook: codewithdhanian.gumroad.com/โฆ
Letitia Moelck retweeted
I am officially nominating Donald J. Trump (@realDonaldTrump) for the Nobel Peace Prize.
No President in History has ended the same war so many times.
Our Dear Leader has ended the war with Iran at least 38 times by CNNโs count.
No President has ever done this before.
And he is nowhere near finished ending it.
Itโs a record worthy of the Nobel committeeโs recognition. Thank you for your attention to this matter!
Letitia Moelck retweeted
Stop typing!
Now you can whisper to your coding agent.
A step-by-step guide ๐
subspeech.com/?utm_source=x&โฆ



























