January 2013
1 post
Protip: BrowserStack local tunnel
You can now use the BrowserStack local tunnel from the command line. Just download the jar file from here.
Once done, copy it in your home folder and add this to your .profile :
function tunnel(){
java -jar ~/.browserstack/BrowserStackTunnel.jar <KEY> localhost,$1,0;
}
You can now use the tunnel like so fromt he command line:
#: tunnel 3501
December 2012
1 post
Mahdi Yusuf: Beautiful Tools →
(via Instapaper)
November 2011
1 post
External Javascript optimizing
If you remember my post about the performance degradation of using external javascripts like Google Analytics, UserVoice or Intercom (All Those Services).
It seems I was not crazy after all because I found out CloudFlare and their optimizer service. In relation with their CDN and proxying, it allows to optimize your external resources without changing your app, code or provider.
I’ll...
October 2011
1 post
2 tags
Structuring and organizing a Backbone.js app with...
I created a simple one file project to help people structure their Backbone.js application. I called it module and you can find the source on Github here https://github.com/juggy/backbone-module
Backbone Module is a simple and elegant solution to load your in browser javascript dependencies. It leverages Backbone eventing and Underscore to bring even more goodness.
First of all, it is not a...
September 2011
1 post
3 tags
All those services...
You have a cool startup idea. You want to enhance other people’s web application or web site with metrics gathering, analytics, realtime data, two ways communication, chat, blinking or mustaches on cats. Who knows.
You build your startup and application. You do what everyone else is doing since (I believe) Google Analytics: they configure your application and get a code snippet. They...
June 2011
1 post
Revert to last saved version in Backbone.js
Here is one simple code snippet in Coffeescript to revert easily from the last saved version in Backbone.js models:
Do not forget you have to call Skepic.EventedModel.prototype.initialize if you override initialize in your own model.
May 2011
3 posts
How to render a full page template in a rake task...
I stumbled upon this problem this week. There are many blog posts on how to do this in Rails 2, but not many for Rails 3 and most are broken in some ways. So I dug a little and found a nice solution.
First of all, Rails 3 is broken down into distinct modules that enables developer to pick and chose features and assemble them into something new. This is mostly what is happening with the new...
andicrook-deactivated20120921 asked: Hello Julien
Thank you for responding to my question on stackoverflow
http://stackoverflow.com/questions/5964537/backbone-js-and-handling-errors-messages-from-rails
I wonder if you could please explain how to implement a custom Responder, for example where should such code live in a Rails project?
Thank you again
Andrew
Thank you for responding to my question on stackoverflow
http://stackoverflow.com/questions/5964537/backbone-js-and-handling-errors-messages-from-rails
I wonder if you could please explain how to implement a custom Responder, for example where should such code live in a Rails project?
Thank you again
Andrew
chinmaybijwe asked: hi Julien,
Thanks for your post on PDFKit and its middleware on Heroku. I am using rails 2.3.4 (I plan to upgrade soon), and I am running into the same problem that you mentioned about.
While I understand your solution, I'm still not clear where to place the assets.rb code. I have tried a few places, but it doesn't seem to work. Looking forward to your reply.
Thanks
Thanks for your post on PDFKit and its middleware on Heroku. I am using rails 2.3.4 (I plan to upgrade soon), and I am running into the same problem that you mentioned about.
While I understand your solution, I'm still not clear where to place the assets.rb code. I have tried a few places, but it doesn't seem to work. Looking forward to your reply.
Thanks
April 2011
4 posts
Seth's Blog: The realization is now →
(via Instapaper)
Web apps, credit cards, merchant accounts and... →
(via Instapaper)
How to find startup ideas that make money | Paras... →
(via Instapaper)
Call Me Fishmeal.: Success, and Farming vs. Mining →
(via Instapaper)
March 2011
2 posts
Product design at GitHub — Warpspire
... →
(via Instapaper)
Got my first commit on a open source project this week:
Zombie callbacks on inputs
Thanks assaf!
January 2011
2 posts
3 tags
PDFKit and its middleware on Heroku
I run into this problem with PDFKit middleware where the PDF generation seems to hang indefinitely for no apparent reason on Heroku as well as locally when using Thin.
Wkhtmltopdf will load the HTML and then try to load all assets from it (js, css, images, etc.) On Heroku the asset is first served up by the rails server and when you have a single Dyno it will create a deadlock in the handling of...
How to Pick the Perfect Brand Name →
It is More than complicated to find a descriptive, powerful and nice name for a product/company. Even harder that when you cannot name something, it is like it doesn’t exist yet.
(via Instapaper)
December 2010
1 post
DIY Guide to Link Bait →
I guess I will work on that for our new app. We need to get going!
(via Instapaper)
November 2010
1 post
Easier templating in Javascript
I just created a new repo on Github called template-fetch. The goal of those 60 lines of code is simple: retrieve an haml template from the server and process it on the client side using HAML (for now). I plan to add other templating engines when I have more time.
It uses jQuery, underscore.js and haml.js to do its magic.
It is mostly inspired from Sammy and was built when I was tinkering with...
October 2010
1 post
September 2010
1 post
Sproutcore future
It seems that Sproutcore is gonna get some love - documentation, public API - that will for sure help build a stronger community and make its adoption easier!
On a related note, check out this nice write up on Sproutcore with Node.js .
August 2010
1 post
Sendgrid Parse API
At Porkepic, we moved our biggest customer to the online SaaS version of C3 last week. New UI, new color, same fonctionalities. Most of the transfert was done without any harm thanks to my partner Jean-Francois.
We have a feature that allows a user to forward his emails from his mailbox to the software where he can link it to contacts, clients, contracts, projects, etc. We rely on Sendgrid parse...
July 2010
1 post
iPad Style PopOver in jQuery
I created this simple jQuery widget for a project at Porkepic. The result is quite nice as you can see in this simple screen shot
One header section for buttons, title, etc and a content section for a list, form or pictures.
To create the widget, you use this simple code in the DOM loaded event function of your page:
That is all! You can check the repository on my Github for the code and more...
June 2010
3 posts
1 tag
1 week of SproutCore
I have been testing SproutCore for a week now to check if it would be a good fit for a new project at Porkepic. It is not the first time I played with it, I already checked it back 2 years ago and came to the conclusion it wasn’t mature enough for wide adoption. I must say that v1.0 have come a long way since then. Is the Apple backed open source project ready for adoption by the masses?
...
1 tag
Bolide Stream Server
2 months ago I created a simple web service to allow realtime communication between a web application and its web client (or any other clients). It is called Bolide. It is a simple way to provide Comet like functionalities to your web application without requiring to install a specific server or software. You send messages to Bolide, you web clients connect to Bolide to be updated continuously.
...
2 tags
Porkepic Solutions inc.
After a long stretch of 5+ years in the SAP corporate software world, I decided that enough is enough. I decided against badly engineered software, against immobilism, against complexity.
This is when a good buddy of mine, Jean-Francois, approached me with a company idea: building better software for the construction industry. It was perfect timing and I always felt that we would complement each...