Skip navigation

Category Archives: programy

cp /opt/SickGear/init-scripts/init.systemd /usr/lib/systemd/system/sickgear.service
chmod a+x /usr/lib/systemd/system/sickgear.service
//fix path on botton of script if using defult username, groups, paths
vi /usr/lib/systemd/system/sickgear.service
systemctl enable sickgear.service
systemctl start sickgear.service
systemctl status sickgear.service

reboot to verify!

Reklamy

mkdir /mnt/win7/test
chmod 777 /mnt/win7/test
mount.cifs //Server/Share /mnt/win7/test -o username=xxx,password=xxx

Just execute in shell:

/sbin/vs_refresh

Boot failed: Could not read from CDROM (code 0004)

// – Here are the cdrom boot failure codes:
// 1 : no atapi device found
// 2 : no atapi cdrom found
// 3 : can not read cd – BRVD
// 4 : cd is not eltorito (BRVD)
// 5 : cd is not eltorito (ISO TAG)
// 6 : cd is not eltorito (ELTORITO TAG)
// 7 : can not read cd – boot catalog
// 8 : boot catalog : bad header
// 9 : boot catalog : bad platform
// 10 : boot catalog : bad signature
// 11 : boot catalog : bootable flag not set
// 12 : can not read cd – boot image

Code 4 = not boot disk … get better iso or disk

@net use \\NAZWA_SERWERA /user:admin haslo123
@net use z: \\NAZWA_SERWERA\Filmy
@net use x: \\NAZWA_SERWERA\Music
@net use y: \\NAZWA_SERWERA\Multimedia

HowTo:
Replace NAZWA_SERWERA with Your server name (Lenovo, NAS etc) then change username (admin) to correct one, same with password.
Names after \\NAZWA_SERWERA\ are names which can be seen when browsing via Explorer \\NAZWA_SERWER.
Save that as „disk.cmd” with encoding UTF8.

Enjoy.

As powershell:
get-winevent -FilterHashTable @{logname="Application"; id="1001"}| ?{$_.providername –match "wininit"} | fl timecreated, message | out-file C:\CHKDSKResults.txt

Result can be seen on C:\CHKDSKResults.txt

Aby przyśpieszyć odbudowę macierzy w QNAPie:
Zaloguj się SSH:
Odczytaj prędkości:

cat /proc/sys/dev/raid/speed_limit_max
cat /proc/sys/dev/raid/speed_limit_min

Zwiększ:

echo 50000 >/proc/sys/dev/raid/speed_limit_min
echo 150000 >/proc/sys/dev/raid/speed_limit_max

Informacje o odbudowie:
cat /proc/mdstat

while true; do date +"%T";cat /proc/mdstat; sleep 5; done

Za :
http://forum.qnap.com/viewtopic.php?f=11&t=10268&sid=782cd3288a8a8f28c69161bdd5eb60b8&start=15

@"F:\Program Files (x86)\WinSCP\winscp.com" /command "option batch on" "option confirm off" "open Sored.pl" "put F:\zxc\torrent /home/pigers/rtorrent/watch" "exit"
@F:
@cd \zxc\torrent
@del *.torrent /q

Indeks podskoczył o 0,1 po wgraniu sterowników beta do karty graficznej!
Photobucket

UI:
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/15.0/win32/xpi/

Dic:
https://addons.mozilla.org/pl/firefox/language-tools/

Installation instructions:
A few simple steps is all that is needed to install these language packs:

Download the language pack .xpi from this page (below). You may also choose to immediately „install” in the browser (the default when left-clicking), skipping the need to save it first (go to step 3).
If you downloaded the .xpi first, double-click the .xpi in explorer/other file manager. Confirm that you want to install the .xpi in your browser. This will add the language pack
To actually switch to the new language, you also have to make a configuration change. Go to the advanced configuration editor (type about:config in the address bar and press enter).
Find the setting general.useragent.locale which is set to „en-US” by default. Double-click it to change.
Enter the language code for your locale, including region if applicable. E.g.: „fr” if you live in france, „ja” if you live in Japan, „es-MX” if you want Mexican Spanish. Use the same code as the file name of the language pack you downloaded.
Close completely and restart it.

%d blogerów lubi to: