VirtualTam's bookmarks
5 bookmarks found
Page 1 of 1
-
Pro: no need to setup a DNS server to test virtualhosts Con: keep in mind that all "fake" hosts will point to 127.0.0.1!
- Use /etc/hosts to declare test hosts / domains / subdomains
#<ip-address> <hostname.domain.org> <hostname> 127.0.0.1 localhost.localdomain localhost 127.0.0.1 host.localdomain host 127.0.0.1 sub.host.localdomain sub.host ::1 localhost.localdomain localhost
- Allow per-user virtualhost definition in either (depending on your distro)
/etc/httpd/conf/httpd.conf
/etc/apache2/apache2.conf
Include
/home/albert/.httpd/*.conf
- Profit! Create virtualhosts with local hostnames :)
-
ALSA: multiple USB sound cards
2015-01-12 # /etc/modprobe.d/snd_usb_audio.conf options snd_usb_audio vid=<vid1>,<vid2> pid=<pid1>,<pid2> index=<index1>,<index2> enable=1,1
example:
# 5: M-Audio Fast Track Pro # 6: Focusrite Scarlett 6i6 options snd_usb_audio vid=0x763,0x1235 pid=0x2012,0x8012 index=5,6 enable=1,1
See also: http://alsa.opensrc.org/MultipleCards
-
1# Global 2/etc/environment 3 4# X Session 5/var/lib/AccountsService/users/<username> 6~/.dmrc 7~/.xinitrc 8~/.xprofile 9 10# Session 11/etc/profile 12/etc/profile.d/*.sh 13~/.profile 14 15# Bash 16/etc/bash.bashrc 17~/.bash_profile 18~/.bashrc 19 20# ZSH 21/etc/zsh/zprofile 22~/.zshrc 23 24# Locales 25/etc/locale.conf 26/etc/locale.gen 27~/.config/locale 28 29# Superusers 30/etc/login.defs 31/etc/sudoers (use visudo to edit) 32 33# SSH 34/etc/ssh/sshd_config (server-side, can allow the client to pass variables) 35/etc/ssh/ssh_config (client-side, can send variables to servers) 36 37# SaltStack 38/etc/default/salt-minion (not always included in the distro's packages)
-
ArchLinux - Conky configs
2013-08-18 Plenty of nice Conky examples!
Page 1 of 1