Skip to content

Instantly share code, notes, and snippets.

View dimitertodorov's full-sized avatar

Dimiter Todorov dimitertodorov

  • Red Team
  • Toronto, Canada
View GitHub Profile
{
"records":
[
{
"time": "2017-05-29T15:00:10.3840000Z",
"systemId": "7b85628c-d5f2-450e-aaa7-5b3bc48e30e0",
"category": "NetworkSecurityGroupFlowEvent",
"resourceId": "/SUBSCRIPTIONS/SUBID/RESOURCEGROUPS/BOOM-PRIVATE/PROVIDERS/MICROSOFT.NETWORK/NETWORKSECURITYGROUPS/BOOMHOST001",
"operationName": "NetworkSecurityGroupFlowEvents",

Keybase proof

I hereby claim:

  • I am dimitertodorov on github.
  • I am dimitert (https://keybase.io/dimitert) on keybase.
  • I have a public key ASDq4-0U56m_9QHwyaBeztBsVj0zQxSaIEQxAUsiGk3N2wo

To claim this, I am signing this object:

@dimitertodorov
dimitertodorov / 0_reuse_code.js
Created March 8, 2017 21:02
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@dimitertodorov
dimitertodorov / grape_remedy_route.rb
Last active November 11, 2016 01:44
Grape Attachment Route
params do
requires :id, type: String
requires :work_log_id, type: String
requires :attachment_field, type: String
end
get ":id/work_log/:work_log_id/:attachment_field" do
find_elixir_object
authorize! permission_key(:read, @elixir_object), @elixir_object
error!({ error: "No Work Log Entry for \#{params[:id]} with ID \#{params[:work_log_id]}"}, 404) if @elixir_object.work_log_entries.blank?
key = @elixir_object.work_log_entries.first.class.elixir_primary_key
@dimitertodorov
dimitertodorov / nnmi_nodes_wsdl.xml
Created September 30, 2016 14:27
nnmi nodes wsdl
<?xml version='1.0' encoding='UTF-8'?>
<definitions name='NodeBeanService' targetNamespace='http://node.sdk.nms.ov.hp.com/' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://jaxb.dev.java.net/array' xmlns:ns2='http://inventory.sdk.nms.ov.hp.com/' xmlns:ns3='http://filter.sdk.nms.ov.hp.com/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://node.sdk.nms.ov.hp.com/' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
<types>
<xs:schema targetNamespace='http://jaxb.dev.java.net/array' version='1.0' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
<xs:complexType final='#all' name='stringArray'>
<xs:sequence>
<xs:element maxOccurs='unbounded' minOccurs='0' name='item' nillable='true' type='xs:string'/>
</xs:sequence>
</xs:complexType>
</xs:schema>
(ns torcaui.components.potato
(:require [cljs.core.async :as async :refer [>! <! alts! chan sliding-buffer close!]]
[clojure.string :as str]
[torcaui.async :refer [raise!]]
[torcaui.routes :as routes]
[torcaui.state :as state]
[torcaui.utils :as utils :include-macros true]
[om.core :as om :include-macros true]
[cljsjs.react-select])
(:require-macros [torcaui.utils :refer [html]]))
@dimitertodorov
dimitertodorov / ServerService.wsdl
Created December 29, 2014 22:21
HPSA - ServerService Sample WSDL
<?xml version="1.0" encoding="UTF-8"?>
<definitions targetNamespace="http://server.opsware.com" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://server.opsware.com" xmlns:intf="http://server.opsware.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://common.opsware.com" xmlns:tns10="http://swmgmt.opsware.com" xmlns:tns11="http://job.opsware.com" xmlns:tns12="http://virtualization.opsware.com" xmlns:tns13="http://custattr.opsware.com" xmlns:tns14="http://pkg.opsware.com" xmlns:tns15="http://compliance.opsware.com" xmlns:tns16="http://osprov.opsware.com" xmlns:tns17="http://solaris.pkg.opsware.com" xmlns:tns18="http://sitemap.opsware.com" xmlns:tns19="http://apx.opsware.com" xmlns:tns2="http://fido.opsware.com" xmlns:tns20="http://nas.opsware.com" xmlns:tns21="http://hpux.pkg.opsware.com" xmlns:tns22="http://windows.pkg.opsware.com" xmlns:tns23="http://folder.opsware.com" xmlns:tns24="http://savedsearch.opsware.com" xmlns