<div class="block">
<img class="image">
</div>
.block {
position: relative;
overflow: visible;
}
.block .image {
position: absolute;
top: -100px;
right: 200px;
}
<div class="block">
<img class="image">
</div>
.block {
overflow: visible;
}
.block .image {
display: inline-block;
margin-top: -100px;
margin-bottom: -100px;
}
.block .image {
position: absolute;
width: 300px;
top: -100px;
right: 200px;
}
@media (max-width: 800px) {
.block .image {
width: 200px;
top: -50px;
right: 50px;
}
}
#!/usr/bin/perl
use strict;
use warnings;
use utf8;
use open qw/:std :utf8/;
my $text = "Как найти слова с двумя гласными?";
my @words = split /\s+/, $text;
my ($count, @result, $tmp_word);
for my $word (@words) {
$tmp_word = $word;
$count = ($word =~ s/[уеёыаоэяию]//g);
push @result, $tmp_word if $count == 2;
}
for (@result) {
print $_, "\n";
}
To change the sample rate and audio bit depth we need to edit the configuration file for the pulseaudio server /etc/pulse/daemon.conf.
Please backup the original settings to restore the defaults in case som settings break your audio.
Look for the following entries:
; default-sample-format = s16le
; default-sample-rate = 44100
Both are commented out with ;. This means they are not read as the entries given here are the defaults. Uncoment them and replace them with values that suit you better. Always keep in mind that this may be on cost of system performance or stability when choosing extreme values.
Possible entries for the sample format are: u8, s16le, s16be, s24le, s24be, s24-32le, s24-32be, s32le, s32be float32le, float32be, ulaw, alaw
Possible entries for the sample frequency are anything between 1 and 192000 Hz (choose sensible values!)
Save this file as ~/.pulse/daemon.conf or in it's original location (you need to be root then). In order for changes to take effect pulseaudio needs to be restarted with pulseaudio -k in a terminal, or by log out and log back in.