A little something about everything | internet marketing and website development made simple..

A little something about everything

internet marketing and website development made simple..

How to target specific browsers within certain platforms, such as mozila & safari within mac for CSS design

You would first need to target the operating system which can be best accomplished by using javascript such as:

if(navigator.userAgent.indexOf('Mac') > 0) {

//code

}

Now in order to target the browser version you can use things such as if ie triggers for internet explorer

<!--[if (gt IE 6)&(lte IE 7)]>
<link href="/css/IE.css" rel="stylesheet" type="text/css">
<![endif]-->

or webkit for mozila or safari

@media screen and (-webkit-min-device-pixel-ratio:0) {
your css here
}

final code to target internet explorer on mac would look something like this:

if(navigator.userAgent.indexOf('Mac') > 0) {

<!--[if (gt IE 6)&(lte IE 7)]>
<link href="/css/IE.css" rel="stylesheet" type="text/css">
<![endif]-->


}

 

 

 

Slow Network Performance on Windows Server 2008 R2 or 2012 VPS RDP

Many things can cause these issue, here are a few things you can do to improve performance on your Windows Server 2012 VPS on Hyper-V.

  1. Make sure both your switch and NIC are set to the same speed, Auto can cause lots of issues.
    • Verify your router service speed. If you do not manage the router check with the person or company that manages it. Otherwise if you have a cisco router you can follow this basic commands.
      > password
      > enable
      > password
      > show interface [InterfaceName#/#] capabilities (example: FastEthernet#/#)
      > exit
    • Verify what speed your switch is running, if the switch is not yours ask your service provider. Assuming you have a cisco switch login to the switch via terminal or  telnet session, if the value for the switch is different than the router then you will need to use admin credentials. Then you will need to edit config mode for the correct interface. Here are some basic instructions. (If you screw up your network because you don't know what you are doing I am not liable! you have been warned)
      > password
      > Enable
      > password
      > Show interface (interfacename example: FastEthernet#/#) capabilities
      > Config Interface (interfacename example: FastEthernet#/#)
      > Speed 100 (this number should match your router service speed)
      > duplex full (this should match your router duplex)
    • To do this on your server simply open network and sharing center, select "change adapter settings", click advanced tab. Now scroll down until you find something like "Speed Duplex" and set this to the same as your switch. (ie 100Mbps Full Duplex, or if you have a Gigabit switch 1 Gbps Full Duplex".
  2. Jumbo Packet / Jumbo Frames should be disabled in most cases for best performance.
  3. Receive Buffers can be increased in increments of 64 if you have sufficient system memory to support the increase. Maximum is generally 2048 or 8MB for VPS.
  4. Transmit Buffers can be increased to provide improved performance. Maximum is generally 16384 or 8MB for VPS.
  5. Preferred NUMA node can be adjusted to a specified node other than System Default if the default node is under heavy load to improve system network performance.
  6. Max Number of RSS Processors (this setting can have an impact on CPU performance if you have a large number if cores, in some cases it may be best to specify a lower number of cores. If you notice that core #1 is at 100% utilization you can try increasing this number.)
    • In some cases you may also have to increase the Maximum Number of RSS Queues if your CPU #1 is at 100% to see if it has a positive impact.
  7. Offload (Offloading lowers CPU load and in most cases has little network performance benefit when disabled so you should leave them enabled)
    • IPsec Offload can lower CPU usage.
    • IPv4 Checksum Offload
  8. Decreasing Interrupt Moderation Rate will increase CPU utilization. (if you have CPU to spare you can decrease this to the lowest value or disable and adjust from that point)
  9. Enable or disable flow control can make a slight difference in performance depending on your adapter(s).

Roofing, Siding and Windows - Rochester, MN

Roofing, Siding & Windows - Rochester, MN
Roofing, Siding and Windows - Rochester, MN

Type: Roofing, Siding and Windows - Rochester, MN Contractor

Ronningen Roofing provides construction and contractor services for Roofing, Siding and Windows in the Rochester MN and surrounding Southern Minnesota area. If you live and Minnesota and are looking to have new Roofing, Siding or New Windows on your home I strongly suggest you give a call to Eric at (507) 281 8899

Ronningen Roofing, Inc.

608 11th Ave NE
Rochester, MN 55906

www.erroofing.com

Call them at (507) 281-8899

Windows Azure Platform Global outage, Microsoft failure to renew SSL certificate

Global outage on Windows Azure platform caused by improper renewal of *.table.core.windows.net Wildcard SSL certificate.

In a company the size of microsoft and with as so many enterprise class clients using Azure you would think that they would have a procedures in place to prevent simple yet catastrophic mistakes like this.

Although better to be down than run insecure, some Azure users are opting to run in non SSL HTTP mode in order to keep services online.