Skip to content

Instantly share code, notes, and snippets.

View andrewloux's full-sized avatar

Andrew Louis andrewloux

View GitHub Profile
@andrewloux
andrewloux / thing.dot
Created March 16, 2016 18:47
regex halp
# 238 R: 13.285000 usecs RT: 12440791.662667 usecs
Digraph G {
6359376964500652.6359376964501320 [label="e10__t3__NFS3_WRITE_CALL_TYPE\nDEFAULT"]
6359376964500652.6359376964518840 [label="e10__t3__NFS_CACHE_BLOCK_OP_TYPE\nNFSCACHE_WRITE"]
6359376964500652.6359376964541175 [label="e10__t3__NFS3_WRITE_REPLY_TYPE\nDEFAULT"]
6359376964500652.6359376964501320 -> 6359376964500652.6359376964518840 [label="R: 5.840000 us"]
6359376964500652.6359376964518840 -> 6359376964500652.6359376964541175 [label="R: 7.445000 us"]
}
@andrewloux
andrewloux / gist:7997758
Last active December 31, 2015 13:59
Error log #2

A link to the page where it is deployed

After attempting to control using Session, the YouTube embedded player stops being responsive.

Here is the setting up of the YouTube API temporarily placed in the HTML file:

mixtape.html

<script>
@andrewloux
andrewloux / gist:7982837
Created December 16, 2013 05:46
Meteor scoping issue log

So here's the problem.

I use this helper function to retrieve a possibly rearranged list in its new order. This happens here:

Template.list.get_list = function(param){
  var ret = [];
  $( "li.list_element" ).each(function() {
    if($(this).is(':visible')){
        ret.push(   Links.findOne({_id:$(this).attr('id')})   );