Recent Posts

Subscribe to Recent Posts 425 posts found

posted 21 days ago
handy 9 posts

Forum: Instiki – Topic: Using instiki.desktop to autostart at login

@distler I’m actually using the OpenRC init system, so the changes to most (would have to be close to 100% of) distros go beyond just those (the vast majority) that use systemd.

Again my apologies to readers for the mess that my instiki.desktop file presents as in the OP. You should be able to work out what it looks like by looking at a .desktop file in your own ~/.config/autostart/

 
posted 22 days ago
distler 109 posts

Forum: Instiki – Topic: Using instiki.desktop to autostart at login

Definitely should update those instructions for systemd, which seems to have replaced init in most Linux distros.

 
posted 26 days ago
handy 9 posts

Forum: Instiki – Topic: Using instiki.desktop to autostart at login

The formatting is messed up,

Path=

should be on its own line (I obviously haven’t yet learned markdown).

 
posted 26 days ago
handy 9 posts

Forum: Instiki – Topic: Using instiki.desktop to autostart at login

I looked at the wiki page on autostarting instiki at login & it is somewhat out of date.

So I thought I’d see if I could kludge my way to an autostart by using a ~/.config/autostart/instiki.desktop file.

& it works fine. So it should be a simple autostart method for all Linux distros (I just run instiki on my local machine for personal use).

I’m sure that the following instiki.desktop file that I created could be improved & made more correct. But it works great as it is & instiki uses next to no resources when run in the background, which makes me happy.

So hopefully the following is useful to someone (be sure to change the path to that of where you have instiki installed on your system): ________________________________________

[Desktop Entry] Name=instiki GenericName=Wiki software Comment=Contains indexed information Path=/home/handy/instiki Exec=ruby ./instiki –daemon Type=Application StartupNotify=true Categories=Network;WebBrowser;Wiki ____________________________________

 
posted 27 days ago
handy 9 posts

Forum: Instiki – Topic: Installation problem

Thanks for your help. We got it this time. :)

I used the command you suplied above, & started the setup again & it is working fine now.

Thanks for your time.

 
posted 28 days ago
distler 109 posts

edited 28 days ago

Forum: Instiki – Topic: Installation problem

Can you access

http://127.0.0.1:2500/web_list

? If so, what are all the links on that page?

(Clearly, something got screwed up in creating your first wiki. If we can’t straighten this up, I’d suggest reinstalling.)

Edit: To be clear, a full reinstall is probably not necessary. A simple

kill <pid-of-instiki>
git checkout -- db/production.db.sqlite3
ruby ./instiki

will suffice to reset the database.

 
posted 29 days ago
handy 9 posts

Forum: Instiki – Topic: Installation problem

Thanks for your reply.

I have only one “web”.

Unfortunately I still get exactly the same result when using the address that you provided in the above post?

 
posted 29 days ago
distler 109 posts

Forum: Instiki – Topic: Installation problem

I assume you’re running on localhost?

In that case, you should be able to access the URL

http://127.0.0.1:2500/

If you have more than one wiki (“web” in Instiki’s idiosyncratic parlance), this will redirect to

http://127.0.0.1:2500/web_list

If you have only one web configured it will, instead, redirect to the HomePage of that web.

 
posted 30 days ago
handy 9 posts

Forum: Instiki – Topic: Installation problem

OK I read your wiki page on the syntax, so here is my error in full:

<nowiki>No route matches "/handy.wiki/show/HomePage" with {:method=>:get}</nowiki>
 
posted 30 days ago
handy 9 posts

Forum: Instiki – Topic: Installation problem

I’ll try the code option before I read the wiki page again: ;)

‘code’No route matches “/handy.wiki/show/HomePage” with ’/code’

 
posted 30 days ago
handy 9 posts

Forum: Instiki – Topic: Installation problem

Thanks for your reply. :)

I installed git, & then followed your instructions & installed instiki. (The AUR package is certainly out of date!)

Then I ran instiki, intered a wiki name/address for my local wiki & a password.

When I hit the next button I get a “HomePage” with the following error:

Routing Error

No route matches “/handy.wiki/show/HomePage” with

Once again I’m at a loss?

If you could please point me in the right direction I’ll be very grateful?

 
posted about 1 month ago
distler 109 posts

