LICENSEĬode taken directly from SDL2 and SDL2_ttf should keep the same License with SDL2 and SDL2_ttf.Ĭode modified by myself should use Apache-2.0. FlipClock 2.0 OFFICIAL Trailer tm.things 5 subscribers Subscribe 5 Share 2.4K views 5 months ago FlipClock 2. Paying extra thousands of dollars (for buying a Mac) to gain the right for developing apps for my own mobile device is ridiculous. It encourages beautiful code by favoring convention over configuration. Wanna an iOS version? Just buy your closed-source Tesla! I am not interested in users of closed-source systems. rails your community gem host rails 4.2.6 Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. So I just write some Android.mk files for building. The original FlipClock uses Meson, but we cannot use Meson when building Android APP. The original FlipClock was used as a git submodule here to keep code clean, because we need to build SDL2 and SDL2_ttf's source inside this project (that's bad, but it's the only way). Java shim was taken directly from SDL2's android-project subdir and I won't modify them to keep consistnt with upstream. When the APP started, 2 fingers touch/double tap to switch between 12/24-hour clock format, 3 fingers touch to toggle second, rotate your phone to switch between landscape and portrait, don't forget to enable your phone's auto-rotate option. Open this project with Android Studio and try to build by yourself. Modern phones with non-square screens use OLED, and displaying similar patterns (FlipClock is one of those) will leave permanent mark on OLED screen.Ĭlone this repo, then run git submodule update -init to get FlipClock, then the font symlink under assets should work, if not, run ln -s app/jni/flipclock/dists/flipclock.ttf app/src/main/assets/flipclock.ttf. I did this by create a session controller from Devise following Configuring Custom Controllers class Users::SessionsController false}Īpp.set(:gollum_path, ('wiki').FlipClock Android The Android wrapper for FlipClock.įliqlo, the closed-source app for macOS has an iOS version, so I tried to make an Android version. 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. Installation Add this line to your application's Gemfile: gem 'flipclockjs-rails', '> 0.7. FlipClock JS version: 0.7.7 FlipClock.js requires jQuery 1.7.x+. Still working on how to reflect which user performs which commit.Īs of now, it's all under the server git account. This gem packages FlipClock.jsfor the Rails 3.1+ asset pipeline. 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) It's equipped with a Pomodoro timer and stopwatch to help you manage your time and. Precious::App.set(:default_markup, :markdown) # set your favorite markup language Introducing Zen Flip Clock - the app that lets you appreciate the beauty of time in a simple, minimalistic style. Precious::App.set(:gollum_path, ('wiki').to_s) Here are the codes for my routes.rb require 'gollum/app' The aim of this app is to help you focus on any task you are working on. Recently, I've tried to mount Gollum onto my app. Pomoflip is a customizable pomodoro flip clock timer that works on desktop & mobile browser.
0 Comments
Leave a Reply. |