Me_4th_large

Michael

(username: mikehale)

  • mikehale added a comment 31 almost 5 years ago

    great anti spam idea:...

    I like it. I noticed that the model is already setup to handle flagging a url as spam, so this should be pretty easy. Psyched to be learning more about rails!

  • mikehale added a comment 214 almost 5 years ago

    Monit doesn't seem to always work on restarting mongrels...

    I admit monit is not doing what we want. But you can't separate using monit to watch a process and the restarting of that process. In other words if we want monit to watch the mongrels at all we have to tell it when to start and stop the mongrels as well. We can't go behind its back because it will just detect that the process has died and attempt to start it up again.

  • mikehale marked a task as done 214 almost 5 years ago.

    Monit doesn't seem to always work on restarting mongrels...

  • mikehale added a comment 214 almost 5 years ago

    Monit doesn't seem to always work on restarting mongrels...

    I would prefer to use another tool, but so far monit is the best one out there that I have learned how to use. I think god could be a better tool, but I have not had enough time to grock it yet.

  • mikehale added a comment 214 almost 5 years ago

    Monit doesn't seem to always work on restarting mongrels...

    You are right... basically you tell monit to do something and it returns and then goes and does it. Mongrel can take a few seconds to stop and start so sometimes monit gets out of sync with mongrel.

  • mikehale created a task for mikehale 30 almost 5 years ago.

    run rootkit checker

  • mikehale created a task for mikehale 29 almost 5 years ago.

    remove spam links including:...

  • mikehale created a task for mikehale 28 almost 5 years ago.

    research how to stop spam links

  • mikehale marked a task as done 186 almost 5 years ago.

    I need sudo access on the server. To install gems, etc.

  • mikehale added a comment 186 almost 5 years ago

    I need sudo access on the server. To install gems, etc.

    You should be able to login with duff@next.theconnectedrepublic.org. I added your public ssh key to ~/.ssh/authorized_keys so you should not get a password prompt. Your password is in ~/password.txt.

  • mikehale created a task for mikehale 26 almost 5 years ago.

    translate other tinyurl service urls to direct bloat.me urls (remove chained redirect)

  • mikehale added a comment 186 almost 5 years ago

    I need sudo access on the server. To install gems, etc.

    Duff, now that you have a way to install gems via the rake task do you still have a need for sudo access? I prefer not to grant sudo access if possible because then I have more control over what happens on the box. If you still feel that it would be useful let me know and I'll set you up.

  • mikehale added a comment 187 almost 5 years ago

    I need the hpricot gem installed on the server in order to import the legacy data.

    The other way you could have installed the gem is by adding it as a dependency in environment.rb and running `cap deploy` which calls install_rake_tasks. The republic user has sudo permissions to run any rake task.

  • mikehale marked a task as done 187 almost 5 years ago.

    I need the hpricot gem installed on the server in order to import the legacy data.

  • mikehale added a comment 180 almost 5 years ago

    pingbacks, trackbacks

    I know that wordpress has them. It is basically a way to be notified when someone links to you. See http://codex.wordpress.org/Introduction_to_Blogging#Trackbacks and http://codex.wordpress.org/Introduction_to_Blogging#Pingbacks.

  • mikehale marked a task as done 176 almost 5 years ago.

    Add http basic password to next.theconnectedrepublic.org

  • mikehale added a comment 176 almost 5 years ago

    Add http basic password to next.theconnectedrepublic.org

    Username and password will be emailed to team.

  • mikehale marked a task as done 24 almost 5 years ago.

    the bookmarklet stopped working. I did not change anything. Can it be becasue of this one http://github.com/kohlhofer/rubyurl/commit/e470c9fa7b262df409851ce71dafb101721aa438

  • mikehale added a comment 24 almost 5 years ago

    the bookmarklet stopped working. I did not change anything. Can it be becasue of this one http://github.com/kohlhofer/rubyurl/commit/e470c9fa7b262df409851ce71dafb101721aa438

    I'm not a rails expert, but it seems strange that the bookmarklet and the form have different parameters.

  • mikehale added a comment 24 almost 5 years ago

    the bookmarklet stopped working. I did not change anything. Can it be becasue of this one http://github.com/kohlhofer/rubyurl/commit/e470c9fa7b262df409851ce71dafb101721aa438

    Just pushed a fix for this.

  • mikehale added a comment 25 almost 5 years ago

    my local set up stopeed working after pulling changes. I installed the gem "ruby-debug" so the server is running again but when I hit index I get:...

    I figured you would say something like that :)

    Actually we can check before deploying. Just run `rake asset:packager:build_all && script/server -e production`

  • mikehale added a comment 25 almost 5 years ago

    my local set up stopeed working after pulling changes. I installed the gem "ruby-debug" so the server is running again but when I hit index I get:...

    So this was due to me installing the asset_package plugin.

    I had changed the default configuration so that it was looking for compressed javascript and css in development mode as well as production. The reason that you were seeing the error after updating was because for asset_packager to work properly you have to run `rake asset_pacakger:build_all` which generates the compressed assets. I turned off asset_packager in development so you dont have to run rake and will not see this problem anymore: http://github.com/kohlhofer/rubyurl/commit/5fe689eec74fe86415fca6c93cf700e460e2310a

    The only downside to turning this off in development is that it does change the css and javascript so sometimes it can cause problems that would only show up in production. We could turn it back on for development mode too, and add some code to script/server to automatically run the rake task. The only downside is that the server would have to be restarted every time you changed a javascript or css file.

  • mikehale added a comment 25 almost 5 years ago

    my local set up stopeed working after pulling changes. I installed the gem "ruby-debug" so the server is running again but when I hit index I get:...

    I'm only seeing this on a freshly cloned repository. I'll see what's up.

  • mikehale added a comment 24 almost 5 years ago

    the bookmarklet stopped working. I did not change anything. Can it be becasue of this one http://github.com/kohlhofer/rubyurl/commit/e470c9fa7b262df409851ce71dafb101721aa438

    I think that probably is the problem commit. I've rolled back the code on the server, and will create a fix.

  • mikehale marked a task as done 19 almost 5 years ago.

    install asset_packager plugin to speed up site

  • mikehale marked a task as done 22 almost 5 years ago.

    install exception notification plugin

  • mikehale created a task for mikehale 22 almost 5 years ago.

    install exception notification plugin

  • mikehale marked a task as done 10 almost 5 years ago.

    install god to watch nginx, swiftiply, thin, mysql

  • mikehale added a comment 10 almost 5 years ago

    install god to watch nginx, swiftiply, thin, mysql

    installed monit instead

  • mikehale marked a task as done 44 almost 5 years ago.

    install monitoring software (monit/god/?)