[StructLayout(LayoutKind.Sequential)]
public unsafe struct PLUGININFO
{
public fixed byte name[101];
public fixed byte describe[201];
public short version;
// либо
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
public string name;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 201)]
public string describe;
public short version;
}
<svg class="icon icon-vk">
<use class='svg1' xlink:href="#icon-vk"></use>
<use class='svg2' xlink:href="#icon-hover"></use>
</svg>
.soc_vk:hover .svg1{ display: none; }
.soc_vk:hover .svg2{ display: inline; }
.soc_vk:not(:hover) .svg1{ display: inline; }
.soc_vk:not(:hover) .svg2{ display: none; }
server {
listen 80;
server_name example.com;
root <путь к статическому контенту>/static_content;
}
server {
listen 80;
server_name dashboard.example.com;
root <путь к статическому контенту>/static_content;
}
listen img.domain.ru:443 ssl;
listen 443 ssl;