This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. comm -23 <(pacman -Qeq|sort) <(pacman -Qmq|sort) > pkglist.txt | |
2. pacman -S $(< pkglist.txt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name anakros.name; | |
location / { | |
root /srv/http/main; | |
index index.html index.php; | |
} | |
location ~ \.(php|html|htm)$ { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Large desktop */ | |
@media (min-width: 1200px) { } | |
/* Portrait tablet to landscape and desktop */ | |
@media (min-width: 768px) and (max-width: 979px) { } | |
/* Landscape phone to portrait tablet */ | |
@media (max-width: 767px) { } | |
/* Landscape phones and down */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
first way : | |
1. Enable "VNC viewers may control screen" option in remote management preferences. | |
second way (via ssh) | |
1. start server with sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw [your_password] -restart -agent -privs -all | |
2. if server already started, stop it with sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -configure -access -off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo scutil --set HostName [hostname] |
NewerOlder