Skip to content

Instantly share code, notes, and snippets.

View matmannion's full-sized avatar

Mat Mannion matmannion

View GitHub Profile
@matmannion
matmannion / GraduateBenchmarkStatisticsController.scala
Created July 16, 2020 12:22
Tabula graduation benchmark stats
package uk.ac.warwick.tabula.web.controllers.sysadmin
import java.io.PrintWriter
import org.hibernate.FetchMode
import org.hibernate.criterion.Projections._
import org.hibernate.criterion.Restrictions._
import org.springframework.stereotype.Controller
import org.springframework.web.bind.annotation.{ModelAttribute, RequestMapping}
import uk.ac.warwick.tabula.AcademicYear
package snyk
import net.virtualvoid.sbt.graph.DependencyGraphKeys.moduleGraph
import net.virtualvoid.sbt.graph.{ DependencyGraphPlugin, ModuleId }
import sbt._, Keys._
import sjsonnew.shaded.scalajson.ast._
import sjsonnew.support.scalajson.unsafe.PrettyPrinter
object SnykSbtPlugin extends AutoPlugin {
val ConfigBlacklist: Set[String] =
@matmannion
matmannion / slack.rb
Last active October 24, 2018 09:33
check-mk-notify Slack notifications
#!/usr/bin/env ruby
# Notify by Slack
require 'net/http'
require 'uri'
require 'cgi'
require 'json'
# To create a webhook_url, login to the web page of your slack instance.
# https://my.slack.com/services/new/incoming-webhook/

Keybase proof

I hereby claim:

  • I am matmannion on github.
  • I am matmannion (https://keybase.io/matmannion) on keybase.
  • I have a public key whose fingerprint is 82B6 F0B0 675D F986 436A B674 FCB6 F451 D9D0 669F

To claim this, I am signing this object:

#!/bin/sh -e
# bamboo startup script
#chkconfig: 2345 80 05
#description: bamboo-agent
 
# Define some variables
# Name of app ( bamboo, Confluence, etc )
APP=bamboo-agent
# Name of the user to run as
USER=bamboo
Uncaught TypeError: Cannot read property 'length' of undefined application-f85e4a7320fa3e5e95d4615e92fd86e2.js:14
FalconApp.Views.MessagesDetails.i._blacklistsSummaryInfo application-f85e4a7320fa3e5e95d4615e92fd86e2.js:14
(anonymous function) application-f85e4a7320fa3e5e95d4615e92fd86e2.js:14
FalconApp.Views.MessagesDetails.i.serializeData application-f85e4a7320fa3e5e95d4615e92fd86e2.js:14
(anonymous function) application-f85e4a7320fa3e5e95d4615e92fd86e2.js:14
a.CompositeView.a.CollectionView.extend.renderModel application-f85e4a7320fa3e5e95d4615e92fd86e2.js:6
a.CompositeView.a.CollectionView.extend.render application-f85e4a7320fa3e5e95d4615e92fd86e2.js:6
n.extend.show application-f85e4a7320fa3e5e95d4615e92fd86e2.js:6
(anonymous function) application-f85e4a7320fa3e5e95d4615e92fd86e2.js:15
FalconApp.Routers.Messages.i._findMessage application-f85e4a7320fa3e5e95d4615e92fd86e2.js:15