|
@@ -12,9 +12,11 @@
|
|
|
});
|
|
|
|
|
|
$('li').each(function(i,e){
|
|
|
- var uuid = 'li_' + Math.floor(Math.random() * Math.floor(1000000)).toString() + '_' + i.toString();
|
|
|
- $(this).contents().wrap('<span id="'+ uuid +'"><label for="cb_'+ uuid +'"></label></span>');
|
|
|
- $(this).prepend('<input type="checkbox" class="completeBox" id="cb_' + uuid +'" rel="'+ uuid +'" />')
|
|
|
+ if(!$(this).hasClass('noCheckbox')){
|
|
|
+ var uuid = 'li_' + Math.floor(Math.random() * Math.floor(1000000)).toString() + '_' + i.toString();
|
|
|
+ $(this).contents().wrap('<span id="'+ uuid +'"><label for="cb_'+ uuid +'"></label></span>');
|
|
|
+ $(this).prepend('<input type="checkbox" class="completeBox" id="cb_' + uuid +'" rel="'+ uuid +'" />')
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
$('code,div.codeBlock,textarea.codeBlock').each(function(i,e){
|
|
@@ -23,7 +25,7 @@
|
|
|
theElement.empty();
|
|
|
for(l=0;l<lines.length;l++){
|
|
|
if($.trim(lines[l]) != '' && $.trim(lines[l]).substr(0,1) != '#' && $.trim(lines[l]).indexOf(' #') == -1 && lines[l].substr(0, 4).toUpperCase() != 'REM '){
|
|
|
- theElement.append('<input type="image" src="images/clipboard.png" value="" class="copy-text" rel="copy_'+ i +'_'+ l +'" data-clipboard-text="'+ lines[l].replace(/"/g, '"') +'" /><span id="copy_'+ i +'_'+ l +'">'+ lines[l] +'</span>');
|
|
|
+ theElement.append('<input type="image" src="images/clipboard.png" value="" class="copy-text" rel="copy_'+ i +'_'+ l +'" data-clipboard-text="'+ $.trim(lines[l].replace(/"/g, '"')) +'" /><span id="copy_'+ i +'_'+ l +'">'+ lines[l] +'</span>');
|
|
|
} else {
|
|
|
theElement.append(lines[l]);
|
|
|
}
|
|
@@ -132,17 +134,17 @@
|
|
|
<ol>
|
|
|
<li>Click the Applications button > Accessories > Terminal</li>
|
|
|
<li>Run the following commands to install updates
|
|
|
- <div class="codeBlock">sudo apt-get update<br />
|
|
|
- sudo apt-get upgrade<br />
|
|
|
- sudo apt-get clean<br />
|
|
|
- sudo reboot</div>
|
|
|
+ <div class="codeBlock">sudo apt update<br />
|
|
|
+ sudo apt upgrade -y<br />
|
|
|
+ sudo apt clean<br />
|
|
|
+ sudo reboot now</div>
|
|
|
</li>
|
|
|
<li>Select Devices > Insert Guest Additions CD image...</li>
|
|
|
<li>If the installation autoruns, select Run</li>
|
|
|
- <li>On the desktop, Right click on the Guest Additions disc > Open terminal here</li>
|
|
|
+ <li>On the desktop, Right click on the Guest Additions disc > Open in Terminal</li>
|
|
|
<li>In the Terminal window run the following commands
|
|
|
<div class="codeBlock">sudo sh ./VBoxLinuxAdditions.run<br />
|
|
|
- sudo reboot</div>
|
|
|
+ sudo reboot now</div>
|
|
|
</li>
|
|
|
<li>The VM will reboot</li>
|
|
|
<li>Upon rebooting, you can now full screen the VM and the internal resolution will automatically change to match the window size</li>
|