Syndicate content

editor

SugarCRM Community Edition for Ubuntu 16.04 with PHP 7

As I wanted to use SugarCRM on my new server, I looked into the Community Edition and apparently the company is not willing to convert their code so it works under PHP 7.

So that would not work on a newer system because the code uses quite a few forbidden mechanism (wrong class definitions, old defunct functions...) and that prevents to even instal the system on your machine.

Now, I have looked closer into it and I am getting a version that works pretty darn well already. I still have some issues here and there, but I think you can already make use of that version. Except for one thing which ...

crontab -e — change default editor, selected wrong editor

In Ubuntu 16.04, I wanted to add a user cron file with crontab -e, which has a new behavior: the very first time, it asks you what editor you want to use (i.e. nano, vim, ...)

If you choose the wrong one, then next time it does not ask you, it remembers your choice forever, so you'll be stuck.

The nano editor is okay, but difficult to work with if you're used to something like vim.

The data actually gets saved in a hidden file of your home directory named .selected_editor.

# Generated by /usr/bin/select-editor
SELECTED_EDITOR="/usr/bin/vim"

Mine was set to ...

Large scale Linux console

As I am working on our Snap! C++ CMS, I created a set of virtual systems to test the compilation on "clean" system (yeah! my main computers has all sorts of things that I don't even know about...)

In those virtual system, I only install the basic server and then do a sudo apt-get install of anything else the server needs to get compiled. This includes libraries such as libmagic, boost, and Qt and some tools like xmllint. This is pretty cool, but when working in a console, and that console is very small, it makes it a bit difficult, so I looked into making it big.

For this ...

Readonly content cannot be changed. Libreoffice preventing edits...

Today I opened a document where I had to make a few edits and LibreOffice decided to tell me:

Readonly content cannot be changed.
No modifications will be accepted.

There is a screenshot of that message:

Error message: Readonly content cannot be changed. No modifications will be accepted.

The error may be justified, I do not know, but apparently not too many people know how to unlock a document. I found pages and pages that tell people to check the read/write protection of the file, as if a read-only file on disk could not be updated in the editor... (yes! you cannot write it back, but you can edit it and do a Save As ...)

One person, though, had the correct answer to ...

Updating your Drupal website from FCKeditor to CKEditor

As FCKeditor becomes old and the new CKEditor is started to get there, I'm updating more and more websites to make use of the newer version of CKEditor. This requires a few steps to make sure you don't lose the previous functionality.

Permissions

The update does not transfer the FCKeditor permissions to the CKEditor. This is because by the time you install the new CKEditor, the FCKeditor should already be uninstalled. In other words, those permissions are gone already. Plus, the scheme is slightly different in the new editor.

Roles

The list of roles who are assigned one ...

Binary (Hexa) File Editor for Windows

Got an email from SourceForge.net today and they mentioned a new binary editor that works under MS-Windows.

Yes, they have one in DevStudio, but it's cumbersome to open a file in that more. You have to go through hoops and it often changes a tiny bit between versions and even just installs!

This one's small and fast and works on large files too.

It's called Frhed.

How to configure alternative soft-links under Ubuntu/Debian

Ubuntu (and Debian) come with many "alternatives".

The system offers many editors, browsers, compilers, shells, etc. Just have a look at the large selection under /etc/alternatives.

ls /etc/alternatives

Under Unix, one can create soft links to soft links to soft links to an actual file. The alternatives work in that way. The soft links defined in the /etc/alternatives folder are pointers that one can change to make his/her system more likeable.

To change one of these alternatives, Ubuntu offers the update-alternatives script. For example, if you don't like Nano, change your

TOC test without editor

title 1

Test A

title 2

Testing B

title 3

Weird format

[toc hidden:1]

MO Paragraph trimmer filter test page

This page has empty paragraphs at the top (before this line), at the bottom and in between each paragraphs. In a way, this is a weird module!

It use the MO Paragraph trimmer filter1, written in PHP for Drupal 6.x, to remove all of those empty paragraphs. Sadly, there isn't a good way for you to check the page source, but you can test by posting a comment (I think...)

The idea ...

  • 1. Available on the Made to Order Software website.

Compile C/C++ files with weird extensions

cl.exe has a special option to be told that the input file is a C (/Tc) or a C++ (/Tp) file. This is necessary if you want to use an extension other than the default .c, .cxx and .cpp. For instance, many people use .cc or .c++ for C++ files. Just add the /Tp command line option and your file will be accepted as a C++ file no matter what the extension is.

Also, in your environment, you can change the editor and Open/Close feature to recognize these files. The Microsoft page available here:

Syndicate content Syndicate content

Diverse Realty

Diverse Realty Team

Want a New Home?
Want to Sell Your House?

Call Alex at
+1 (916)
220 6482

Alexis Wilke, Realtor
Salesperson
Lic. # 02024063

Cory Marcus, Broker
Lic. # 01079165

     

Terms of Site Index

Find the page/content you are looking for with our index.