sudo apt-get install php5-curl sudo /etc/init.d/apache2 restart
gsettings set org.gnome.desktop.screensaver idle-activation-enabled falsegsettings set org.gnome.settings-daemon.plugins.power active false
vim /etc/ssh/sshd_config
PermitRootLogin yes
service ssh restart touch ~/.config/autostart vim ~/.config/autostart [Desktop Entry] Type=Application Exec=sudo /usr/bin/etherape Hidden=false X-GNOME-Autostart-enabled=true Name[en_GB]=etherape Name=etherape Comment[en_GB]=etherape Comment=etherape
gnome-session-properties
Add
nazwa_polecenia
dconf-editor
lub
gsettings set
gsettings set org.gnome.settings-daemon.plugins.power sleep-display-ac 0 gsettings set org.gnome.settings-daemon.plugins.power sleep-display-battery 0 gsettings set org.gnome.desktop.session idle-delay 0
sshfs user@host:/home/user/folder /mnt/share -o allow_other -p port
odmontowuje
fusermount -u /mnt/share
$string = preg_replace ("/[\"']/", '', $string);
http://forum.php.pl/index.php?showtopic=98808
usunięcie skrajnych cudzysłowów
http://php.net/stripslashes
Widget AFPW - https://wordpress.org/plugins/advanced-featured-post-widget/
domyślnie czyści wszystkie znaczniki z wpisów.
Aby temu zapobiec należy zmienić w pliku:
wp-content/plugins/advanced-featured-post-widget/class-lib/A5_ExcerptClass.php
linię
$text = (empty($format)) ? strip_tags(trim(preg_replace('/\s\s+/', ' ', str_replace(array("\r\n", "\n", "\r", " "), ' ', $excerpt_base)))) : preg_replace('#(<a.*?><img.*?></a>)|(<img.*?>)#i', '', $excerpt_base);
na
$text = $excerpt_base;
oraz zakomentować linię:
$text = preg_replace('/[^"](https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$][^"
]/i', '', $text); YAD tworzenie okien dialogowych do skryptów - s.56
Sprawdzanie błędów nośników optycznych - QPxTool - s.62
Facebook z wiersza poleceń - FACY - s.70
Youtube bez przeglądarki - AtraCI, minitube, musictube - s.14
Raspberry Pi B+ - s.44
LSOF - lista otwartych plików - s.66
image to ASCII - sl, cacafire, toilet - s.76
Zobacz całość
http://support.microsoft.com/kb/307545/pl
boot from cd
'r'
md tmp copy c:\windows\system32\config\system c:\windows\tmp\system.bak copy c:\windows\system32\config\software c:\windows\tmp\software.bak copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak copy c:\windows\system32\config\security c:\windows\tmp\security.bak copy c:\windows\system32\config\default c:\windows\tmp\default.bak delete c:\windows\system32\config\system delete c:\windows\system32\config\software delete c:\windows\system32\config\sam delete c:\windows\system32\config\security delete c: windows\system32\config\default copy c:\windows\repair\system c:\windows\system32\config\system copy c:\windows\repair\software c:\windows\system32\config\software copy c:\windows\repair\sam c:\windows\system32\config\sam copy c:\windows\repair\security c:\windows\system32\config\security copy c:\windows\repair\default c:\windows\system32\config\default exit
Tools > Plugins > Toggle line wrap
http://plugins.netbeans.org/plugin/45663/toggle-line-wrap
Prawy dolny róg: Wrap: words
http://wiki.ocsinventory-ng.org/index.php/Documentation:Server/pl
Wymagania:
Zobacz całość
http://www.ocsinventory-ng.org/en/download/register-download-ocs-inventory-ng-agent-for-unix.html
http://wiki.ocsinventory-ng.org/index.php/Documentation:UnixAgent/pl
apt-get install dmidecode libxml-simple-perl libio-compress-perl libnet-ip-perl libwww-perl libdigest-md5-perl libnet-ssleay-perl wget Ocsinventory-Unix-Agent-2.1.1.tar.gz tar -xf Ocsinventory-Unix-Agent-2.1.1.tar.gz cd Ocsinventory-Unix-Agent-2.1.1 perl Makefile.pl make make install
https://wiki.samba.org/index.php/Registry_changes_for_NT4-style_domains
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters] "DomainCompatibilityMode"=dword:00000001 "DNSNameResolutionRequired"=dword:00000000