The vm is continuously growing. Even when you free space ( from inside ) then the virtual disk will not change the size:
Inside the VM run that command:
cd ~
sudo cat /dev/zero > zero;sync;sleep 1;sudo rm zero
0000000 1f 8b 08 00 36 28 a9 50 00 03 ec da 79 7c 5c 65 | |
0000010 a1 3f e0 99 03 15 01 91 a5 b2 28 52 43 58 54 30 | |
0000020 e9 4c d6 86 a2 d0 24 b4 6c a5 40 0b b4 50 a8 69 | |
0000030 92 42 b5 6d ba 53 50 14 59 95 7d 17 77 54 10 81 | |
0000040 22 0a a8 80 08 88 2b 22 20 ae d7 0d 97 ab 5e 5c | |
0000050 10 50 14 bd 82 dc a4 3d 02 5f ee 4f ae 7f 14 f8 | |
0000060 29 cf f3 f9 4c df 7e f3 be 73 e6 cc e4 bc cb bc | |
0000070 27 cd 63 9b 67 0d 0c ce 1f aa 3c 83 6a b5 5a 67 | |
0000080 7b 7b c3 aa b2 63 75 59 6b 69 5b 5d 8e 68 6d ed | |
0000090 68 a8 b7 d4 da 5b ea ad 2d 6d 1d 6d 0d b5 91 b2 |
alias: Garbage bin reminder | |
description: "" | |
trigger: | |
- platform: time | |
at: "18:00:00" | |
condition: | |
- condition: time | |
before: "00:00:00" | |
weekday: | |
- wed |
<?xml version="1.0" encoding="UTF-8"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"> | |
<channel> | |
<title>Dee Notte</title> | |
<link><![CDATA[http://www.deejay.it/audio/podcast/dee-notte/]]></link> | |
<description><![CDATA[Nicola Vitiello e Gianluca Vitiello ti aspettano in diretta Dee Notte!! In podcast riascolta il meglio dei loro programmi.]]></description> | |
<language>it-it</language> | |
<copyright>Copyright Elemedia S.p.A. 1999-2018</copyright> | |
<managingEditor>webmaster@deejay.it (Radio Deejay)</managingEditor> | |
<itunes:author>Radio Deejay</itunes:author> |
function generateBC(url, separator) { | |
var elements = url.split('/') | |
elements.reduce((acc, value, index) => { | |
return index === 0 ? | |
generateTag('/', 'home', false) : | |
generateTag(`/${value}/`, value, index == elements.length -1 ? true: false) | |
},'') | |
} | |
function generateTag(href, name, active) { |
function LCS(x, y) { | |
if (x.length == 0 | y.length == 0) | |
return ''; | |
var res = [] | |
x = x.split(''); | |
y = y.split(''); | |
y.forEach((ago, i) => { | |
x.forEach((pag, j) => { |
As you already know Docker released the 1.10 version with a huge list of features.
The list contains also a list of security improvment: one of that is the improving the user namespace
This is what it was happening before the version 1.10.
We are just runnging an alpine container mounting an external volume /var/log/
.
:: include no-usernamespece.rd
As you can see the ownership of the files in the container it is exactly the one outside the container ( because we are mounting the volume ).
That means that the actual logget user in the container (root
) can have access to these files and for example mess the up.
<?php | |
/** | |
* ConstraintFiscalCode.php. | |
* @author Andrea Giuliano <giulianoand@gmail.com> | |
* Date: 20/07/12 | |
* Time: 16:11 | |
*/ | |
namespace Dnsee\RegistrationBundle\Validator\Constraints; | |
use Symfony\Component\Validator\Constraint; |
<trans-unit id="22"> | |
<source>This value should not be blank.</source> | |
<target>Questo valore non dovrebbe essere vuoto.</target> | |
</trans-unit> |
public function rejectAction($id) | |
{ | |
$em = $this->getDoctrine()->getManager(); | |
$track = $em->getRepository('Track')->find($id); | |
if (!$track) { | |
throw $this->createNotFoundException('Track not found'); | |
} | |
$track->setModerationStatus(ModerationStatus::DECLINED); |