Skip to content

Instantly share code, notes, and snippets.

View canokay's full-sized avatar
🎯
Focusing

Can Okay canokay

🎯
Focusing
View GitHub Profile

Ubuntu Set Windows Default Boot

sudo nano /etc/default/grub 
GRUB_DEFAULT=saved 
sudo update-grub 
sudo grub-set-default 2

Visual Basic Vize Çalışması - Uygulamalar

Hafta 2 - Database Bağlantısı

Uygulama 1

Imports System.Data.OleDb

Public Class frmMain

Visual Basic Vize Çalışması - Döküman

Konular:

  1. Database Bağlanması
  2. .dll Yazma
  3. xml

Hafta 2 Dökümanı

Visual Basic Veri Tabanı Örnekleri

ornek1

Imports System.Data.OleDb 'ekleyin
Public Class Form1

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

        Dim a As String = "provider=Microsoft.Jet.Oledb.4.0;Data Source=C:\Users\User\Desktop\kitap.mdb"

Ubuntu Xampp Kurulumu

  1. Xampp Sourceforgeden xampp-linux-x64-7.3.1-0-installer.run indir

https://sourceforge.net/projects/xampp/

İnen dosyanın dizilimine terminali açın.

Aşağıdaki komutları girin.

Algoritmik Bash problemler-2:

  1. Desimal sayıyı binary ceviren programı yazın:
#!/bin/bash
read -p "sayi girin" sayi
while [ $sayi -gt 0 ];
do
kalan=$((sayi%2))
sayi=$((sayi/2))

Head ve Tail

Head: İlk 5 satırı yazar

head -n 5 flavours.txt

Tail: Son 5 satırı yazar.

tail -n 5 flavours.txt

Kullanıcı Hesapları üzerine Uygulamalar-1

Kullanıcı hesabı eklemek: Kullanıcı eklemek için useradd kullnılır.

Ogrenci1 adlı user ekleyin:

Useradd ogrenci1

Ogrenci1 hesabının şifresini değiştirin:

Ubuntu But Ders Notları

Vize Notları

  1. Hangi komut içinde bulunan kabuki ortamını gösterir?

a)echo $SHELL

  1. Hangi komut boş disk alanine gösterir?

Pip Setup

sudo apt-get install python3-pip
pip3 install Django
sudo apt-get install python3-django

virtualenv setup

sudo apt update