Kisi-kisi Soal UTS dan UAS Elektronika Beserta Jawaban

SOAL A 1) Berikut ini yang termasuk komponen elektronika dengan jenis komponen pasif yaitu ....

Kisi-kisi Soal UTS dan UAS Sistem Terdistribusi Beserta Jawaban

SOAL A 1. Berikut ini yang merupakan karakteristik dari definisi sistem terdistribusi adalah ....

Remove Bios Password and Harddissk (HDD) Laptop

I think to remove the bios password on an average PC is already can, although without having to memorize the password. the system jumpers or removing battery bios. ever see a supervisor, admin, system, HDD, bios, setup password?

Memperbaiki Kick Starter Motor Matic

Motor Matic is a motor that is the easiest to use and most in our homeland. please note that the motor also takes care of very sensitive, just like a computer that also takes care of sensitive anyway.

Gejala Kerusakan Mesin Air Submersible Metabo

Mesin Air Submersible atau yang sering disebut kebanyakan orang (satelit) ini sangat bagus, dengan sistemnya yang canggih dan fleksible. tipe mesin yang berbasis kerja di dalam tanah dan hanya menggunakan satu pipa ini, sangat berguna untuk anda yang memiliki banyak lumpur atau air kuning setelah pengeboran.

Showing posts with label Aplikasi. Show all posts
Showing posts with label Aplikasi. Show all posts

16 October 2025

Complete Git & GitHub Tutorial for Beginners: Managing Code Made Easy

In the modern programming world, Git and GitHub have become essential tools developers use to manage and share code. However, for those just starting, these tools might seem intimidating. Don't worry! This article will provide a comprehensive Git and GitHub tutorial from the basics to being ready for real-world projects.

What Are Git and GitHub?

Git: The Intelligent Version Control System

Git is a version control system that functions to track every change made to your program's code. Imagine Git as a time machine for your code—you can view the change history, revert to previous versions, or work on several features simultaneously without fear of breaking the main code.

Simple analogy: Git is like the "history" feature in Google Docs, but much more powerful and specifically designed for program code.

GitHub: The Social Platform for Programmers

GitHub is a cloud-based platform that stores code managed with Git. If Git is the engine, then GitHub is the garage—a place to store, share, and collaborate with other developers.

Fundamental Differences: Git vs. GitHub

GitGitHub
Local version control system on your computerOnline hosting platform
Installed on your personal computerAccessed via a website
Manages code changesStores and shares code
Free and open-sourceFree for public projects

Initial Steps to Start with Git & GitHub

1. Install Git on Your Computer

  • Download Git from git-scm.com

  • Install with default settings (according to your operating system)

  • Verify the installation by opening a terminal/CMD and typing: git --version

2. Create a GitHub Account

  • Visit github.com

  • Sign up with your email, username, and password

  • Verify your email address

3. Initial Git Configuration

After installation, perform the basic configuration:

bash
git config --global user.name "your-name"
git config --global user.email "your-email@gmail.com"

Practical Guide to Using Git & GitHub

How to Create a Repository on GitHub

  1. Log in to your GitHub account.

  2. Click the "New" or "+" button in the top right corner.

  3. Enter a repository name (e.g., my-first-project).

  4. Add a description (optional).

  5. Choose Public (free) or Private.

  6. Check the box for "Add a README file".

  7. Click "Create repository".

Upload Your First Project to GitHub

bash
# Navigate to your project folder
cd path/to/project/folder

# Initialize a Git repository
git init

# Add all files to the staging area
git add .

# Create the first commit
git commit -m "Initial commit - first project"

# Connect to your GitHub repository
git remote add origin https://github.com/username/repository-name.git

# Upload to GitHub
git push -u origin main

Clone an Existing Repository

bash
# Copy the repository URL from GitHub
git clone https://github.com/username/repository-name.git

Key Concepts in Git

1. Branch: Code Branches for Experimentation

Branches allow you to work on new features without interfering with the main code.

bash
# Create a new branch
git branch new-feature

# Switch to that branch
git checkout new-feature

# Or, create and switch simultaneously
git checkout -b new-feature

2. Commit: Snapshots of Your Changes

