Skip to content

Instantly share code, notes, and snippets.

View macanderson's full-sized avatar
🦍
Aping around

Mac Anderson macanderson

🦍
Aping around
View GitHub Profile
@macanderson
macanderson / getCurrentURL.cls
Created December 29, 2011 05:05
Apex Get Current URL Method
/**
* @description Various Apex methods for working with URLs
*
* @author Mac Anderson
*
* @version 1.0
*
* @moreinfo http://macscloud.com
*/
@macanderson
macanderson / CSS Prefixer
Created August 1, 2013 03:15
Python script to prefix all class and javascript files for bootstrap (version 3 supported)
#!/usr/bin/env python
from __future__ import print_function
import sys, re
import os.path
""" The CSS classname/namespace prefix to prepend to all Bootstrap CSS classes """
CSS_CLASS_PREFIX = 'ns-'
# Not all CSS classes that are referenced in JavaScript are actually defined in the CSS script.
---
components:
responses: {}
schemas:
Alert Rule Name:
description: The name of the alert rule.
examples:
- RepeatedHits
title: Alert Rule Name
type: string