Skip to content

Instantly share code, notes, and snippets.

@decal
decal / infosec-blog-feed-list-decalresponds.opml
Created January 8, 2019 21:52
Information Security Blog Feed List Compiled by @decalresponds
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Information Security Blog Feed List Compiled by @decalresponds</title>
</head>
<outline text="Infosec" title="Information Security">
<outline type="rss" text="Signal Chaos" title="Signal Chaos" xmlUrl="http://s1gnalcha0s.github.io/feed.xml" htmlUrl="http://s1gnalcha0s.github.io/"/>
<outline type="rss" text="Secrutiny" title="Secrutiny" xmlUrl="https://secrutiny.com/feed/" htmlUrl="https://secrutiny.com"/>
<outline type="rss" text="Ero Carrera's blog" title="Ero Carrera's blog" xmlUrl="http://blog.dkbza.org/rss.xml" htmlUrl="http://blog.dkbza.org/"/>
# Sends events to Flapjack for notification routing. See http://flapjack.io/
#
# This extension requires Flapjack >= 0.8.7 and Sensu >= 0.13.1
#
# In order for Flapjack to keep its entities up to date, it is necssary to set
# metric to "true" for each check that is using the flapjack handler extension.
#
# Here is an example of what the Sensu configuration for flapjack should
# look like, assuming your Flapjack's redis service is running on the
# same machine as the Sensu server:
@jtyr
jtyr / corporate-linux-desktop-howto.md
Created November 3, 2015 17:09 — forked from anonymous/corporate-linux-desktop-howto.md
How to run Linux desktop in a corporate environment

How to run Linux desktop in a corporate environment

DISCLAIMER

Some of the practices described in this HOWTO are considered to be illegal as they often break internal corporate policies. Anything you do, you do at your own risk.

@ekapujiw2002
ekapujiw2002 / piboard.md
Created October 6, 2015 01:45 — forked from andrewvaughan/piboard.md
Create a Raspberry Pi Rotating Dashboard

These instructions were performed on a RaspberryPI 2 with a proper heatsink.

Install NOOBS

  1. Follow these instructions to install NOOBS with a Mac.
  2. Choose "Raspbian" from the selected options when installing.

Configure the Pi

[deployment-client]
clientName = SecondaryDeploymentServer
reloadDSOnAppInstall = true
[target-broker:PrimaryDeploymentServer]
targetUri = <deployment_master_fqdn>:<deployment_master_mgmt_port>
@shacker
shacker / gist:87908e13c9ee6655ce90
Last active July 17, 2024 14:55
Using the Workday API with Python and the suds client library
import sys
from suds import client
from suds.wsse import Security, UsernameToken
from suds.sax.text import Raw
from suds.sudsobject import asdict
from suds import WebFault
'''
Given a Workday Employee_ID, returns the last name of that employee.
@GeoffWilliams
GeoffWilliams / publish_graph.sh
Created May 27, 2015 22:49
Install an apache web server and graphviz, then do a puppet apply and graph the results (assumes a class called ordering::mysql in the node graph)
#!/bin/bash
PUBDIR=$1
FINAL_DIR="/var/www/html/${PUBDIR}"
GRAPH_DIR="/var/opt/lib/pe-puppet/state/graphs/"
puppet apply -e "package {['httpd','graphviz']: ensure => present, }
service { 'httpd': ensure => 'running', }"
echo "publishing to $FINAL_DIR"
mkdir -p $FINAL_DIR
puppet apply --graph -e 'include ordering::mysql' && \
cd $GRAPH_DIR
#! /bin/bash
# node deactivation for an all-in-one (aka monolithic) PE master
# ignores mcollective deactivation
# read certnames from STDIN (one per line) and deactivate
while read certname; do
/opt/puppet/bin/puppet license 2>&1 | head - -n2
/bin/su - peadmin -c "/opt/puppet/bin/mco service stop pe-puppet -I $certname"
/opt/puppet/bin/puppet node deactivate $certname
/opt/puppet/bin/puppet cert revoke $certname
@stamler
stamler / install_splunk.sh
Created December 10, 2014 21:17
Install Splunk Enterprise 6.2 on CentOS 7 Minimal as a non-root user systemd service and enable syslog on port 514 and http on port 80
#!/bin/bash
# Install Splunk 6.2 on CentOS 7 as a non-root user service that runs on boot with
# systemd. This script also opens the firewall to allow syslog on UDP port 514. Since
# we're running Splunk as non-root, this port is then forwarded to 5514. Configuring a
# syslog input in slunk on UDP 514 will gather this data. Must be run as root
# Create Account
useradd splunk
groupadd splunk
@dlin-me
dlin-me / AuSimple.kml
Last active February 22, 2017 03:36
Australian State Boundaries Polygon ( Simplified version with overlap border )
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name>Australia State Polygon (Simplified with Overlaps)</name>
<description>Australia State Boundaries</description>
<Style id="polyStyID_0">
<LineStyle>
<color>66000000</color>
<width>2</width>
</LineStyle>