Each commit is a snapshot of your code changes.

bash
# Check the status of changes
git status

# Add a specific file
git add filename.html

# Or, add all files
git add .

# Create a commit with a descriptive message
git commit -m "Add user login feature"

3. Push & Pull: Synchronizing with GitHub

bash
# Upload local changes to GitHub
git push origin branch-name

# Download the latest changes from GitHub
git pull origin branch-name

Development Workflow with Git

Standard Workflow

  1. Pull the latest changes from the main branch.

  2. Create a new branch for the feature you're working on.

  3. Commit changes regularly.

  4. Push the branch to GitHub.

  5. Create a Pull Request to merge it into the main branch.

  6. Review code and merge.

Example Daily Workflow

bash
# Start the day by updating to the latest code
git pull origin main

# Create a branch for today's feature
git checkout -b payment-feature

# Work and commit periodically
git add .
git commit -m "Implement bank transfer payment method"

# Stash work temporarily (if you need to switch context)
git stash

# Upload to GitHub
git push origin payment-feature

Benefits of Using GitHub in Your Programming Career

1. A Living Digital Portfolio

GitHub serves as a digital CV that showcases your skills and contributions.

2. Efficient Team Collaboration

  • Multiple developers can work on the same project.

  • Track changes and see who did what.

  • Integrated code review.

3. Backup and Security

Your code is safely stored in the cloud, so you don't have to worry about loss if your computer fails.

4. Continuous Integration/Deployment

With GitHub Actions, you can automate testing and deployment.

Git & GitHub Best Practices

Good Commit Messages

❌ Bad: fix bug
✅ Good: Fix email input validation on registration form

Branch Naming Convention

  • feature/login-authentication

  • bugfix/fix-null-pointer-exception

  • hotfix/critical-security-patch

Commit Regularly

Avoid bundling large changes into a single commit. Small, frequent commits are easier to track.

Conclusion

Mastering Git and GitHub is no longer optional but a necessity for every modern developer. With this tutorial, you now have a solid foundation to:

  • ✅ Manage code versions neatly

  • ✅ Collaborate with developer teams

  • ✅ Build a programming portfolio

  • ✅ Become a more organized programmer

Action Steps Now:

  1. Install Git on your computer.

  2. Create a GitHub account.

  3. Try creating your first repository.

  4. Practice with a small project.

Don't be afraid to experiment and make mistakes—it's part of the learning process! GitHub has a very supportive community for beginner developers.

Happy coding! ðŸš€

Share:

06 February 2020

Cara instalasi dan mempergunakan trixbox

Trixbox adalah sebuah VoIP server yang dibundel menjadi
satu dengan system operasi, yaitu Linux CentOS. Trixbox
bersifat open source, artinya setiap orang dapat mengetahui
source code programnya dan memperolehnya secara gratis.

Trixbox terdiri dari komponen-komponen sebagai berikut:
1. Sistem operasi   : CentOS Linux
2. Database    : MySQL
3. VoIP server      : Asterisk
4. Tampilan GUI    : FreePBX

Trixbox dapat diinstal di komputer PC biasa, tidak harus
computer server. Untuk PC biasa, kebutuhan minimal untuk
dapat menginstal Trixbox sebagai berikut:

1. Pentium II 350 MHz
2. Memory 256 MB
3. Harddisk dengan ruang minimal 4 GB
4. LAN card 10/100 Mbps
5. CD-ROM



Pada percobaan kali ini, saya mempergunakan :
[i].   1 Buah komputer untuk Server Trixbox
[ii].  1 Buah komputer untuk client (softphone)
[iii]. 1 Buah IP-Phone D-link (GLV-515)
[iv].  1 Buah Switch 10/100 Mbps
[v].   Kabel Utp secukupnya
--------------------------------------------------
Langkah-langkah menginstall trixbox, yaitu :
--------------------------------------------------
[a]. Siapkan CD instalasi Trixbox
[b]. Pastikan bahwa setting pada BIOS akan mem-boot
 CD-ROM pertama kali, ubah terlebih dahulu jika
 setting BIOS belum benar
[c]. Masukkan CD Trixbox dan restart komputer.
 Tunggu hingga muncul tampilan berikut

