Archives pour la catégorie English

How to change the theme in MARP

In reality it is very complicated, in any case inaccessible to ordinary people, do not I see myself explaining to students the procedure described in this link.

Quite simply because they are not computer scientists and secondly, the interest of using MARP is precisely to be efficient, effective and fast.

On the other hand, as the description indicates, you can easily add styles at the beginning of the slideshow. And then it becomes accessible…

Here is a very short example of what can be done :

<style>
.slide {
 background-color: black;
 font: 40px arial, sans-serif; 
 }
 
.slide a {
 color: indigo;
 }
 
.slide h1 {
 color: fuchsia !important;
 text-align: center;
 } 
 
.slide h2 {
 color: darkviolet;
 } 
 
.slide p {
 color: darkorchid;
 }
</style>

A few explanations:
. slide is about slide related settings
. slide a modifies the links
. slide h1 the titles of level 1 (#)! important clears the parameter setting set by the theme

You need to  use default theme and not Gaia to make it work.

There are two ways to do this, either integrate an external file with a link:

<link rel="stylesheet" type="text/css" href="style.css">

or include the style at the top of the page but it’s less clean.

Enjoy !

Publicités

How to install Exelearning on Solus

Exelearning is an online content design tool developed by a Spanish team and available under free license in many languages. On numerous occasions this software has been the subject of articles in this blog.

This tool is perfect for posting training contents, documentation, e. g. technical manuals, etc. online. Despite all Exelearning is not really an editorial channel, it is rather web-based and training platform oriented.

Moreover, my training contents, some of which are online on the Datacargo. fr website, are made with this tool.

Rather than a long description, I refer you to this presentation video:

Exelearning is available for Windows, Macos and Linux, in installable or portable version (to be copied on a USB stick and used on a machine without root rights).

What about Solus? Another geek thing? Well in fact, no, Solus is a very efficient Linux distribution, and perfectly operational on a small laptop with a double heart. Compared to Ubuntu (17. n), the occupancy of the 4GB of RAM is simply half, i. e. 2GB on Ubuntu and 1GB on Solus… Interesting performance.

How to install Exelearning on Solus OS? Turning to this article…

First, download the portable version for Linux:

2017-11-24_12h07_32

Next, unpack the archive:

tar xvf portable-intef-exe-2.1.3-linux. tar. gz

Copy the contents of the folder into /opt with root rights:

sudo cp -r portable-intef-exe-2.1.3-linux /opt

Then, all that remains is to add an entry in the menu, to do this I used Free Menu:

sudo eopkg install menulibre

For the app works, it is necessary to specify the working directory, the Exelearning icon is in the exelib folder.

Links:

[Linux] how to install Xampp on Solus OS

Solus OS is a new OS that I appreciate for its speed, unfortunately it is a bit exotic for some manipulations. It is true that apart from Ubuntu, it is often necessary to do some DIY to install off-market applications. This short tutorial explains how to install an integrated solution that combines a Web, FTP and SQL server, ideal for local development.

Go to Apachefriends and download the Linux installer for the version of PHP you need.

In a terminal with root rights, proceed to the installation, example:

sudo. /xampp-linux-x64-7.1.11-0-install. run

The wizard unrolls and installs in /opt/lampp

Do not start the management interface (the manager), there are corrections to be made so that the Web and FTP servers start.

In a terminal, edit httpd. conf:

sudo nano /opt/lampp/etc/httpd. conf

Replace daemon with nobody to get:

User nobody
Group nobody
</IfModule>>

Now to the turn of proftpd. conf:

sudo nano /opt/lampp/etc/proftpd. conf

Replace daemon with nobody:

User nobody
#Group daemon

To display the manager window, use this command:

sudo /opt/lampp/manager-linux-linux-x64. run

It is also possible to start applications separately on the command line:

sudo /opt/lampp/xampp startapache

The complete list of orders:

start Start XAMPP (Apache, MySQL and eventually others)
startapache Start only Apache
startmysql Start only MySQL
startftp Start only ProFTPD

stop Stop XAMPP (Apache, MySQL and eventually others)
stopapache Stop only Apache
stopmysql Stop only MySQL
stopftp Stop only ProFTPD

reload Reload XAMPP (Apache, MySQL and eventually others)
reloadapache Reload only Apache
reloadmysql Reload only MySQL
reloadftp Reload only ProFTPD

restart Stop and start XAMPP
security Check XAMPP’s security

enablessl Enable SSL support for Apache
disablessl Disablessl Disable SSL support for Apache

backup Make backup backup file of your XAMPP config, log and data files

oci8 Enable the oci8 extensor

panel Starts graphical XAMPP control panel

Source : https://stackoverflow.com/questions/24027220/error-ah00543-httpd-bad-user-name-xampp-apache

OpenOffice portable for Debian or installed on Solus

Waiting for a hypothetical and expected version 4.2, OpenOffice 4.1.4 released a few days ago, fixing about thirty bugs.

Several platforms are supported, Linux, Mac, and some Linux distributions (RPM and Debian), unfortunately, the OS of one of my machines is not supported, it’s Solus OS. A powerful distribution (hardware recognition, efficiency on small CPU) but whose library is not really exceptional and which does not offer OpenOffice.

Yes, I chose to ignore LibreOffice, essentially by professional choice.

As I searched, I stumbled across this old thread that allowed me to install OpenOffice without any difficulty on my dear distribution.

Here’s how to do it:

1 – download the. deb package corresponding to your CPU architecture, for Solus Os, select x86-64 bits.

2 – uncompress the downloaded tar. gz archive.

3 – open a terminal in the DEBS folder

4 – enter this command.
For Solus you must first install the dpkg package

sudo eopkg it dpkg it dpkg

The dpkg command with the -x option ensures unzipping of packages without installation in the system tree.

for ix in *. deb; do echo $ix; dpkg -x $ix tmp/; done

5 – browse in the Desktop Integration folder and enter the same command (not necessary for the portable version)

6a – installation in Solus OS: copy the contents of the two tmp folders to the root directory of the system with root rights. If all goes well, new menus appear in the Budgie applications list.

6b – in the portable world, copy the /tmp/opt folder to a removable disk formatted in ext. To launch OpenOffice, navigate to the /opt/openoffice4/program folder and click soffice

Source: https://ubuntuforums.org/showthread.php?t=1690445

[GetSimple] Automatic galleries in your pages

As a web site developer, I am fan of GetSimple CMS, free and improved software for building Site, Blogs, ePortfolio.

Sadly,  there might exist some issues between themes and plugins,  for instance 118n_gallery a popular plugin with no other choice to show clean gallery. If it fails, wrong way.

Lire la suite

Free access with Kpn Wifi Hotspots in Centerparcs

I used to travel abroad from France with my family, particularly in Belgium and Nederland Centerparcs. We like them, and the prices are not expensive.

In 2017, roaming will be free in Europa, but for now, I don’t have any option to connect freely to abroad Cellular Network, that means, no Internet, no mail and no long call to friends and family, a little bit annoying.

You can get Wifi access in parcs but not free, in fact, it depends on the parc. Some of them offer completely free access, or VIP cottage includes Wifi access, conditions are listed here (french text).

Prices aren’t so expensive, but I consider Wifi access must stay free for everyone specially after you paid for a weak connexion in your cottage.

2016-09-05_06h54_24

Happily, you may stay connected only 30 minutes a day. Maybe enough, maybe not, I am going to teach you how to extend this time.

How does it work ?

Talking about Internet privacy, people consider Ip address as the way to identify and recognize them. It’s true when connected at home, not on free networks. The technology used to know how you are and if you had been connected 30 minutes a day is the MAC address. Quiet simple, it’s a kind of serial attached to your hardware (wifi or Ethernet).

So if you want to be connected more than 30 minutes, you just need another MAC address ! Giddy up :

How to do it ?

If you are using a smartphone, you must be root on Android, or jailbreak on iPhone. Using a computer, it’s easy to manage on Linux or Apple systems.

Most of people uses Windows system and this time, it’s really simple. You can managed it by yourself using command line, or with a tool, easier and quicker way.

First at all,  download that free and no nag  tool  Technitium MAC Address Changer

Once installed and running, look after Wifi or not Wired operational connexion, I recommend to check “Use 02 option…” to avoid issues.

2016-09-05_07h18_17

Just click on Random Mac Address, and you are right for 30 more minutes !

Want more ?

You may run tMac on a command line, for instance :

tmac -n Wi-Fi -nr02 –s

Or save your presets on a file and run this file with a shortcut.

Want much more ?

The finest way is to share this network to your family but it depends on your hardware, all network adapter’s are not enabled to work like this. On my laptop, Qualcomm Atheros AR956x Wifi adapter driver isn’t able to connect to a network and to share it at the same time .

For that, I used and excellent TP-LINK adapter, TL-WN7200ND, in place of internal hardware deactivated.

It’s possible to manage this share by command line, but for easiest way, here is a good tool to share the Wifi connexion around you, MyPublicWifi.

In conclusion..

Maybe good to stay out of-the-grid for a while, enjoy your journey and the pool, leaving your laptop in its bag.

Unlock Huawei 3G routers

13rd september update : the link seems to be dead, though  you can use :
https://tools.texby.com/unlock-codes/huawei/

It’s really easy to find out Huawei 3G routers at low cost on Ebay for example,  but most of time they are simlocked.

Happily, you don’t have to call the cellular operator to unlock it, you just need to know that tool :

Lire la suite