Skip to content

Instantly share code, notes, and snippets.

View carlos8f's full-sized avatar

Starbuck Starfish carlos8f

View GitHub Profile
@carlos8f
carlos8f / jabberwocky.txt
Created May 16, 2014 00:08
Jabberwocky
'Twas brillig, and the slithy toves
Did gyre and gimble in the wabe:
All mimsy were the borogoves,
And the mome raths outgrabe.
"Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jubjub bird, and shun
The frumious Bandersnatch!"
He took his vorpal sword in hand:
var passthru_url = FC_Convio.getPassthruURL('http://fw.convio.net/site/PageServer?pagename=deploymenthome');
document.writeln('<p><a href="' + passthru_url + '">' + passthru_url + '</a></p>');
<script type="text/javascript">
<!--//--><![CDATA[//><!--
FC_Convio.embedLoginButton('http://fw.convio.net/site/PageServer?pagename=deploymenthome');
//--><!]]>
</script>
FC_Convio.embedLoginButton('http://fw.convio.net/site/PageServer?pagename=deploymenthome');
FC_Convio.embedEditProfileLink();
// To just get the SSO URL (button href), you can do:
var sso_url = FC_Convio.getSSOURL( [dest] );
// To just get the profile edit URL, you can do:
var profile_edit_url = FC_Convio.getProfileEditURL();
@carlos8f
carlos8f / gist:1318025
Created October 26, 2011 22:01
Require FC session on a Convio page
<script type="text/javascript" src="//s3.amazonaws.com/connect.freedomworks.org/scripts/convio.js"></script>
<script type="text/javascript">
function checkSession(session) {
if (!session.uid) {
window.location.href = FC_Convio.getSSOURL();
}
}
</script>
@cpsubrian
cpsubrian / README.md
Last active December 17, 2015 03:19
Streams instead of ORM.

Streams instead of ORM

Pros:

  • Streams?
  • More manual query control.
  • Combine different transforms depending on use case.

Cons:

@falz94dev
falz94dev / gist:6148935
Last active December 20, 2015 14:39
eliminar
We couldn’t find that file to show.
@carlos8f
carlos8f / .gitignore
Last active December 22, 2015 16:39
motley gist template
node_modules
npm-debug.log