Resume claude after running out of usage limit. For Macos, it uses the automation scripts to resume usage.
For instance if your usage resets at 3pm
./resume_claude.sh "15:00"
Resume claude after running out of usage limit. For Macos, it uses the automation scripts to resume usage.
For instance if your usage resets at 3pm
./resume_claude.sh "15:00"
ps -ef | grep sidekiq | grep busy | grep -v grep | awk '{print $2}' > tmp/sidekiq.pid
cat tmp/sidekiq.pid
bundle exec sidekiqctl stop tmp/sidekiq.pidThis is another piece of code I've extrapolated from a Ruby on Rails project I'm currently working on. The code implmenets social login with a RoR API-based application, targeted at API clients.
The setup does not involve any browser-redirects or sessions as you would have to use working with Omniauth.
Instead, what it does is takes an access_token generated on client-side SDKs, retireves user info from the access token
and creates a new user and Identity in the database.
This setup works with native applications as described in the Google iOS Sign In Docs (see Authenticating with a backend server)
initialize: once, when the controller is first instantiatedconnect: anytime the controller is connected to the DOM