Skip to content

Instantly share code, notes, and snippets.

Phil Britton philbritton

Block or report user

Report or block philbritton

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am philbritton on github.
  • I am thephilife (https://keybase.io/thephilife) on keybase.
  • I have a public key ASCUBPP4DSii2wlGCkW4wGMH-RGMcKle8o9HV44Y_fDXwwo

To claim this, I am signing this object:

View install.ps1
choco install 1password
choco install poedit
choco install itunes
choco install filezilla
choco install visualstudiocode
@philbritton
philbritton / zendesk-hc-template-and-components-doc.md
Created Apr 27, 2017 — forked from erikzrekz/zendesk-hc-template-and-components-doc.md
Zendesk Help Center Template and Components Documenation
View zendesk-hc-template-and-components-doc.md

The help center has a series of HTML templates with accompanying components. I put this together to brief myself on the available features within a help center. The official documentation can be found here

Table of Contents

  • Header
  • Footer
  • Home
  • Category
  • Section
  • Article
  • Contribution
@philbritton
philbritton / password.js
Created May 31, 2014
strong password validation form, auto update as you type
View password.js
var atLeastOneLetter = /.*[a-zA-Z]{1,}.*/;
var atLeastOneNumberOrSpecialChar = /.*[0-9\\\(\)\[\]\{\}\-\+\=\,\?\"_`:@'#*$;^!|~/\.]{1,}.*/;
var atLeastOneSpace = /.*[ ]{1,}.*/;
var specialChars = /(?=.*[><&%]).{1,}/;
var imgPath = 'images/';
var check_IMG = imgPath + 'check16.gif';
var wrong_IMG = imgPath + 'wrong16.gif';
var clear_IMG = imgPath + 'clear16.gif';
var passwordTipPopupId = 'passwordTipPopup';
var pwdTipImagesId = 'pwdTip';
@philbritton
philbritton / crmfieldtype.bas
Created Apr 1, 2014
macro to change data type for crm extracts
View crmfieldtype.bas
Sub CrmConvertFields()
'
' CrmConvertFields Macro
'
Dim txt As String
Dim num As Double
For Each Cell In Selection.Cells
txt = Cell.Value
txt = Replace(txt, "$", "")
@philbritton
philbritton / datetable.cs
Created Mar 21, 2014
create a killer date table in power query for excel
View datetable.cs
let CreateDateTable = (StartDate as date, EndDate as date, optional Culture as nullable text) as table =>
let
DayCount = Duration.Days(Duration.From(EndDate - StartDate)),
Source = List.Dates(StartDate,DayCount,#duration(1,0,0,0)),
TableFromList = Table.FromList(Source, Splitter.SplitByNothing()),
ChangedType = Table.TransformColumnTypes(TableFromList,{{"Column1", type date}}),
RenamedColumns = Table.RenameColumns(ChangedType,{{"Column1", "Date"}}),
InsertYear = Table.AddColumn(RenamedColumns, "Year", each Date.Year([Date])),
InsertQuarter = Table.AddColumn(InsertYear, "QuarterOfYear", each Date.QuarterOfYear([Date])),
InsertMonth = Table.AddColumn(InsertQuarter, "MonthOfYear", each Date.Month([Date])),
View jsbin.metexeya.css
/* Styles for the query builder container: query builder + results. */
#queryBuilderContainer {
position: relative;
font-family: "Segoe UI", Helvetica, Verdana;
width: auto;
}
#queryBuilderContainer * {
margin: 0;
padding: 0;
View SharpKitPhantomJS
using SharpKit.JavaScript;
namespace PhantomJS
{
[JsType(JsMode.Prototype, Export = false, Name = "console")]
public static class Console
{
public static void log(string message) {}
}
View jquery.js
__________ _ __
/ ____/ __ \/ | / /
/ / / / / / |/ /
/ /___/ /_/ / /| /
\____/_____/_/ |_/
+--------------------------------------------------------------------+
The Handpicked jQuery Plugins Repository - CDN v3.0
+--------------------------------------------------------------------+
Download All These Files In One Bundle:
You can’t perform that action at this time.