What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-11-20 10:43:19
extract ip address from string powershell pattern
$Results = @() $Hosts = @() $Server = "Server01" $LogPath = "C:\logs\$Server\logs\server.log" #Checking log file $Lines = Get-Content $LogPath | Where-Object {$_ -match "AUDIT &quo... Add solution -
C# 2021-11-19 17:42:22
uri authority c#
//Gets the Domain Name System (DNS) host name or IP address and the port number for a server. Uri baseUri = new Uri("http://www.contoso.com:8080/"); Uri myUri = new Uri(baseUri,"shownew.htm?date=today"); Console.WriteLine(myUri.Autho... Add solution -
Other 2021-11-19 08:31:27
htaccess
//Force HTTPS RewriteEngine on RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} //Force www RewriteEngine on RewriteCond %{HTTP_HOST} ^htmlg\.com [NC] RewriteRule ^(.*)$ http://www.htmlg.com/$1 [L,R=301,NC] //Force non-www R... Add solution -
Python 2021-11-13 11:51:26
restricting user access to web pages
Require ip address_or_network(s) Add solution -
Other 2021-11-13 04:22:21
inter vlan routing with a layer 3 switch
MultilayerSwitch(config)# interface vlan 20 MultilayerSwitch(config-if)# ip address 10.0.20.1 255.255.255.0 MultilayerSwitch(config-if)# no shutdown MultilayerSwitch(config)# interface vlan 30 MultilayerSwitch(config-if)# ip address 10.0.30.1 255.255.255... Add solution
Best helpers
Ranking is empty