- What is your name?
- Are you able to program? If so in what languages are you fluent?
- How long did it take you to learn those languages?
- How did you learn to code? Who had taught you?
- Which language do you enjoy coding in?
- Which language do you think would be the best for learning?
- Which language was the hardest/easiest, in your opinion to learn?
- Do you think it is important for people to be able to learn how to code?
| Bundler gave the error "Could not find rake-10.1.0 in any of the sources" while processing "/Users/olivierlacan/Development/envylabs/codeschool/iOS7Course/Gemfile". Perhaps you forgot to run "bundle install"? | |
| Bundler gave the error "Could not find libv8-3.11.8.13 in any of the sources" while processing "/Users/olivierlacan/Development/envylabs/codeschool/TryDevTools/Gemfile". Perhaps you forgot to run "bundle install"? | |
| Bundler gave the error "Could not find gem 'jquery-rails (~> 2.0.1) ruby' in the gems available on this machine." while processing "/Users/olivierlacan/Development/envylabs/codeschool/BackboneCourse/Gemfile". Perhaps you forgot to run "bundle install"? | |
| Bundler gave the error "Could not find libv8-3.11.8.17 in any of the sources" while processing "/Users/olivierlacan/Development/envylabs/codeschool/FrontEndFormationsCourse/Gemfile". Perhaps you forgot to run "bundle install"? | |
| Bundler gave the error "Could not find libv8-3.11.8.13 in any of the sources" while processing "/Users/olivierlacan/Devel |
| describe 'Ransack' do | |
| it 'can be required without errors' do | |
| output = `bundle exec ruby -e "require 'ransack'" 2>&1` | |
| output.should be_empty | |
| end | |
| end |
| { | |
| "patterns": [ | |
| { | |
| "pattern": "(console\\.log\\(.*?\\))", | |
| "scopes": [ | |
| "storage.type.function.js", | |
| "meta.function.json.js", | |
| "source.js" | |
| ] | |
| }, |
| { | |
| "html_panel": [ | |
| // Browser print color (selections and multi-selections allowed) | |
| { | |
| "Browser Print - Color": { | |
| "numbers": false, | |
| "multi_select": true, | |
| "style_gutter": false | |
| } | |
| } |
Inside of Rails views, you can call partial views (any view file named with an underscore as the first character) like this:
render partial: "partial_name"You can also pass local variables, which is fantastic to ensure that your views & partials don't try to access data you didn't specifically hand to them from the controller.
@tylerhunt showed me this week that it was possible to avoid using instance variables (which are copied from the Rails controller to the corresponding Rails views) altogether by passing local variables to the view.
| class Deploy < Thor | |
| include Thor::Actions | |
| desc "github", "deploy to GitHub Pages" | |
| def github | |
| original_path = Dir.pwd | |
| deploy_path = "/Users/olivierlacan/Development/perso/olivierlacan.github.com" | |
| puts "Running Jekyll build --destination #{deploy_path}" | |
| run "jekyll build --destination #{deploy_path}" |
I'm planning on either writing this up in detail or maybe doing a screencast about screencasting, but I'll give a short version here.
On sound quality:
This matters a lot. In decreasing order of importance:
- Remove echo. You have to hear this to understand. Set up a mic in front of your mouth and record a sentence. Then, put a thick comforter over you and the mic and say it again at the same distance. Listen to
If you see this error:
NoMethodError: undefined method `result' for #<TypeError: wrong argument type nil (expected Array)>It's very likely you have the same issue I encoutered.
Basically, inside ActiveRecord there's a little method called configure_connection which does exactly that. It checks an instance variable called @config for @config[:encoding] and if that's present, it calls:
