Skip to content

Instantly share code, notes, and snippets.

View chintanparikh's full-sized avatar
🎯
Focusing

Chintan Parikh chintanparikh

🎯
Focusing
View GitHub Profile
%pre{data: {update_path: new_content_path(@endpoint.id, content.id) } }
%code.prettyprint~ JSON.pretty_generate(JSON[content.content])
$.each(content, (id, value) ->
$("#content").prepend(<%= j render 'content', content: Content.find(id)%>)
)
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
$ ->
prettyPrint()
setInterval (->
first = $('pre')[0]
url = $(first).data('update-path')
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
require 'sinatra'
require 'docsplit'
require './sinatra/faxattach_helpers'
class FaxAttach < Sinatra::Base
helpers Sinatra::FaxAttachHelpers
get '/*' do
"hello world"
status 405
○ cat /Users/Chintan/.rvm/gems/ruby-1.9.3-p0/gems/debugger-1.6.0/ext/ruby_debug/mkmf.log
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/Chintan/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/Chintan/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/ruby/backward -I/Users/Chintan/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1 -I. -I/Users/Chintan/.rvm/src/ruby-1.9.3-p0 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -I/Users/Chintan/.rvm/usr/include -fno-common -pipe conftest.c -L. -L/Users/Chintan/.rvm/rubies/ruby-1.9.3-p0/lib -L. -L/Users/Chintan/.rvm/usr/lib -lruby.1.9.1 -lpthread -ldl -lobjc "
/Users/Chintan/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/mkmf.rb:317: warning: Insecure world writable dir /usr/local/heroku/bin in PATH, mode 040777
checked program was:
/* begin */
1: #inc
nstalling debugger (1.6.0) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/Chintan/.rvm/rubies/ruby-1.9.3-p0/bin/ruby extconf.rb
checking for rb_method_entry_t.called_id in method.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
{
"From": "[email protected]",
"FromFull": {
"Email": "[email protected]",
"Name": "RingCentral"
},
"To": "\"Aidin Inc.\" <[email protected]>",
"ToFull": [
{
"Email": "[email protected]",
{
"From": "[email protected]",
"FromFull": {
"Email": "[email protected]",
"Name": "RingCentral"
},
"To": "\"Aidin Inc.\" <[email protected]>",
"ToFull": [
{
"Email": "[email protected]",
{
"From": "[email protected]",
"FromFull": {
"Email": "[email protected]",
"Name": "RingCentral"
},
"To": "\"Aidin Inc.\" <[email protected]>",
"ToFull": [
{
"Email": "[email protected]",