Skip to content

Instantly share code, notes, and snippets.

View edwardbeckett's full-sized avatar

Edward J Beckett edwardbeckett

View GitHub Profile
@jlattimer
jlattimer / Xrm.CRMAuth.js
Last active June 5, 2016 20:55
Dynamics CRM JavaScript SOAP only authentication - this only works in mobile applications - not browsers!
//Requires jQuery - http://jquery.com/
//Requires jsSHA (sha1.js) - http://caligatio.github.io/jsSHA/
Xrm = window.Xrm || { __namespace: true };
Xrm.CRMAuth = Xrm.CRMAuth || { __namespace: true };
/// <summary>Gets a CRM Online SOAP header & expiration.</summary>
/// <param name="url" type="String">The Url of the CRM Online organization (https://org.crm.dynamics.com).</param>
/// <param name="username" type="String">Username of a valid CRM user.</param>
/// <param name="password" type="String">Password of a valid CRM user.</param>
@odrotbohm
odrotbohm / FizzBuzz.java
Last active March 21, 2017 16:48
FizzBuzz functional style inspired by @Dierk's talk on Frege
/**
* FizzBuzz functional style. Inspired by @mittie's Frege talk and @kevlinhenney.
*
* Uses Protonpack's {@code StreamUtils} for zipping
*
* @see https://github.com/poetix/protonpack
*/
public class FizzBuzz {
public static void main(String[] args) {
@marcospedreiro
marcospedreiro / font_letter_check.txt
Created May 16, 2018 04:39
/u/martinus test pattern to check how distingushable characters are for a font
From: https://www.reddit.com/r/programming/comments/8jjq33/11_best_programming_fonts/dz0xxs5/
------
o0O s5S z2Z !|l1Iij {([|})] .,;: ``''""
a@#* vVuUwW <>;^°=-~ öÖüÜäÄßµ \/\/
the quick brown fox jumps over the lazy dog
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
0123456789 &-+@ for (int i=0; i<j; ++i) { }
@bespokoid
bespokoid / SpaceVim.md
Last active February 6, 2025 22:39
SpaceVim cheatsheet #tools