News for hackers. Stuff that matters.
Re:Integrated command line math by unfamiliar on Tuesday July 23, 2013 @03:26PM (#6092337)
For anyone who would like this in an Alfred workflow, make a Script Filter with the following python code (and uncheck all the escape character options):

  from math import *
  print '<?xml version="1.0"?><items>'
  print '<item uid="qcresult" valid="yes" autocomplete="">'
  print '<title>'+str({query})+'</title>'
  print '</item></items>'

There are no comments on this comment yet.