[1].
--------------------------------------------------
--------------------------------------------------
[2]. Selanjutnya ikuti perintah yang muncul ^_^...
 Pemilihan Keyboard Type
--------------------------------------------------
--------------------------------------------------
[3]. Pemilihan Time Zone
--------------------------------------------------
--------------------------------------------------
[4]. Pengisian root password
--------------------------------------------------
--------------------------------------------------
[5]. Memulai Proses Instalasi
--------------------------------------------------
--------------------------------------------------
[6].
--------------------------------------------------
--------------------------------------------------
[7]. Menginstall bootloader
--------------------------------------------------
--------------------------------------------------
[8]. Booting Trixbox
--------------------------------------------------
--------------------------------------------------









[9]. Pengisian user dan password login. mode CLI
--------------------------------------------------
--------------------------------------------------
[10].
--> untuk pertolongan ketikan help-trixbox
--> lalu untuk mengkonfigurasi ethernet interface,
 ketikan system-config-network
--------------------------------------------------
--------------------------------------------------
[11]. Edit Devices
--------------------------------------------------
--------------------------------------------------
[12]. Pilih interface yang akan dipergunakan
--------------------------------------------------
--------------------------------------------------
[13]. Pilih ingin static IP atau DHCP
--------------------------------------------------
--------------------------------------------------
[14].Karena di lab menggunkan DHCP, maka saya me-request
 ip dari DHCP Server, IP yang didapat adalah
 10.14.200.17/24
--------------------------------------------------
--------------------------------------------------
[15].Untuk mempermudah konfigurasi, kita akan memakai
 bantuan GUI, buka browser dari komputer lain, ketikan
 https://10.14.200.17, rubah dari mode user ke
 mode admin
--------------------------------------------------
--------------------------------------------------
[16].Jika muncul permintaan user dan password, isi dengan
 user=maint dan password=password, untuk merubah
 password maint, di cli server ketikan passwd-maint
--------------------------------------------------
--------------------------------------------------
[17].
--------------------------------------------------
--------------------------------------------------
[18].Pilih PBX Settings
--------------------------------------------------
--------------------------------------------------
[19].Pilih Extensions,Add extension, Device:Generic
 SIP device, Submit
--------------------------------------------------
--------------------------------------------------
[20].Example:
 User Extension : 2003
 Display Name   : harry
 secret         : xxxx
--------------------------------------------------
--------------------------------------------------
[21].
--------------------------------------------------
--------------------------------------------------
[22]. Submit dan Apply Configuration Changes
--------------------------------------------------
--------------------------------------------------
[23]. Continue with Reload, sampai posisi ini konfigurasi
 sederhana server trixbox selesai.
--------------------------------------------------
--------------------------------------------------









[24]. Untuk Client kita menggunakan 1 buah soft-phone
 (x-lite) dan 1 biah IP-Phone GLV-515 (D-Link)
--------------------------------------------------
--------------------------------------------------
[25]. Pada X-lite, klik kanan, Sip account settings
 Add
--------------------------------------------------

--------------------------------------------------
[26]. di Account isikan:
 example :
 Display name : harry
 User name : 2003
 password : xxxx
 dll...
--------------------------------------------------
--------------------------------------------------
[27].Jika tidak ada masalah maka di x-lite akan muncul
 tulisan Ready, "Your username is 2003"
--------------------------------------------------
 --------------------------------------------------
[28].Ip phone yang digunakan adalah produk D-link
 (GLV-515), Bentuk fisiknya adalah seperti berikut:
--------------------------------------------------
a.
b.
c.
d.
--------------------------------------------------








[29].Di Ip-phone parameter minimal yang diisi adalah
 sebagai berikut:
--------------------------------------------------
 --------------------------------------------------

[30]. Untuk pengujian, softphone (x-lite) dengan user
 2003, akan menghubungi Ip-phone GLV-515 dengan
 user 2000, berikut merupakan screenshoot di Ip-
 phone ketika dihubungi oleh user 2003 (harry)



--------------------------------------------------
 --------------------------------------------------
Sekian dan mudah-mudahan dapat bermanfaat..


Share:

Blog Archive