This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\SqlServerName | |
HKLM\SOFTWARE\Veeam\Veeam Backup Catalog\CatalogSharedFolderPath |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -X | |
use lib '.'; | |
use strict; | |
use CGI::Carp qw(fatalsToBrowser); | |
use REST::Client; | |
use JSON; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
R1#tclsh | |
R1(tcl)#for {set i 1} {$i < 31} {incr i} { ping 192.168.0.$i repeat 1 timeout 1 } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Requires Photoshop CS5 or newer | |
#target photoshop; | |
if(documents.length) app.activeDocument.suspendHistory('Stroke Guides', 'main()'); | |
function main(){ | |
activeDocument.artLayers.add(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# | |
OBS_PATH="https://xxxxxxxxx.xxx" | |
OBS_USER=xxxxxxxxxxx | |
OBS_PASS=xxxxxxxxxxxx | |
OBS_DEVICE_NO=5 | |
OBS_GRAPH_NAME=device_la |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Go step-by-step through following instructions to set up L2TP/IPSec VPN on Centos 7. | |
To set up the VPN client on centos 7, first install the following packages: | |
yum -y install epel-release | |
yum -y install strongswan xl2tpd | |
Create VPN variables (replace with actual values): | |
VPN_SERVER_IP='your_vpn_server_ip' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ldapmodify -Y EXTERNAL -H ldapi:/// -D "cn=admin,dc=example,dc=net" -W -f /root/ldap_modify/change_sasl.ldif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Logon refers to an RDP logon to the system, an event that appears after a user has been successfully authenticated. It is an event with the EventID 21 (Remote Desktop Services: Session logon succeeded). This events are located in the “Applications and Services Logs -> Microsoft -> Windows -> TerminalServices-LocalSessionManager -> Operational”. As you can see, here you can find the ID of a user RDP session — Session ID. | |
Find the corresponding Even Log, right click, select "Attach Task to this event" | |
Launch “Event Viewer” and find the event you created in Step 1. It should be located toward the top of the “Windows Logs\Application” Log. Once found, right‐click on the event and select “Attach Task to This Event…” then use the defaults for the first couple screens of the wizard. | |
Create Powershell scripts C:\scirpts\send_sms.ps1 : | |
$SMTP_USERNAME = "[email protected]" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
domain: 333.222.111.in-addr.arpa | |
nserver: ns1.mydns.net | |
nserver: ns2.mydns.net | |
admin-c: PA9999-RIPE | |
tech-c: PA9999-RIPE | |
zone-c: PA9999-RIPE | |
mnt-by: ir-ttestt-1-mnt | |
source: RIPE |