Skip to content

Instantly share code, notes, and snippets.

View devtdeng's full-sized avatar

Tao Deng devtdeng

  • Pivotal
  • Paris, France
View GitHub Profile
# group tickets to users
group_tickets = (msg, results) ->
if results.count <= 0
return
assigned_tickets = {}
unassinged = 0
for result in results
if result.assignee_id?
assignee_id = result.assignee_id
package test;
import java.io.IOException;
import java.util.concurrent.atomic.AtomicLong;
import java.util.zip.GZIPOutputStream;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;