Skip to content

Instantly share code, notes, and snippets.

View siddhuwarrier's full-sized avatar

Siddhu Warrier siddhuwarrier

  • Cisco
  • London
View GitHub Profile
This file has been truncated, but you can view the full file.
openapi: 3.0.1
info:
title: Cloud-delivered FMC API
description: '**This document specifies the REST URLs and methods supported in the Cloud-delivered FMC API provided as part of Cisco Defense Orchestrator. Refer to the version specific [REST API Quick Start Guide](https://www.cisco.com/c/en/us/support/security/defense-center/products-programming-reference-guides-list.html) for additional information.**'
contact:
name: CDO TAC
email: cdo.tac@cisco.com
license:
name: Cisco Defense Orchestrator Licensing
url: https://www.cisco.com/c/en/us/td/docs/security/firepower/licensing/faq/firepower-licence-FAQ.html
@siddhuwarrier
siddhuwarrier / History|-3c02d03c|entries.json
Created June 14, 2022 15:23
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///Users/siwarrie/workspace/cdo/lh-model/lh-model/src/main/java/com/cisco/lockhart/model/service/tenants/FeaturesDef.java","entries":[{"id":"z7pz.java","timestamp":1649058664740},{"id":"YjGN.java","timestamp":1649058832079}]}
@siddhuwarrier
siddhuwarrier / rvm_fix.md
Last active December 28, 2015 04:59
Fix RVM problem: RVM is not a function, selecting rubies with 'rvm use ...' will not work.

Assumptions:

You have RVM installed using the steps documented in http://www.rvm.io

Steps:

Add the following line to your ~/.bash_profile or ~/.bashrc

source ~/.rvm/scripts/rvm
@siddhuwarrier
siddhuwarrier / gist:7338828
Last active December 27, 2015 14:09
Automate download of JDK on headless CentOS or RHEL
wget -O jdk7.rpm --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-linux-x64.rpm --no-check-certificate
@siddhuwarrier
siddhuwarrier / gist:6690992
Created September 24, 2013 20:46
Ubuntu: Get service to start up by default
update-rc.d [service-name] defaults
@siddhuwarrier
siddhuwarrier / gist:6689238
Created September 24, 2013 18:34
Sanitised Coloured PS1 Bash Prompt for Mac OS X (without wrapping issues)
export PS1="\[$(tput bold)\]\[$(tput setaf 2)\]\u@\h: \w $\[$(tput sgr0)\]"
#Create your own sanitised bash prompt by visiting http://www.kirsle.net/wizards/ps1.html — the most awesome website on the interwebs
@siddhuwarrier
siddhuwarrier / ubuntu_port_forwarding
Last active September 14, 2018 12:00
Port forward from port 9000 to port 80 on an Ubuntu machine using IPtables (exposing Sonar on port 80)
# iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 9000
# iptables-save