Skip to content

Instantly share code, notes, and snippets.

@joxz
joxz / exos_npp.xml
Last active May 6, 2016 13:50
Extreme XOS Notepad++ Language
<NotepadPlus>
<UserLang name="ExtremeXOS" ext="xsf" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">03 04 00# 01 02</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
@joxz
joxz / 01_putty_settings.md
Last active September 7, 2022 18:10
Improved Putty Settings

IMPROVED PUTTY SETTINGS

Open the default template in Category: Session by selecting Default Settings and pressing the Load button

Summary:

Category: Terminal > Bell

Action to happen when a bell occurs: Visual bell (flash window)

Taskbar/caption indication: Flashing

@joxz
joxz / ps_netsight_soap.ps1
Last active October 25, 2017 16:10
Connect to Extreme Netsight SOAP WebService
# connect to NetSight via SOAP in Powershell
$cred = Get-Credential
# disable https certificate checking when using self signed cert
# [System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
$ws = New-WebServiceProxy -uri "https://HOSTNAME:8443/axis/services/NetSightDeviceWebService?wsdl" -Credential $cred
$ws | Get-Member
@joxz
joxz / Invoke-ElevatedCommand.ps1
Created May 24, 2016 07:03 — forked from TaoK/Invoke-ElevatedCommand.ps1
Invoke-ElevatedCommand for Administrator-level commands in a common powershell pipeline
Function Invoke-ElevatedCommand {
<#
.DESCRIPTION
Invokes the provided script block in a new elevated (Administrator) powershell process,
while retaining access to the pipeline (pipe in and out). Please note, "Write-Host" output
will be LOST - only the object pipeline and errors are handled. In general, prefer
"Write-Output" over "Write-Host" unless UI output is the only possible use of the information.
Also see Community Extensions "Invoke-Elevated"/"su"
.EXAMPLE
@joxz
joxz / netsight_spark_alarm.sh
Last active March 13, 2017 19:01
Netsight alarm to Cisco Spark
#!/bin/bash
request_body=$(cat <<EOF
{
"roomId" : "{{roomid}}",
"markdown" : "$*"
}
EOF
)
function New-DomainSignedCertificate {
[CmdletBinding()]
param(
[parameter(Mandatory=$true)]
[string]
$Hostname,
[parameter(Mandatory=$true)]
[string]
$Organization,
@joxz
joxz / windows_ts.md
Last active May 15, 2023 21:34
Windows Troubleshooting

Windows WLAN Trace

netsh wlan set tracing mode=yes
netsh wlan set tracing mode=no

Once a trace has been completed, a report is compiled at C:\windows\tracing\wireless and viewable in the Windows performance monitor.

ETW network traces

@joxz
joxz / 01_linux_stuff.md
Last active March 30, 2017 07:39
Linux Stuff
@joxz
joxz / README.md
Created March 24, 2017 17:05 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed


@joxz
joxz / _01.md
Last active April 6, 2021 19:25
tmux

TMUX