Skip to content

Instantly share code, notes, and snippets.

View kaangiray26's full-sized avatar

Kaan Giray Buzluk kaangiray26

View GitHub Profile

Updating packages

Update the database first:

sudo pacman -Syy

Then, update packages with:

sudo pacman -Syu
@kaangiray26
kaangiray26 / french.md
Created September 14, 2024 09:38
Fransız Yeni Dalga Akımı'nın sevilen filmleri

Keybase proof

I hereby claim:

  • I am kaangiray26 on github.
  • I am kaangiray26 (https://keybase.io/kaangiray26) on keybase.
  • I have a public key ASDll0_aS0CHsh0Wzrc9et9dS1UEXte9c8sz37vbG_sFrgo

To claim this, I am signing this object:

@kaangiray26
kaangiray26 / gh-copilot.md
Last active August 9, 2024 09:34
Using GitHub Copilot in the CLI

Installation

Make sure you're logged in.

gh auth login

Then, you can install the extension via:

gh extension install github/gh-copilot

Berkay için Linux Guide

Paket kurma (official repository)

sudo pacman -S <package_name>

Paket kurma (AUR)

yay -S 
@kaangiray26
kaangiray26 / github_pages.md
Last active January 30, 2024 14:14
Deploying Vue.js to Github Pages

How to deploy your Vue.js app to GitHub Pages

Put the following into your vue.config.js:

module.exports = { publicPath: '/REPO/' }

Put the following into your vite.config.js:

...
@kaangiray26
kaangiray26 / nmcli-peap.md
Last active January 21, 2024 16:48
Connecting to a PEAP Wi-Fi Network via nmcli

Here's an example one line command to add a wifi network:

nmcli con add type wifi ifname wlan0 con-name "<con-name>" mode "infrastructure" wifi.ssid "<ssid>" wifi-sec.auth-alg open wifi-sec.key-mgmt wpa-eap 802-1x.domain-suffix-match "<domain>" 802-1x.eap peap 802-1x.identity "<identity>" 802-1x.password "<password>" 802-1x.phase2-auth mschapv2

Or just use the following shell script after you change the credentials:

#!/bin/bash
name="connection_name"
ssid="network"
@kaangiray26
kaangiray26 / packages.md
Last active November 30, 2023 02:00
Arch Linux packages to install after finishing the Installation guide

Install via pacman

sudo nano iw iwd networkmanager dhcpcd macchanger wpa-supplicant wireless_tools gnome gnome-shell gnome-tweaks gnome-bluetooth dconf-editor bluez bluez-utils intel-ucode firefox thunderbird qbittorrent gedit keepassxc git zsh grub efibootmgr ntfs-3g os-prober ufw cups usbutils pipewire wireplumber pipewire-audio pipewire-alsa pipewire-pulse pipewire-jack pavucontrol power-profiles-daemon wget nodejs npm lsof openvpn wireguard mold base-devel go cmake ninja flatpak inkscape gpick
@kaangiray26
kaangiray26 / nvidia.md
Last active November 29, 2023 17:35
Arch Linux - Nvidia Discrete Graphics Card

Enabling the discrete graphics card

Install the following packages:

sudo pacman -S nvidia nvidia-prime nvidia-utils lib32-nvidia-utils mesa-utils lib32-mesa-utils nvidia-settings

Remove the following from HOOKS in /etc/mkinitcpio.conf:

kms
@kaangiray26
kaangiray26 / gitlab-runner.md
Created March 16, 2022 18:52
Installing and Registering Gitlab Runner on Docker

Use local system volume mounts to start the Runner container

docker run -d --name gitlab-runner --restart always \
  -v /srv/gitlab-runner/config:/etc/gitlab-runner \
  -v /var/run/docker.sock:/var/run/docker.sock \
  gitlab/gitlab-runner:latest

To register a runner using a Docker container: