Skip to content

Instantly share code, notes, and snippets.

Avatar

Mike Zarandona mike-zarandona

View GitHub Profile
@jdstein1
jdstein1 / Destiny-API-reference.md
Last active Jul 3, 2020
A list of APIs for player data in Bungie's Destiny
View Destiny-API-reference.md

Destiny API reference

A list of APIs for player data in Bungie's Destiny

Groups

Clans

API - Clan

@jasonvarga
jasonvarga / hooks.rename_date_fields.php
Last active Aug 29, 2015
Small add-on to rename Statamic's date/time fields.
View hooks.rename_date_fields.php
<?php
class Hooks_rename_date_fields extends Hooks
{
public function control_panel__add_to_foot()
{
if (URL::getCurrent() == '/publish') {
return $this->js->inline('
var form = $(".primary-form");
form.find("label:contains(\'Publish Date\')").text("New date field name");
@jasdeepkhalsa
jasdeepkhalsa / titlecase.js
Created Jan 16, 2013
Make a string Title Case by John Resig
View titlecase.js
/*
* Title Caps
*
* Ported to JavaScript By John Resig - http://ejohn.org/ - 21 May 2008
* Original by John Gruber - http://daringfireball.net/ - 10 May 2008
* License: http://www.opensource.org/licenses/mit-license.php
*/
(function(){
var small = "(a|an|and|as|at|but|by|en|for|if|in|of|on|or|the|to|v[.]?|via|vs[.]?)";
You can’t perform that action at this time.