![]() ![]() I did this by create a session controller from Devise following Configuring Custom Controllers class Users::SessionsController false}Īpp.set(:gollum_path, ('wiki'). I also add a way to get the correct author for each commit in gollum by using session to pass in the info. Until then, it still serves my use case as I do not want unauthenticated users to come to the wiki. I'm trying to fix it so that it will redirect to the sign in page. authenticate :user doīut this comes with a small issue that it keeps getting redirect_loop because Devise tries to route to the root of gollum which has not yet been authenticated. On the side note, it seems a bit easier to integrate gollum to my app using gollum-lib but my have to reimplement the front end features.Įdit: So I get authentication working by using Devise in my routes. Still working on how to reflect which user performs which commit.Īs of now, it's all under the server git account. The issue I'm having right now is that this is a simple mounting of gollum without all the other features in my app like authentication and layout. I can access to the whole gollum using I have to create a 'wiki' directory from root and do a git init. Precious::App.set(:wiki_options, wiki_options) Precious::App.set(:default_markup, :markdown) # set your favorite markup language Precious::App.set(:gollum_path, ('wiki').to_s) Here are the codes for my routes.rb require 'gollum/app' Then reassemble the clock (with a new battery) and see how it goes.Recently, I've tried to mount Gollum onto my app. Again don't use too much.Ĭheck that the flip card retaining pins are not angled back too far as to create excessive drag on the cards. Then advance the mechanism by hand using the setting knob to work in the lubricant. Main Features: - Display time and date in full screen. Designed with a lot of customization options, it enhances the app's usability. Add a couple of drops at each location where the drums contact the axle. Flip Clocker is a useful digital clock designed to turn your iPhone, iPad, or Mac into a Flip Clock or Analog Clock. Lubricate the flip card spool wheels at the main metal axle prior to refitting the motor. Move your attention to the flip card mechanism. Is/was it lubricated? If it was or is, strip down the gearbox, clean down all the gears and re lubricate all the gears with a light plastic friendly lubricant such as clock oil. This indicates to me the possibility of excessive drag/friction somewhere within the clock. The motor unit in your report seems to run happily without a load, ie when not driving the flip card display. Your report back seems to indicate to me that the fault presents once the motor is paired with the readout mechanism. I have a theory, as I don't own a tuning fork clock it is only a theory on what might be going on here. ![]() Is there anyone on this forum with some kind of experience with these clocks? I would love to be able to fix it, but opening up the casing of the motor already looks like a possible horror-story to me :-) Replacing a capacitor is something I will be able to do, once I have located the correct culprit and have sourced a correct replacement for it. Flip Clock’s alarm contains many features such as day selecting, vibration toggling, ringtone selecting, snooze or adding a custom label. These clocks are actually quite sophisticated as far as the technology behind it goes.Īttached a link where you can find more info on them, also someone who suggests a method of repairing them and also has a suggestion of why they break down. When I first came across this clock, I thought that it had something to do with playing music, but since then, I have learned. It did work, for several hours and after that, I can only get it to start and stop after max 2 to 3 seconds :-( This one, I (unfortunately) bought as a working specimen. I owned one of these (I believe a yellow one) years and years ago and because that one was working perfectly, I never bothered to look inside. ![]()
0 Comments
Leave a Reply. |