Arch Linux sunucuları bazen bakımda olabiliyor. Şuradan bakabilirsin:
Journalist
Duyuru, Bilimsel makale, Teknik makale, sosyal konular ve herb
26 Ağustos 2025 Salı
15 Ağustos 2025 Cuma
Arch Linux'da Açılış Süresini Optimize Etme
# systemctl list-unit-files --state=enabled
Kullanmadığın servisleri devre dışı bırak:
$ sudo systemctl disable servis_adi
Arch Linux'de Disk ve Paket Cache Temizliği
Sisteminizde ki paket cache temizliği yapmak için şu komutu girerseniz. Sisteminizde ki fazlalık paketlerden temizlemiş olursunuz.
$ sudo paccache -r
Sadece son 2 sürümü saklayarak daha fazla temizleme:
$ sudo paccache -rk2
paccache komutu yoksa:
$ sudo pacman -S pacman-contrib
Arch Linux altında Yetim (Orphan) Paket Temizliği
Sisteminizde ki Yetim paket temizliği için şu komutu girerseniz, sisteminizde temizlik yapmış olursunuz.
$ sudo pacman -Qdtq | sudo pacman -Rns -
14 Eylül 2019 Cumartesi
En hızlı pacman mirrorlist dosyası oluşturma
# pacman -S pacman-contrib
# mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup# rankmirrors -n 6 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist
7 Eylül 2019 Cumartesi
EMACS & Clojure integration
Clojure ve EMACS ayarları ve yüklemesi
~/.emacs.d/init.el
--------------------------------
;; load emacs 24's package system. Add MELPA repository.
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)
(when (>= emacs-major-version 24)
(require 'package)
(setq package-check-signature nil)
(add-to-list
'package-archives
;;'("melpa" . "http://stable.melpa.org/packages/") ; many packages won't show if using stable
'("melpa" . "http://melpa.milkbox.net/packages/")
t))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages (quote (sed-mode paredit monroe nrepl-sync clojure-mode))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(require 'monroe)
(add-hook 'clojure-mode-hook 'clojure-enable-monroe)
(add-hook 'clojure-mode-hook 'paredit-mode)
~/.emacs.d/init.el
--------------------------------
;; load emacs 24's package system. Add MELPA repository.
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)
(when (>= emacs-major-version 24)
(require 'package)
(setq package-check-signature nil)
(add-to-list
'package-archives
;;'("melpa" . "http://stable.melpa.org/packages/") ; many packages won't show if using stable
'("melpa" . "http://melpa.milkbox.net/packages/")
t))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages (quote (sed-mode paredit monroe nrepl-sync clojure-mode))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(require 'monroe)
(add-hook 'clojure-mode-hook 'clojure-enable-monroe)
(add-hook 'clojure-mode-hook 'paredit-mode)
----------------------------------------------------------------------------------------
ALT + x package-install
Install package: monroe
ALT + x package-install
Install package: clojure-mode
ALT + x package-install
Install package: paredit
---------------------------------------------------------------------------------------
Komut satırı
$ cd ~/Projects
$ lein new app kerimbasol
Generating a project called kerimbasol based on the 'app' template.
$ cd kerimbasol
$ lein repl
nREPL server started on port 37829 on host 127.0.0.1 - nrepl://127.0.0.1:37829
REPL-y 0.4.3, nREPL 0.6.0
Clojure 1.10.0
OpenJDK 64-Bit Server VM 12.0.2+10
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
--------------------------------------------------------------------------------------------------------
EMACS tarafı
CTRL + x CTRL + f
Find file: ~/Projeler/kerimbasol/src/kerimbasol/core.clj
ALT + x monroe
Host (default 'localhost:37829'): Enter
Connected.
CTRL + x b
Switch to buffer (default core.clj): Enter
--------------------------------------------------------------------------------------------------------
Kod üzerinde ki her değişiklikte
CTRL + C CTRL + K
Install package: monroe
ALT + x package-install
Install package: clojure-mode
ALT + x package-install
Install package: paredit
---------------------------------------------------------------------------------------
Komut satırı
$ cd ~/Projects
$ lein new app kerimbasol
Generating a project called kerimbasol based on the 'app' template.
$ cd kerimbasol
$ lein repl
nREPL server started on port 37829 on host 127.0.0.1 - nrepl://127.0.0.1:37829
REPL-y 0.4.3, nREPL 0.6.0
Clojure 1.10.0
OpenJDK 64-Bit Server VM 12.0.2+10
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
--------------------------------------------------------------------------------------------------------
EMACS tarafı
CTRL + x CTRL + f
Find file: ~/Projeler/kerimbasol/src/kerimbasol/core.clj
ALT + x monroe
Host (default 'localhost:37829'): Enter
Connected.
CTRL + x b
Switch to buffer (default core.clj): Enter
--------------------------------------------------------------------------------------------------------
Kod üzerinde ki her değişiklikte
CTRL + C CTRL + K
16 Ekim 2018 Salı
IRC Nickname ve Password ile Nickserver a login olmak
IRC'de Nickname ve password kullanma
irc nickserver'da aşağıda ki komutu girerseniz, kayıtlı nickname ve şifre ile login olabilirsiniz.
/msg NickServ identify <username> <password>
irc nickserver'da aşağıda ki komutu girerseniz, kayıtlı nickname ve şifre ile login olabilirsiniz.
/msg NickServ identify <username> <password>
Kaydol:
Yorumlar (Atom)