Simple (no spaces in paths):
schtasks /Create /TN "TaskName" /TR "C:\path\to\script.bat" /SC MINUTE /MO 15 /F| Public Sub addConnectionPointToShapeH() | |
| Dim var As Integer | |
| var = CInt(InputBox(Prompt:="Please enter the number of rows or subdivisions for the shape.", _ | |
| Title:="User Information", _ | |
| Default:=5)) | |
| Call addConnectionPointsShape(var, True) | |
| End Sub | |
| Public Sub addConnectionPointToShapeV() | |
| Dim var As Integer | |
| var = CInt(InputBox(Prompt:="Please enter the number of rows or subdivisions for the shape.", _ |
Public Sub grabFormula()
Dim wks As Excel.Worksheet
Dim quotes As String
quotes = """"
Set wks = ActiveSheet
For Each cell In Selection.Cells
Debug.Print " - " & quotes & "'" & wks.Name & "'!" & cell.Address & quotes
Next cell
End Sub| SELECT * | |
| FROM Summary t1 | |
| INNER JOIN ( | |
| SELECT system_id, MAX(ID) as max_id | |
| FROM Summary | |
| WHERE facility = 'MAC' | |
| GROUP BY system_id | |
| ) t2 ON t1.system_id = t2.system_id AND t1.ID = t2.max_id | |
| WHERE t1.facility = 'MAC' | |
| ORDER BY T1.id |
| import logging | |
| import requests | |
| import time | |
| from typing import Union, Dict | |
| from config.settings import get_settings | |
| class DocumentIntelligenceService: | |
| """ | |
| A service class for interacting with Azure Document Intelligence API. |
| class Excel: | |
| def __init__(self): | |
| self.xlApp = win32com.client.gencache.EnsureDispatch('Excel.Application') | |
| self.xlApp.Visible = True | |
| self.wk = self.xlApp.Workbooks.Add() | |
| def column_name(self, iVal): | |
| if iVal <= 0: | |
| return "" | |
| elif iVal <= 26: |
| # This makes use of REGEXP within an sqlite3 query | |
| ```python | |
| def regexp(expr, item): | |
| reg = re.compile(expr) | |
| return reg.search(item) is not None | |
| def make_data(): | |
| import sqlite3 | |
| sql = """ | |
| SELECT |
When attempting to SSH to a cisco switch from a raspbian device (raspberry pi), getting the following error:
unable to negotiate with 192.168.1.7 port 22: no matching key exchange method found.
Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
Resolve by issuing ssh as follows:
Here is a method how to SSH FROM a Cisco ASA over to any other device. Basically the SSH client has always been there, but required a secret menu.
ASA# debug menu ssh 1 192.168.1.20 admin P@ss1234
The authenticity of host ‘192.168.1.20 (192.168.1.20)’ can’t be established.
RSA key fingerprint is (SHA256).
Are you sure you want to continue connecting (yes/no)? yes
Please use the following commands to add the hash key to the configuration: