Uruchom komputer z Live-CD dowolnej dystrybucji Linux-a
Wydaj poniższe polecenie i edytuj plik na zamontowanym dysku
pkexec visudo -f /mnt/DYSK/etc/sudoers
pkexec visudo -f /mnt/DYSK/etc/sudoers
Windows Registry Editor Version 5.00 [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS] "Type"=dword:00000020 "Start"=dword:00000003 "ErrorControl"=dword:00000001 "ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\ 74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\ 00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\ 6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00 "DisplayName"="Usługa inteligentnego transferu w tle" "DependOnService"=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,00,00 "DependOnGroup"=hex(7):00,00 "ObjectName"="LocalSystem" "Description"="Używa przepustowości bezczynnej sieci do transferu danych. Jeżeli BITS zostanie wyłączone, funkcje takie jak Windows Update przestaną działać." "FailureActions"=hex:00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,68,e3,0c,\ 00,01,00,00,00,60,ea,00,00,01,00,00,00,60,ea,00,00,01,00,00,00,60,ea,00,00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS\Parameters] "ServiceDll"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,\ 00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\ 71,00,6d,00,67,00,72,00,2e,00,64,00,6c,00,6c,00,00,00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS\Security] "Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\ 00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\ 00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\ 05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\ 20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\ 00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\ 00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS\Enum] "0"="Root\\LEGACY_BITS\\0000" "Count"=dword:00000001 "NextInstance"=dword:00000001
ls: nie ma dostępu do kmod-Hyper-V-rhel6-43.1.x86_64.rpm: Nie ma takiego pliku lub katalogu
ls: nie ma dostępu do Hyper-V-rhel6-43.1.x86_64.rpm: nie takiego pliku lub katalogu RPM brakuje
mount / dev / cdrom / mediacd / media. / Install.shrestart
vi / etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE = "eth0"
ONBOOT = "yes"
HWADDR =
TYPE = Ethernet
BOOTPROTO = dhcp
NAME = "Instalacja eth0"
EscShift +:wqWpisać
vi / etc / sysconfig / network
SIEĆ = yes
yum --disablerepo=rpmforge install perl-PathTools
<?php
//tablica id|arty|data|rev
$tabArr[0] = Array(2, 'art', '', 6);
$tabArr[1] = Array(1, 'art', '', 10);
$tabArr[2] = Array(2, 'art', '', 6);
$tabArr[3] = Array(1, 'art', '', 44);
$tabArr[4] = Array(2, 'art', '', 2);
$tabArr[5] = Array(1, 'art', '', 0);
$tabArr[6] = Array(2, 'art', '', 6);
$tabArr[7] = Array(1, 'art', '', 4);
//wyswietlenie tablicy
foreach($tabArr as $row){
echo '<br />';
foreach($row as $wynik)
echo '|'.$wynik;
}
//zrobienie pomocniczej tablicy do sortowania
$i=0;
foreach($tabArr as $row){
$i++;
//nasz rev
$pomArr[$i] = $row[3];
}
//sortowanie
array_multisort($pomArr, SORT_ASC, $tabArr);
echo '<br />********************<br />';
//wyswietlenie posortowanej tablicy
foreach($tabArr as $row2){
echo '<br />';
foreach($row2 as $wynik2)
echo '|'.$wynik2;
}
?>
<p id="tekst">tekst 2</p>
<script>
document.getElementById('tekst').style.setProperty('font-size',(window.innerHeight*10)/100+'px','')
<!-- THREE STEPS TO INSTALL PRELOAD PAGE:
1. Copy the coding into the HEAD of your HTML document
2. Add the onLoad event handler into the BODY tag
3. Put the last coding into the BODY of your HTML document -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Gilbert Davis -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function loadImages() {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById('hidepage').style.visibility = 'hidden';
}
else {
if (document.layers) { // Netscape 4
document.hidepage.visibility = 'hidden';
}
else { // IE 4
document.all.hidepage.style.visibility = 'hidden';
}
}
}
// End -->
</script>
</HEAD>
<!-- STEP TWO: Insert the onLoad event handler into your BODY tag -->
<BODY OnLoad="loadImages()">
<!-- STEP THREE: Copy this code into the BODY of your HTML document -->
<div
id="hidepage" style="position: absolute; left:5px; top:5px;
background-color: #FFFFCC; layer-background-color: #FFFFCC; height:
100%; width: 100%;">
<table width=100%><tr><td>Page loading ... Please wait.</td></tr></table></div>
<!-- put the rest of your page contents here -->
<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
<!-- Script Size: 1.20 KB -->
%systemroot%\system32\spool\servers\[servername]
gdzie [servername]
to nazwa serwera wydruku, obsługującego konkretną drukarkę. pliki z dokumentami mają rozszerzenia *.spl
1
2 3 4 5 6 |
#glowny {
width: 100%; clear: both; height: 100%; overflow: hidden; } |
1
2 3 4 5 6 7 8 9 |
1
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
#menu {
width: 30%; margin: 0 0 -20000px 5px; padding-bottom: 20000px; height: 100%; background: #ffe6c5; float: left; } #tresc { width: 65%; padding: 0 0 0 15px; float: left; height: 100%; background: #CCCCCC; margin-bottom: -20000px; padding-bottom: 20000px; } |
W kodzie PHP dodać linijkę:
na podstawie informacji można szybko stworzyć:
$_SERVER['HTTP_HOST'].''.$_SERVER['REQUEST_URI'];