Skip to content

Instantly share code, notes, and snippets.

View bartocc's full-sized avatar

Julien Palmas bartocc

View GitHub Profile
@bartocc
bartocc / file_in_ruby.rb
Created June 26, 2012 12:48
my first gist
puts "hello world"
puts "foo bar"
@bartocc
bartocc / gist:5209153
Created March 20, 2013 22:31
gsl on heroku
Running `console` attached to terminal... up, run.7360
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require': libgsl.so.0: cannot open shared object file: No such file or directory - /app/vendor/bundle/ruby/1.9.1/gems/gsl-1.15.3/lib/rb_gsl.so (LoadError)
from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `block in require'
from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:in `load_dependency'
from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require'
from /app/vendor/bundle/ruby/1.9.1/gems/gsl-1.15.3/lib/gsl.rb:2:in `<top (required)>'
from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.3.2/lib/bundler/runtime.rb:72:in `require'
from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.3.2/lib/bundler/runtime.rb:72:in `block (2 levels) in require'
from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.3.2/lib/b
@bartocc
bartocc / console.log
Created April 10, 2013 15:26
"Switch iOS keyboard layout" console log
10/04/13 17:25:26,519 Type2Phone[18872]: statemachine: state READY, event USER_OUTGOING_REQUEST, control 0x0, interrupt 0x0, channel 0x0
10/04/13 17:25:27,738 Type2Phone[18872]: statemachine: state OUTGOING_W4_CONTROL, event HID_CONTROL_OUTGOING_CONNECTED, control 0x2e86c0, interrupt 0x0, channel 0x0
10/04/13 17:25:27,000 kernel[0]: Sandbox: sandboxd(21065) deny mach-lookup com.apple.coresymbolicationd
10/04/13 17:25:27,762 Type2Phone[18872]: statemachine: state OUTGOING_W4_INTERRUPT, event HID_INTERRUPT_OUTGOING_CONNECTED, control 0x2e86c0, interrupt 0x2cf170, channel 0x0
10/04/13 17:25:27,946 sandboxd[21065]: ([18872]) Type2Phone(18872) deny iokit-set-properties AuthenticationAttempted
10/04/13 17:25:28,000 kernel[0]: [IOBluetoothHIDDriver][getDevicePropertiesWL][90-27-e4-12-8c-10] Error retrieving device properties.
10/04/13 17:25:28,000 kernel[0]: [IOBluetoothHIDDriver][probe] Couldn't retrieve device properties
10/04/13 17:25:31,153 Type2Phone[18872]: Disconnect: Resign active
10/04/13 17:25:31,155 Type2
{
"items": [
{
"id": 2119,
"title": "5 minutes pour convaincre",
"authors": [
"Jean-Claude Martin"
],
"globalWeather": 32,
"globalWeatherTrend": "decreasing",
[root]# yum list installed|grep post
postgresql90.i386 9.0.12-1PGDG.rhel4 installed
postgresql90-devel.i386 9.0.12-1PGDG.rhel4 installed
postgresql90-libs.i386 9.0.12-1PGDG.rhel4 installed
postgresql90-server.i386 9.0.12-1PGDG.rhel4 installed
2013-05-27T12:53:06.932467+00:00 app[pgbackups]: Started: Mon May 27 12:53:06 UTC 2013
2013-05-27T12:53:06.968222+00:00 app[pgbackups]: Location: 344e5e70-4002-454a-8152-e23d3e0c369d:/tmp/DalArDkdGG
2013-05-27T12:53:07.061000+00:00 app[pgbackups]: psql: bin//psql-9.2.1-64bit
2013-05-27T12:53:07.083720+00:00 app[pgbackups]: pv: bin//pv-1.1.4-64bit
2013-05-27T12:53:07.183263+00:00 app[pgbackups]: SELECT count(*) = 0 as is_empty
2013-05-27T12:53:07.193292+00:00 app[pgbackups]: FROM pg_class INNER JOIN pg_roles ON relowner = pg_roles.oid
2013-05-27T12:53:07.200943+00:00 app[pgbackups]: WHERE rolname <> '\''postgres'\'''
2013-05-27T12:53:08.692559+00:00 app[pgbackups]: pg_restore: bin//pg_restore-9.2.1-64bit
2013-05-27T12:53:09.273732+00:00 app[pgbackups]: Schema | Name | Type | Info
2013-05-27T12:53:09.288548+00:00 app[pgbackups]: --------+-------------------------------------------------------------+-
bar
@bartocc
bartocc / output
Created November 25, 2014 15:51
Segmentation fault
Welcome to the Phusion Passenger Apache 2 module installer, v5.0.0.beta1.
This installer will guide you through the entire installation process. It
shouldn't take more than 3 minutes in total.
Here's what you can expect from the installation process:
1. The Apache 2 module will be installed for you.
2. You'll learn how to configure Apache.
3. You'll learn how to deploy a Ruby on Rails application.
@bartocc
bartocc / gist:29e0a3455203c394a160
Created September 18, 2015 09:31
ember deploy:list prod
version: 1.13.8
Registering hook -> configure[build]
Registering hook -> configure[gzip]
Registering hook -> configure[s3]
Registering hook -> configure[redis]
Registering hook -> configure[manifest]
Registering hook -> configure[revision-key]
Executing pipeline
|
+- configure
/* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
module.exports = function(defaults) {
var app = new EmberApp(defaults, {
// Add options here
});
// Use `app.import` to add additional libraries to the generated
// output files.