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
lspci | |
iwconfig wlan0 | |
watch -n 1 cat /proc/net/wireless | |
wavemon | |
sudo iwlist wlan0 scan | |
sudo iwconfig wlan0 essid network-essid | |
sudo iwconfig wlan0 freq 2.422G | |
sudo iwconfig wlan0 channel 3 | |
sudo iwconfig wlan0 retry 16 |
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
ldd `which proftd`|grep -i "not found" |
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
For Files: | |
takeown /f file_name /d y | |
icacls file_name /grant administrators:F | |
For Folders or Directories (will perform action recursively): | |
takeown /f directory_name /r /d y | |
icacls directory_name /grant administrators:F /t |
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 apt-get install php-pear | |
sudo apt-get install php5-dev | |
sudo pecl install timezonedb | |
sudo su -c 'echo extension=timezonedb.so > /etc/php5/conf.d/timezone.ini' | |
sudo service apache2 reload | |
sudo sed -i -r 's~^;date\.timezone =$~date.timezone = "Europe/Moscow"~' /etc/php5/cli/php.ini | |
sudo sed -i -r 's~^;date\.timezone =$~date.timezone = "Europe/Moscow"~' /etc/php5/apache2/php.ini |
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
nmcli dev list iface eth0 | grep IP4 | |
nm-tool | tail -n 8 |
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
chrome://net-internals/#dns | |
chrome://flags/ | |
chrome://settings/ | |
chrome://gpu/ | |
chrome://memory-redirect/ | |
chrome://downloads/ |
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
# html | |
regex/i/\.html?$ | |
Open=/usr/lib/mc/ext.d/web.sh open html | |
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view cat |
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
http://pcsupport.about.com/od/tipstricks/a/free-public-dns-servers.htm | |
The Google Public DNS IP addresses (IPv4): | |
8.8.8.8 | |
8.8.4.4 | |
The Google Public DNS IPv6 addresses: | |
2001:4860:4860::8888 | |
2001:4860:4860::8844 |
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
[Midnight-Commander] | |
verbose=1 | |
pause_after_run=1 | |
shell_patterns=1 | |
auto_save_setup=1 | |
preallocate_space=0 | |
auto_menu=0 | |
use_internal_view=1 | |
use_internal_edit=0 | |
clear_before_exec=1 |
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
# Possible options to exclude files/directories from backup using tar: | |
# Exclude files using multiple patterns | |
tar -czf backup.tar.gz --exclude=PATTERN1 --exclude=PATTERN2 ... /path/to/backup | |
# Exclude files using an exclude file filled with a list of patterns | |
tar -czf backup.tar.gz -X /path/to/exclude.txt /path/to/backup | |
# Exclude files using tags by placing a tag file in any directory that should be skipped | |
tar -czf backup.tar.gz --exclude-tag-all=exclude.tag /path/to/backup |