start new:
tmux
start new with session name:
tmux new -s myname
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta content="yes" name="apple-mobile-web-app-capable"> | |
| <title>Cool web-app</title> | |
| <!-- iPhone - iPod touch - 320x460 --> | |
| <link href="splashscreen.png" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)" rel="apple-touch-startup-image"> | |
| <!-- iPhone - iPod (Retina) - 640x920 --> |
| if (([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) | |
| { | |
| "Running as admin in $PSScriptRoot" | |
| } | |
| else | |
| { | |
| "NOT running as an admin!" | |
| Start-Process powershell -WorkingDirectory $PSScriptRoot -Verb runAs -ArgumentList "-noprofile -noexit -file $PSCommandPath" | |
| return "Script re-started with admin privileges in another shell. This one will now exit." | |
| } |