- Name
- Picture
- DOB
- DOD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Meducation.MediaFile.FIXTURES = [ | |
{ | |
id: 8 | |
title: 'Abdominal Ultrasound Tutorial' | |
description: "A tutorial about how to read an abdominal ultrasound video. Produced to give medical students just a better idea of what to expect." | |
image_src: "https://d589j1w8ayj7e.cloudfront.net/attachments/media_files/previews/8.jpg" | |
user: 1 | |
high_quality_url: "http://www.meducation.net/media_files/8/high_quality" | |
media_type_id: 3 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==================================== ERROR ==================================== | |
| An extension is trying to add an invalid handle at the following location: | | |
| v8_handle.cpp:31 | | |
| | | |
| An invalid handle means that it points to an invalid VALUE. This can happen | | |
| when you haven't initialized the VALUE pointer yet, in which case we | | |
| suggest either initializing it properly or otherwise first initialize it to | | |
| NULL if you can only set it to a proper VALUE pointer afterwards. Consider | | |
| the following example that could cause this problem: | | |
| | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BlogPost < ActiveRecord::Base | |
can_generate_reputation | |
has_comments | |
has_views | |
has_votes | |
has_news_feed_item | |
is_a_contribution | |
is_a_resource | |
is_cacheable | |
has_markdown |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Take a photo of you, whenever you make a commit | |
# | |
# This is an improved version of Víctor Martínez original post: | |
# http://coderwall.com/p/xlatfq | |
# | |
# Improvements: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def self.stringify(input) | |
if input.is_a? String | |
input.dump | |
elsif input.is_a? Array | |
"[" + input.collect{|object| stringify(object)}.join(",") + "]" | |
elsif input.is_a? Hash | |
"{" + input.to_a.collect{|key,value| "#{stringify(key)}:#{stringify(value)}"}.join(",") + "}" | |
elsif input.is_a? Symbol | |
input.to_s.dump | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Take a photo of you, whenever you make a commit | |
# | |
# This is an improved version of Víctor Martínez original post: | |
# http://coderwall.com/p/xlatfq | |
# | |
# Improvements: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set up a couple of paths | |
lib_directory = "#{Rails.root}/lib/svgs/" | |
assets_directory = "#{Rails.root}/app/assets/images/pages/" | |
pdf_path = "/Users/iHiD/Downloads/SightSound.pdf" | |
(1..18).each do |id| | |
# Setup image specific paths | |
orignal_filename = "#{lib_directory}#{id}.svg" | |
text_filename = "#{assets_directory}#{id}_text.svg" |
- Email: [email protected]
- Twitter: @iHiD
- Website or Blog: http://www.ihid.co.uk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.filter_parameters += [:password, :email] |