Skip to main content

Posts

Showing posts from August, 2015

Salesforce Sortable Changeset Dependency List

Sorting the results of 'View/Add Dependencies' When you have to shift through over 100+ entries it would help if SF's interface allowed for sorting. The missing functionality can be achieved by running the below JS, which can be invoked using a handy bookmarklet. Create one as follows:
In your browser add a new bookmarkName it `SF Make `<table class='list' ...>` Sortable`In the url paste the blelow JS snippetjavascript:/* `sortTable` from https://gist.github.com/danielsokolowski/994d47baa95ef81fd8fc */ function TableSort(a){this.tbl=a;this.lastSortedTh=null;if(this.tbl&&"TABLE"==this.tbl.nodeName){a=this.tbl.tHead.rows[0].cells;for(var b=0;a[b];b++)a[b].className.match(/asc|dsc/)&&(this.lastSortedTh=a[b]);this.makeSortable()}}TableSort.prototype.makeSortable=function(){for(var a=this.tbl.tHead.rows[0].cells,b=0;a[b];b++){a[b].cIdx=b;var c=document.createElement("a");c.href="#";c.innerHTML=a[b].innerHTML;c.onclick=…

Compass can't find any Sass files to compile.

Is your compass configuration correct?.Unbelievable, compass chokes on directories with spaces (I think, and at least on a Windows machine).I have resolved it by creating a junction from the repository into a folder without spaces - see this awesome utility: http://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.htmlAnd food for thought: consider if SASS is needed, do you want to debug your SASS or CSS? If this post has saved you hair pulling post a comment and a follow is always appricited.

Freeswitch 1.4 'mod_shout' compiling fails on Debian 8.0

Error: inlining failed in call to always_inline '_mm_loadu_ps'The error happens when trying to compile the 'lame' needed by the 'mod_shout' module. From Google it appears to only happen on 32bit architecture. The solution is to search for `xmmintrin.h` and remove the line from file `./lib/lame-3.98.4/configure`. The final code block should look as follows: ... for ac_header in \ errno.h \ fcntl.h \ sys/soundcard.h \ sys/time.h \ unistd.h \ linux/soundcard.h do : ... If you found this useful please comment or follow me on twitter @danielsokolows.