This file contains 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
sudo add-apt-repository ppa:webupd8team/sublime-text-3 | |
sudo apt-get update | |
sudo apt-get install sublime-text-installer |
This file contains 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
ActionView::Template::Error (Table 'bubbletimer_development.time_slice' doesn't exist): | |
18: <th class='hour-divider' <%= hide_or_show(bt_start_hour, current_time.hour, bt_end_hour) %>> </th> | |
19: <th id="<%= time_header_id(current_time) %>" | |
20: class="time hour <%= hour_marker(current_time.hour) %> <%= time_for_hour(day.time_slices, current_time) %>" | |
21: <%= hide_or_show(bt_start_hour, current_time.hour, bt_end_hour) %>> | |
22: <span><%= user_time_display(current_time, @day.user) %></span> | |
23: </th> | |
24: <% else %> | |
activerecord-mysql2-adapter (0.0.3) lib/active_record/connection_adapters/mysql2_adapter.rb:263:in `query' | |
activerecord-mysql2-adapter (0.0.3) lib/active_record/connection_adapters/mysql2_adapter.rb:263:in `execute' |
This file contains 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
# Recent Updates' Gems | |
config.gem 'kramdown', :version => '~> 0.13.2' #Recent Updates plugin dependency | |
config.gem 'uuidtools', :version => '~> 2.1.1' # Recent Updates plugin dependency | |
config.gem 'grit', :version => '~> 2.2.0' # Recent Updates plugin dependency | |
config.gem 'diff-lcs', :version => '~>1.1.2', :lib => false # Recent Updates plugin (via grit) dependency | |
config.gem 'mime-types', :lib => 'mime/types', :version => '~>1.16' # Recent Updates plugin (via grit) dependency | |
config.gem 'rest-client', :version => '~> 1.6.1' # Recent Updates plugin dependency | |
config.gem 'twitter', :version => '~> 1.3.0' # Recent Updates plugin dependency | |
config.gem 'hashie', :version => '~> 1.0.0' # Twitter dependency | |
config.gem 'addressable', :lib => false, :version => '~> 2.2.4' # Twitter dependency |
This file contains 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
### Instructions to set up honeybadger for a Rails 2 app. ### | |
Add the honeybadger gem to your app. | |
In config/environment.rb: | |
config.gem 'honeybadger' | |
# omitting some bundler-specific stuff here. | |
Then from your project's RAILS_ROOT, and in your development environment, run: | |
rake gems:install |
This file contains 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
import java.util.*; | |
import java.io.*; | |
public class JustinThompsonHw9 | |
{ | |
static LinkedList list; | |
static final int MAX = 10; // using this for count. | |
public static void main(String[] args) throws Exception | |
{ |
This file contains 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
import java.util.Scanner; | |
import java.io.*; | |
import java.text.DecimalFormat; | |
public class StudentDissector | |
{ | |
public static void main (String[] args) throws IOException | |
{ | |
String record; | |
Scanner fileScan, recordScan; |
This file contains 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 Product < ActiveRecord::Base | |
########################### | |
# Including our Permalinked module | |
include Permalinked | |
########################### | |
# Products should have: | |
# => name [r] | |
# => permalink | |
# => description [r] |