Skip to content

Instantly share code, notes, and snippets.

David Morley dmorley

Block or report user

Report or block dmorley

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:0a2470c91fcc5a6f583c67f51ba409f1
ALTER TABLE pods ADD terms text, ADD sslexpire text, ADD uptime_custom text ADD dnssec boolean ADD masterversion text, ADD shortversion text;
ALTER TABLE pods DROP Hgitdate, DROP Hgitref, DROP Hruntime, DROP Hencoding, DROP longversion, DROP ptr, DROP whois, DROP postalcode, DROP connection;
ALTER TABLE pods RENAME COLUMN pingdomurl TO statsurl;
ALTER TABLE pods RENAME COLUMN pingdomlast TO statslast;
ALTER TABLE pods RENAME COLUMN xmpp TO service_xmpp;
ALTER TABLE pods RENAME COLUMN uptimelast7 TO uptime_alltime;
ALTER TABLE pods ALTER COLUMN ipv6 TYPE boolean USING ipv6::boolean;
View keybase.md

Keybase proof

I hereby claim:

  • I am dmorley on github.
  • I am davidmorley (https://keybase.io/davidmorley) on keybase.
  • I have a public key whose fingerprint is 8988 A0DE 8D36 1C22 B647 8A89 6E84 901C 721E C6A8

To claim this, I am signing this object:

View gist:564e2949f4611d13a7cc7d30f53daf4d
david@diasp:~/diaspora$ bin/rails c
/home/david/diaspora/config/environments/development.rb:41:in `block in <top (required)>': uninitialized constant TurboDevAssets (NameError)
from /home/david/diaspora/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/railtie.rb:210:in `instance_eval'
from /home/david/diaspora/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/railtie.rb:210:in `configure'
from /home/david/diaspora/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/railtie.rb:182:in `configure'
from /home/david/diaspora/config/environments/development.rb:1:in `<top (required)>'
from /home/david/diaspora/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/engine.rb:598:in `block (2 levels) in <class:Engine>'
from /home/david/diaspora/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/engine.rb:597:in `each'
from /home/david/diaspora/vendor/bundle/ruby/2.3.0/gems/railties-4.2.7.1/lib/rails/engine.rb:597:in `block in <class:En
View gist:937abacf4975c281f649412a89e13c7d
2.1.8 :010 > user = User.find(304)
=> #<User id: 304, username: nil, serialized_private_key: "-----BEGIN RSA PRIVATE KEY-----\nMIIJKAIBAAKCAgEA2S...", getting_started: true, disable_mail: false, language: "en", email: "1", encrypted_password: "", invitation_token: "dBJXFN76JWoChrqTUe-b", invitation_sent_at: nil, reset_password_token: nil, remember_created_at: nil, sign_in_count: 0, current_sign_in_at: nil, last_sign_in_at: "1970-01-01 00:00:00", current_sign_in_ip: nil, last_sign_in_ip: nil, created_at: "2015-12-11 05:56:47", updated_at: "2015-12-11 05:56:33", invitation_service: "email", invitation_identifier: "mcu66@hotmail.fr", invitation_limit: nil, invited_by_id: nil, invited_by_type: nil, authentication_token: nil, unconfirmed_email: nil, confirm_email_token: nil, locked_at: nil, show_community_spotlight_in_stream: false, auto_follow_back: false, auto_follow_back_aspect_id: nil, hidden_shareables: {}, reset_password_sent_at: nil, last_seen: "1970-01-01 00:00:00", remove_after: nil, export: nil, exporte
View gist:bfbe6c13f7570ebfbe63
public/uploads/tmp/1420298392-22693-9924/S05_145jenell-giff-latest-handsup.gif: <a href="http://twitter.com/photobucket" target="_BLANK" onclick="Pb.Track.tr('footer_twitter');"><img src="http://pic2.pbsrc.com/footer/footer-twitter.png" /></a>
public/uploads/tmp/1420298392-22693-9924/S05_145jenell-giff-latest-handsup.gif: Pb.Data.add('loginModal', {"id":"loginModal","className":"loginModal no-footer","buttons":[],"title":"Log in to get started.","static":"data-backdrop=\"static\"","templateName":"#loginModalTemplate","hasFooter":false,"includeForm":true,"footerNote":"","forceAction":false,"keyboard":"true","loginBox":{"iframeUrl":"http:\/\/photobucket.com\/loginbox?parentUrl=http:\/\/s1265.photobucket.com\/user\/ellemuliarchyk\/media\/S05_145jenell-giff-latest-handsup.gif.html&mode=loginModal","registerUrl":"https:\/\/secure.photobucket.com\/register","facebookLogin":{"buttonText":"Log in","tracking":"loginModal_facebook_login_click","service":"facebook","registerUrl":"\/auth\/facebook\/
View gist:1186817
ActionView::Template::Error (private method `gsub' called for nil:NilClass):
19: != markdownify(post, :youtube_maps => post[:youtube_titles])
lib/diaspora/markdownify.rb:108:in `paragraph'
app/helpers/markdownify_helper.rb:37:in `render'
app/helpers/markdownify_helper.rb:37:in `markdownify'
app/views/status_messages/_status_message.haml:22:in `_app_views_status_messages__status_message_haml___659275521_70035290106700_8992460'
app/views/shared/_stream_element.html.haml:37:in `_app_views_shared__stream_element_html_haml___526890580_70035290550860_9928588'
app/views/shared/_stream.haml:6:in `_app_views_shared__stream_haml__302626423_70035290570940_12408812'
app/views/people/show.html.haml:34:in `_app_views_people_show_html_haml___1353196632_70035296163060_0'
app/controllers/people_controller.rb:125:in `show'
View gist:906221
Comment=118 Contact=297 controller='AspectsController' status='' Mention=2 Person=338 event=request_completed Post=16 Profile=336 User=2 ms_in_instantiate=15.9852504730225 action='index' Aspect=2 AspectMembership=298 ms=2911 format='HTML' params='{}' total_ar_instances=1411 Service=2
event=error error_class=ActionView::Template::Error error_message='undefined method `first_name' for nil:NilClass' orig_error_message='undefined method `first_name' for nil:NilClass'annotated_source=' 9: = person_image_link(comment.author)
10: .content
11: .from
12: = person_link(comment.author)
13: %time.timeago{:datetime => comment.created_at}
14: = comment.created_at ? timeago(comment.created_at) : timeago(Time.now)
15:
View gist:851931
+--------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Table | Create Table
View gist:851335
Mysql2::Error: Can't create table 'diaspora_production.#sql-5464_bdd' (errno: 121): ALTER TABLE `aspect_memberships` ADD CONSTRAINT `aspect_memberships_contact_id_fk` FOREIGN KEY (`contact_id`) REFERENCES `contacts`(id) ON DELETE CASCADE
View gist:845867
ERROR Sat 20:00:58: undefined method `children' for nil:NilClass in
lib/mathetes/plugins/down-for-me.rb:14:in `initialize'
./lib/mathetes/hooks/base.rb:13:in `call'
./lib/mathetes/hooks/base.rb:13:in `call'
irc-bot.rb:142:in `start'
irc-bot.rb:140:in `each'
irc-bot.rb:140:in `start'
/root/silverplatter-irc/lib/silverplatter/irc/connection.rb:182:in `call'
/root/silverplatter-irc/lib/silverplatter/irc/connection.rb:182:in `initialize'
/root/silverplatter-irc/lib/silverplatter/irc/connection.rb:179:in `new'
You can’t perform that action at this time.