Skip to content

Instantly share code, notes, and snippets.

View 101t's full-sized avatar
🐍
Simple is better than complex!

Tarek Kalaji 101t

🐍
Simple is better than complex!
View GitHub Profile
@101t
101t / Docker short commands.md
Last active November 26, 2024 07:48
Important short commands for docker - (Docker mocker çalışır!)

Run and build docker project

docker-compose -f docker-compose.yml up --build

Docker Build and Deployment

# docker build -t template_name:version_tag .
docker build -t micro_service:1.2.1 .
@101t
101t / nginx.md
Last active December 9, 2022 07:24
NGiNX my beloved server

NGINX frequently used configurations

NGINX Static IP Proxy Forwarding

upstream git_server {
    server xx.xx.xx.xx:6060;
}
server {
    listen 80;
 server_name git.domainname.com;
@101t
101t / ERPNext-Guidelines.md
Last active March 15, 2024 15:09
ERPNext guidelines

How to install an ERPNext Stack on Ubuntu 20.04

Introduction

ERPNext is an Enterprise Resource Planning (ERP) suite that leverages the power and flexibility of open-source technologies. It excels at manageing core business process such as finance, sales, HR, Manufacturing, Purchases, Services, Helpdesk, and more. Among the benefits of implementing a system like ERPNext are:

  • Better productivity by automating repetivity business process
  • Improved IT efficiency by sharing a database for all departments within the company
  • Better decising-making thanks to an integral vision of how business units relate to each other

ERPNext is based on Frappe framework, a full-stack web application written in Python that takes full advantage of the NodeJS and JavaScript runtime environment and uses MariaDB as its database backend, One of the best advantages of Frappe-based application is the bench command-line utility.

@101t
101t / rust.md
Last active November 2, 2024 06:59
Best of rust

Rust Tips and Tricks

I wrote my notes here about Rust programming language.

Variables:

Ownership rules

  1. Each value in Rust has a variable that's called its owner.
  2. There can only be one owner at a time.
  3. When the owner goes out of scope, the value will be dropped.

The rules of References

  1. At any given time, you can have either one mutable reference