Skip to content

Instantly share code, notes, and snippets.

View iogbole's full-sized avatar

Israel Ogbole iogbole

View GitHub Profile
@iogbole
iogbole / O365-sign-in.png
Last active November 28, 2016 23:34
yammer Office 365 authentication flow
O365-sign-in.png
@iogbole
iogbole / attribute-filter.xml
Last active May 26, 2017 08:32
Shibboleth 3.3.1 Configuration
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is an EXAMPLE policy file. While the policy presented in this
example file is illustrative of some simple cases, it relies on the names of
non-existent example services and the example attributes demonstrated in the
default attribute-resolver.xml file.
Deployers should refer to the documentation for a complete list of components
and their options.
-->
@iogbole
iogbole / Apache Tomcat 8 Start stop script init.d script
Created May 26, 2017 09:51 — forked from miglen/Apache Tomcat 8 Start stop script init.d script
Apache Tomcat init script (or startup/controll script). Works fine for version 7/8. Read the comments for release history. Feel free to modify, copy and give suggestions. (c) GNU General Public License
#!/bin/bash
#
# description: Apache Tomcat init script
# processname: tomcat
# chkconfig: 234 20 80
#
#
# Copyright (C) 2014 Miglen Evlogiev
#
# This program is free software: you can redistribute it and/or modify it under
@iogbole
iogbole / Cloud
Last active June 26, 2017 14:22
Transparent Background Images
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAkC0lEQVR42u3d/W9P2d438P4F98/3P3D+ALRpVVApbTxFVGQqgkyGTFRyK7naOfHQFBNMdMhUJ8pEmQyNp3gKQzBiPJxWXDQG8XToGP6PfZ/VHPftzDUo2u9ee+/XJ3n9dF3j0M9ae727H9Yq+1//+28JAFAsZX4IACAAAAACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAACAAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAACAA+EEAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAAAgAPghAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAACAAADRevnyZXLz5s3k1KlTyd6evck333yTtLa2JsuWLUsWLFiQzJo1K6mpqUmqqqqSsvdU9YTqpLa2Npk9e3bS2NiYLG9anqxZuybZ1rEt2bdvX/Lzzz8nt2/f9nMHBAAolbDIHzhwIGlvb0+WLFmSTJky5b0L+mjXtGnTki+WfpFs2rQpOXT4kHAACADwKa5du5Z0dXUlX375ZTJp0qTUF/oPrRBOVqxYkXR3dyd9fX16CggA8FfOnj2btG9oT2bMmJG5xX64NWfOnGTjxo3JxYsX9BwQACim/v7+oWf14Vl7WUGroaEh2b59ezIwMGBMAAIA+f4tv7m5ORk7dmxhF/23VUVFRd
@iogbole
iogbole / depot.js
Created June 16, 2018 09:22
Search 2D Array in Javascript
<script type="text/javascript">
var depots = [
['northampton', 100],
['Reading', 101],
['London', 102]
dataLayerID = dataLayer[0].user_inf.depotid;
console.log("here..")
<winston>
<logFileDirectory directory="C:\ProgramData\AppDynamics\DotNetAgent\Logs" />
<logFileFolderAccessPermissions defaultAccountsEnabled="false">
<account name="NT AUTHORITY\LOCAL SERVICE" displayName="LOCAL SERVICE" />
<account name="NT AUTHORITY\SYSTEM" displayName="SYSTEM" />
<account name="NT AUTHORITY\NETWORK SERVICE" displayName="NETWORK SERVICE" />
<account name="IIS_IUSRS" displayName="ApplicationPool Identity" />
</logFileFolderAccessPermissions>
<appdynamics-agent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<controller host="mycontroller.mycompany.com" port="8090" ssl="false">
Vagrant.configure("2") do |config|
config.vm.box = "windows10_msedge"
config.vm.boot_timeout = 500
config.vm.network "private_network", ip: WIN10_MSEDGE_IP
config.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.name = "windows10_msedge"
vb.cpus = 1
vb.memory = 2048
end
@iogbole
iogbole / tempermomkey.js
Created November 14, 2018 16:25
AppDynamics TamperMonkey
// ==UserScript==
// @name NBS Web
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Israel
// @match https://www.nginx.com/*
// @grant none
// ==/UserScript==
@iogbole
iogbole / json.ps1
Created October 2, 2019 14:36
JSON PS
{
"ConfigItems":
[
{
"tierID": "XXXX",
},
{
"AppName": "XXXX",