du -h | perl -e ‘sub h{%h=(K=>10,M=>20,G=>30);($n,$u)=shift=~/([0-9.]+)(\D)/;return $n*2**$h{$u}}print sort{h($b)<=>h($a)}<>;’ > dusort.txt
du -h | perl -e ‘sub h{%h=(K=>10,M=>20,G=>30);($n,$u)=shift=~/([0-9.]+)(\D)/;return $n*2**$h{$u}}print sort{h($b)<=>h($a)}<>;’ > dusort.txt
In your config you need to add
username-as-common-name
auth-user-pass-verify /etc/openvpn/verify.php via-file
Then create the file and paste in it
#Now add this code into the file
#!/usr/bin/php
$userArray = file('/etc/openvpn/users'); $tmpFile = file($argv[1]); #userArray should be in the form of #username:password foreach ($userArray as $line) { $newArray = preg_split("/[:]+/", $line); if(trim($newArray[0]) == trim($tmpFile[0]) AND trim($newArray[1]) == trim($tmpFile[1])) exit(0); #Found a match } exit(1); #No match ?>
Don’t forget to add users 😉
echo „myfirstuser:password123“ > /etc/openvpn/users
This can be set to false in about:config
security.mixed_content.block_active_content
To show only page content from joomla article or component you need to add following to the url
&task=display&tmpl=component