Forum: Instiki – Topic: Installation problem

I would not expect the (ancient!) gem version of Instiki to work at all.

What you need to do is

git clone https://github.com/parasew/instiki.git
cd instiki
ruby bundle install  --path vendor/bundle

Then, if all went well,

ruby ./instiki --daemon
 
posted about 1 month ago
handy 9 posts

Forum: Instiki – Topic: Installation problem

Hi there,

  • I’m running Arch Linux.

I’ve installed: * ruby 2.4.2p198 * Created ~/.gem/ruby/2.4.0/bin ruby_gems updated (have multiple directories & files in …/2.4.0/ now)

Ran a couple of tests (found on the web) & Ruby seems to be functioning OK.

  • used the following to install instiki: gem install instiki ~/.gem/ruby/2.4.0/bin/

When I enter ./instiki –daemon I get the following errors:

‘code’ [handy@notebang ~/.gem/ruby/2.4.0/bin]$ ./instiki –daemon /home/handy/.gem/ruby/2.4.0/gems/instiki-0.10.2/instiki:6:in load': /home/handy/.gem/ruby/2.4.0/gems/instiki-0.10.2/script/server:27: formal argument cannot be a constant (SyntaxError) 'Default: 2500') { |OPTIONS[:port]| } ^ /home/handy/.gem/ruby/2.4.0/gems/instiki-0.10.2/script/server:27: syntax error, unexpected '[', expecting '|' 'Default: 2500') { |OPTIONS[:port]| } ^ /home/handy/.gem/ruby/2.4.0/gems/instiki-0.10.2/script/server:30: formal argument cannot be a constant 'Default: 0.0.0.0') { |OPTIONS[:ip]| } ^ /home/handy/.gem/ruby/2.4.0/gems/instiki-0.10.2/script/server:30: syntax error, unexpected '[', expecting '|' Default: 0.0.0.0') { |OPTIONS[:ip]| } ^ from /home/handy/.gem/ruby/2.4.0/gems/instiki-0.10.2/instiki:6:in

<top></top>(required)>' from ./instiki:23:in `load' from ./instiki:23:in `<main>' '/code'</main>

Any help will be much appreciated.

 
posted 5 months ago
quanghieu 1 post

edited 17 days ago

Forum: Instiki – Topic: Rebuilt

SAMSUNG GALAXY S6 – MẪU SMARTPHONE ĐÁNG SỠ HỮU NHẤT HIỆN NAY Sam sung galaxy S6 là mẫu smartphone mới nhất của Sam sung trong năm 2015 và tất nhiên nó sở hữu rất nhiều ưu điểm. Chúng ta hãy cùng điểm lại và đánh giá về chất lượng cũng như cấu hình galaxy s6 để tạo nên những trải nghiệm tuyệt vời trên Galaxy S6. Để trả lời cho Những câu hỏi thường gặp về điện thoại Samsung Galaxy S6 không đơn thuần chỉ mang đến cho bạn khả năng nghe gọi, giải trí tốt nhất mà còn như một chiếc máy ảnh bỏ túi thực sự rất tiện lợi nhờ camera sau được cải tiến hơn nhiều so với thế hệ trước. Cấu hình khá mạnh, màn hình máy có độ phân giải cao, thiết kế tuyệt đẹp là những gì dễ nhận thấy nhất trên mẫu điện thoại cao cấp này. Tuy nhiên, vẫn còn tồn tại một số vấn đề về nhiệt độ, thời lượng pin, nhưng vẫn dừng lại ở mức chấp nhận được với những người khó tính. Cùng với giá thành đan dần hạ xuống để chào đón phiên bản mới Samsung Galaxy Note 5 và Galaxy S6 Edge +, những đánh giá sau đây sẽ giúp bạn sẵn sàng cho việc sở hữu chiếc điện thoại ss s6 giá vừa túi tiền nhé. Samsung đã thay đổi cũng như tạo nên được sự phá cách, làm nên một cuộc cách mạng đối với các dòng sản phẩm của mình. Trên thực tế, kể từ khi chiếc điện thoại đầu tiên (Galaxy Alpha) sở hữu viền kim loại ra mắt, Sam sung đã cho thấy được bộ mặt tích cực trên thị trường di động và với Galaxy S6, chúng ta sẽ được chiêm ngưỡng siêu phẩm mới với vẻ ngoài sang trọng bậc nhất hiện nay. alt text Samsung Galaxy S6 sở hữu viền kim loại và được ốp bằng hai tấm kính cường lực cùng với lớp phim giúp máycó thể biến đổi màu sắc khi nhìn từ nhiều phía khác nhau. Hai tấm kính này đã đem lại cho sản phẩm một sự sang trọng, bóng bảy và chắc chắn. Tuy nhiên điều đáng tiếc là mặt kính này lại bám vân tay. Đối với những ai sử dụng phiên bản màu trắng, gold thì sẽ yên tâm hơn những ai sử dụng phiên bản màu đen hay xanh ngọc thì lại trở thành một vấn đề rất lớn. Có ý kiến cho rằng thiết kế mới của Samsung Galaxy S6 đã lấy cảm hứng từ iPhone 6, đặc biệt là phần đế máy với vị trí loa, cổng kết nối, khe cắm tai nghe tương đồng. Thế nhưng, ý kiến này hoàn toàn không chính xác bởi cách sắp xếp này phải phụ thuộc vào linh kiện cũng như vị trí của main. Nếu để chỉ ra một điểm đáng tiếc nhất trên Samsung Galaxy S6, samsung s6 xách tay đó chính là cụm camera. Mặc dù cho khả năng chụp ảnh đẹp, chất lượng thuộc loại hàng đầu trên thị trường nhưng máy lại có thiết kế lồi một cách rất khó chịu. Nếu để lên mặt bàn hay một bề mặt phẳng, bạn sẽ lo ngại mặt kính camera sẽ bị xước, viền kim loại sẽ bị trầy. Sau một thời gian sử dụng, mặt kính máy bằng sapphire cho thấy độ bền khá ấn tượng nhưng phần viền máy lại dễ bị tróc sơn. Đây là một điểm trừ khá đáng tiế của Samsung. Nhìn chung, với thiết kế mang tính cách mạng của Sam sung đã được rất nhiều chuyên gia và người dùng đánh giá rất cao và S6 trở thành biểu tượng sắc đẹp mới của làng smartphone toàn cầu. Link xem video : https://www.youtube.com/watch?v=fZ3_OUY32Hc

 
posted 10 months ago
distler 109 posts

edited 10 months ago

Forum: Instiki – Topic: macOS nokogiri

Hmmm. That’s unexpected. You can edit the Gemfile to replace the line

gem "nokogiri", '~>1.7.0'

with

gem "nokogiri", '~>1.6.0'

which should work fine.

Or you can install a more recent version of Ruby (current is 2.4.0; you have 2.0.0).

 
posted 10 months ago
ifoerster 1 post

Forum: Instiki – Topic: macOS nokogiri

Hello, I try to install instiki on macOS but the gem file always produce an error:

Fetching https://github.com/distler/maruku.git Fetching gem metadata from http://rubygems.org/……. Fetching version metadata from http://rubygems.org/. Resolving dependencies… nokogiri-1.7.0.1 requires ruby version >= 2.1.0, which is incompatible with the current version, ruby 2.0.0p648

Anybody can help here?

 
posted over 1 year ago
natebottman 5 posts

Forum: Instiki – Topic: .png files displaying only intermittently

I have been experiencing a weird bug, I wonder if someone knows a fix? On my personal (locally-stored) instiki, I have a bunch of .png files (not huge, all less than 1MB), displayed on various pages. Occasionally I will navigate to a page and instead of displaying the images, it will show me the prompt that shows up when you include an image that has not yet been uploaded – something like nice-pic.png? , in gray. When I click the “?”, it does one of two things: either it initiates a download of the .png file, or it shows me the image in my browser (but on a blank page, with nothing besides the image). In one case this bug resolved itself – after reloading a few times the images showed up again. In another case that didn’t work, and I had to remove the instances of “[[nice-pic.png:pic]]” from my source, submit it, then add the instances back in, and submit one more time.

Any ideas??? Not a big deal, but kinda annoying.

 
posted over 1 year ago
distler 109 posts

Forum: Instiki – Topic: Best way to center in markdown?

There are several options. The easiest is

![My former cat](https://golem.ph.utexas.edu/~distler/bree.jpg)
{: style="text-align:center;}

My former cat

 
posted over 1 year ago
natebottman 5 posts

Forum: Instiki – Topic: Best way to center in markdown?

What’s the best way to center an image in markdown? Do I need to resort to HTML, or is there something built-in?

Thanks!

 
posted over 1 year ago
natebottman 5 posts

Forum: itex2MML – Topic: possible to create web-wide "preamble"?

Oh, GreaseMonkey looks promising. Thanks!

 
posted over 1 year ago
distler 109 posts

Forum: itex2MML – Topic: possible to create web-wide "preamble"?

Do you use Firefox?

A GreaseMonkey script could provide that sort of customization (and more).

There are other extensions for using an external editor with textareas, which would be another way to get the sort of customizable editing experience you are looking for.

 
posted over 1 year ago
natebottman 5 posts

Forum: itex2MML – Topic: possible to create web-wide "preamble"?

I see, thanks Jacques. Can you think of any workaround that would let me (for instance) type \b every time I want a \bullet ?

 
posted over 1 year ago
distler 109 posts

Forum: itex2MML – Topic: possible to create web-wide "preamble"?

No.

Macros are not a feature of itex2MML.

The first reason is security: it’s very hard to protect against the (La)TeX equivalent of the billion laughs attack. This is, of course true of TeX/LaTeX itself, but it’s a much more serious concern when used in a web application (like Instiki, or this forum software).

The second reason is an implementation detail: in the preferred mode of use (as used in Instiki and in this forum software), a separate invocation of itex2MML is used for each formula. A macro defined in one invocation could not be “re-used” in another.

Now, neither of these would be incompatible with implementing a “global” preamble (whose content would be controlled by the website owner and not alterable by ordinary users). On the other hand, that would be rather less-than-useful on a public wiki (or forum), so there hasn’t been much user demand for such a feature either.

I guess a private wiki would be one use-case where it might be desirable …

 
posted over 1 year ago
natebottman 5 posts

Forum: itex2MML – Topic: possible to create web-wide "preamble"?

I have a local wiki, with Instiki 0.19.8 and Ruby on Rails 2.3.18 . It would be great if I could create a “preamble” in order to define some tex commands – eg, if I could include a line \newcommand\b{\bullet} , and on every page I could type \b instead of \bullet . Is this already a feature?

 
posted over 1 year ago
distler 109 posts

Forum: Heterotic Beast – Topic: Is Heterotic Beast Compatible With RDBMS?

Heterotic Beast supports any RDBMS backend that Rails supports.

 
posted over 1 year ago
ryuwaraimasa 1 post

edited over 1 year ago

Forum: Heterotic Beast – Topic: Is Heterotic Beast Compatible With RDBMS?

Looking for a forum software that is compatible with database management system software such as Tibero. I want to be able to make the data quantifiable and run it through a program to analyze user data and what not. Let me know if this is possible and if you need more information on the software I will be using click here.

 
posted over 1 year ago
weilina 1 post

Forum: Heterotic Beast – Topic: Can I view the source text for other people's posts?

Instead of simulating the edit function where content is shown in place, I would preferably show this in a popup. That way users couldn’t mix up the functionality and get confused. You can also add some information like the Format to the popup.

 
posted almost 2 years ago
distler 109 posts

Forum: Instiki – Topic: Dreamhost installation issues

The whole point of rbenv (or rvm) is to set up your paths correctly so that, when you type ruby, you get the desired executable. I don’t know anything about Dreamhost, and didn’t really read the rbenv installation instructions that you followed, but evidently they didn’t quite achieve the desired result.

 
posted 2 years ago
joelwatsonfish 7 posts

Forum: Instiki – Topic: Dreamhost installation issues

Since I haven’t tried installing Instiki, I don’t have have an Instiki directory, however from my home directory, the following

$ ruby --version

yields

ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

However, from /home/username/.rbenv/versions/2.2.0/bin/ the following

$ ruby --version

yields

ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]

 
posted 2 years ago
distler 109 posts

Forum: Instiki – Topic: Dreamhost installation issues

OK. So let’s assume you’ve gotten that far correctly. cd to your Instiki directory and try

ruby --version
ruby bundle install

The first command should return the version of Ruby you’re using (hopefully 2.2). The second should run the included version of Bundler (as opposed to the one you installed via rbenv).