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
root(~)# fallocate -l 2G /home/engell/.swapfile | |
root(~)# chmod 600 /home/engell/.swapfile | |
root(~)# mkswap /home/engell/.swapfile | |
Setting up swapspace version 1, size = 2097148 KiB | |
no label, UUID=8154dc45-fda4-4f29-b7a8-05f7c864f7a4 | |
root(~)# swapon /home/engell/.swapfile | |
root(~)# free | |
total used free shared buffers cached | |
Mem: 1017740 1003196 14544 0 8388 691664 | |
-/+ buffers/cache: 303144 714596 |
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
user ALL=NOPASSWD: /ruta/al/binario |
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 env EDITOR=nano visudo |
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
<tbody> | |
<tr> | |
<td valign="top" align="center"> | |
<span class="HOEnZb"><font color="#888888"> | |
</font></span><span class="HOEnZb"><font color="#888888"> | |
</font></span><span class="HOEnZb"><font color="#888888"> | |
</font></span><table border="0" cellpadding="0" cellspacing="20" width="650"> | |
<tbody> | |
<tr> | |
<td colspan="2"> |
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
<tbody> | |
<tr> | |
<td valign="top" align="center"> | |
<span class="HOEnZb"><font color="#888888"> | |
</font></span><span class="HOEnZb"><font color="#888888"> | |
</font></span><span class="HOEnZb"><font color="#888888"> | |
</font></span><table border="0" cellpadding="0" cellspacing="20" width="650"> | |
<tbody> | |
<tr> | |
<td colspan="2"> |
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
<tbody> | |
<tr> | |
<td valign="top" align="center"> | |
<span class="HOEnZb"><font color="#888888"> | |
</font></span><span class="HOEnZb"><font color="#888888"> | |
</font></span><span class="HOEnZb"><font color="#888888"> | |
</font></span><table border="0" cellpadding="0" cellspacing="20" width="650"> | |
<tbody> | |
<tr> | |
<td colspan="2"> |
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
$(document).ready(function(){ | |
$('#menos').click(function(){ | |
if ($('#cantidad').val() != 0) | |
$('#cantidad').val(parseInt($('#cantidad').val()) - 1); | |
}); | |
$('#mas').click(function(){ | |
$('#cantidad').val(parseInt($('#cantidad').val()) + 1); | |
$("#cantidad").css({color:"#000000"}); | |
}); |