This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
$sudo rake --trace db:migrate:upgrade_plugin_migrations RAILS_ENV=production | |
(in /var/www/html/redmine-1.2.1) | |
** Invoke db:migrate:upgrade_plugin_migrations (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
rake aborted! | |
uninitialized constant Rails::Plugin::Dependencies | |
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:131:in `const_missing' | |
/var/www/html/redmine-1.2.1/vendor/plugins/redmine_google_calendar/init.rb:47:in `reloadable!' | |
/var/www/html/redmine-1.2.1/vendor/plugins/redmine_google_calendar/init.rb:47:in `each' |
$ RAILS_ENV=production bundle exec rake --trace generate_session_store | |
(in /var/www/html/redmine-1.2) | |
** Invoke generate_session_store (first_time) | |
** Invoke config/initializers/session_store.rb (first_time) | |
** Execute config/initializers/session_store.rb | |
rake aborted! | |
Permission denied - /var/www/html/redmine-1.2/config/initializers/session_store.rb | |
/var/www/html/redmine-1.2/lib/tasks/initializers.rake:6:in `initialize' | |
/var/www/html/redmine-1.2/lib/tasks/initializers.rake:6:in `open' | |
/var/www/html/redmine-1.2/lib/tasks/initializers.rake:6 |
Drupal 7 | |
Fatal error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' in includes/database/mysql/database.inc on line 46 | |
$ php -m | |
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - libmysqlclient.so.15: cannot open shared object file: No such file or directory in Unknown on line 0 | |
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so' - libmysqlclient.so.15: cannot open shared object file: No such file or directory in Unknown on line 0 | |
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysql.so' - libmysqlclient.so.15: cannot open shared object file: No such file or directory in Unknown on line 0 | |
[PHP Modules] | |
apc | |
bz2 |
<?php | |
date_default_timezone_set('Europe/London'); // Set this to your local timezone - http://www.php.net/manual/en/timezones.php | |
/** | |
* The root directory where the repos live. | |
* | |
* @var string | |
*/ | |
$root_dir = '/your/root/dir/'; |
#!/usr/bin/env bash | |
# A script for OS X to help generate and install SSL certificates for localhost. | |
# This is known to work on El Capitan, but should work on all 10.x releases. | |
# | |
# NOTE: THIS SCRIPT MUST BE RUN AS SU. | |
# | |
# This parses your hosts file and for all hostnames mapped to 127.0.0.1 it | |
# checks to see if a certificate exists for that domain. If not it: | |
# * Creates an SSL key and certificate. |
#Dont even flip the script
I won't script the flip!
Surely this has been done before. Aha! Here's a way to do it with... 'binding' on Laravel version... 4. Wait, what's binding?
Ok, well here's some sketchy instructions on how to replace the Hasher singleton with one that will do other kinds of hashes, and alludes to adding an event listener. Hmm, also old. Here's an even older one!
This Blog post I think has the right flowchart:
ProductName: macOS ProductVersion: 12.0.1 BuildVersion: 21A559
Laravel Valet 2.16.1