Daily Weekly Monthly

Monthly Shaarli

All links of one month in a single page.

June, 2019

Le Dev, le RH et le Client – le jeu de rôle

Cher Journal, Maintenant que je sais que tu veux conquérir le monde avec tes amis, j’ai décidé de collaborer activement. En échange, je vous demande juste de ne pas commencer par les USA. C&r…

14.04 - Proxy does not work using sudo - Ask Ubuntu

In case anybody wonders:

The issue here, is that when sudoing, a newenvironment is loaded, meaning that http_proxy is no longer set.

To resolve this issue you can add Defaults env_keep += "http_proxy https_proxy" to your /etc/sudoers file in order to keep those variables when switching to the secure path.

Reference: https://help.ubuntu.com/community/EnvironmentVariables

GitHub - ctodobom/OpenNoteScanner: Android application for scanning and manipulating handwritten notes and documents.

Android application for scanning and manipulating handwritten notes and documents. - ctodobom/OpenNoteScanner

Access termux from your laptop using USB – themountain – Medium

On termux:

apt install openssh
sshd

copy ssh key to .ssh/autorized_keys

On Host:

adb forward tcp:8022 tcp:8022
ssh localhost -p 8022

Done

Convert square meter to tatami - Conversion of Measurement Units

Do a quick conversion: 1 square meters = 0.60499727751225 tatami using the online calculator for metric conversions. Check the chart for more details.

Running Docker in Alpine Linux running in QEMU on Windows (64 bits) · GitHub

Running Docker in Alpine Linux running in QEMU on Windows (64 bits) - Running Docker in Alpine Linux running in QEMU on Windows (64 bits)

Techniques d'animations au temps de la préhistoire

On peut considérer que les "Magdaléniens", il y a entre 17000 à 12 000 ans avant maintenant, ont inventé le Thaumatrope... Cet article est mis à jour suite à la demande de la direction du Musée d'art et d'archéologie du Périgord (MAAP), où l'une de ces rondelles (voir l'animation) est exposée...

[Guide][Noobs Familiar]How To Build Android Kernel With Features!

[Guide][Noobs Familiar]How To Build Android Kernel With Features! Android

En faire plus avec la Console Javascript - Il n'y a pas que le console.log() !

Si vous êtes développeur, vous connaissez l'importance de débugger votre code. En JavaScript, vous connaissez tous le console.log() classique mais il faut

Prise en main de la chambre noire avec darktable 2.6.2 | darktable FR

RawFiner présente les modules qu’il considère comme indispensable et comment s’y retrouver dans la profusion des modules de darktable : Bonne découverte.

Je n'ai pas besoin de savoir comment marche un moteur pour conduire une voiture | darktable FR

Je suis allé au Libre Graphics Meeting, début juin, à Saarbruecken, pour rencontrer les développeurs de darktable, en particulier Johannes Hanika, son fondateur, et Tobias Ellinghaus, son deuxième …

Change Pihole listening port from 53 to 7502 - General - Pi-hole Userspace

Is there a way to change pihole from listing to dns port 53? I want to use my custom port 7502 instead. I tried to use IPTABLES, but it did not work. iptables -t nat -A PREROUTING -p tcp --dport 7502 -j REDIRECT --to-port 53 iptables -t nat -A PREROUTING -p udp --dport 7502 -j REDIRECT --to-port 53

GitHub - mderasse/rdod: Remote Desktop On Docker

Launch rDoD

1) Set Up your rDoD

rDod can be launch as it but you might want to customize. To do so, a few environment variables are available such as :

  • RESOLUTION: Screen resolution of the desktop initialized by VNC Server (Default: 1920*1080)
  • USE_SSL: Enable/Disable SSL Encryption between VNC Client <-> Server. If set to true, Certificate will be auto-generated at launch (Default: false)
  • VNC_RW_PASSWORD: Password for log in as a Read-Write user. If not set, the password will be auto-generated at launch (Optional)
  • VNC_RO_PASSWORD: Password for log in as a Read-Only user. If not set, the password will be auto-generated at launch (Optional)

If you are using docker-compose you can also edit the docker-compose file to customize rDod

2) Start rDoD

rDod cab be launch by 2 different ways :

a) Docker-Compose

Docker-Compose is the easiest way to launch rDoD. By using it the Home of the rDod user will be persistent.

You can use Docker-Compose to download and launch rDoD by using the following command:

docker-compose up

It's also possible to launch rDoD in "detach" mode by adding the -d parameter:

docker-compose up -d

b) Docker CLI

You can launch rDoD by using the classical Docker CLI. That way permit a better customization but will require to write a longer command line.

docker run -p 5901:5901 -p 5911:5911 mderasse/rdod:latest

Of course you can replace latest by another image tag.

You might also want to have a persistent Home. You can do this by using the parameter -v like :

docker run -p 5901:5901 -p 5911:5911 -v $(pwd)/home:/home/user mderasse/rdod:latest

You might also want to use those parameter :

  • -d : launch the image in "detach" mode
  • -e : set a environment variable. (-e USE_SSL='true')

3) Access to rDoD

rDoD currently provide 2 different ways of access.

VNC

In order to acces to rDoD by using VNC you will have to install the TigerVNC viewer.
You can find the different binary depending of your OS on that link: TigerVNC Viewer

After the installation done you will have to launch the client and connect to :
YOUR_IP:5901

noVNC

noVNC is a HTML5 Client. You can access it directly by using your favorite Web Browser
http://YOUR_IP:5911

Don't forget to change HTTP to HTTPS is USE_SSL is enabled.

Create you own Customized Version

rDoD is made in a way that it's really easy to extend it.
Do to so you will have to create a Dockerfile like the following one:

FROM mderasse/rdod:latest

LABEL maintainer="Matthieu DERASSE <github@derasse.fr>"

# Back to Root
USER 0

# Configure Custom System
COPY ....
RUN ....

# Back to User
USER 1000

Please, take a look at the customs directory, that can be a good source of inspiration. Feel free to share your version by creating a pull Request!

Known Issues

1) noVNC does not handle well all the keyboard key

SEVEN BANK English Site | Seven Bank

It is a page of investor information (IR) on Seven Bank. Various material of closing of accounts information, financial data, the shareholders' meeting, the dividend policy, and stock prices, etc. and information are published.

hosts/readme.md at master · StevenBlack/hosts · GitHub

Extending and consolidating hosts files from several well-curated sources like adaway.org, mvps.org, malwaredomainlist.com, someonewhocares.org, and potentially others. You can optionally invoke e...

En Seine-Saint-Denis, les services publics à la merci de la fracture numérique - Bondy Blog

** Qu'on ne me dise pas que la génération Y et Z maîtrise le numérique. Cela fait des années que je prétends le contraire en disant que les jeunes ne sont que des simples consommateurs et qu'ils baignent dans l'illectronisme face à un PC.
En voici une preuve supplémentaire avec cette article (descendez un peu, ça parle des "digital natives" - dit sur un ton ironique bien sûr...)

via https://mamot.fr/@kinux/102232302530526844

anbox/anbox: Anbox is a container-based approach to boot a full Android system on a regular GNU/Linux system

Anbox is a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu. In other words: Anbox will let you run Android on your Linux system without the slowness of virtualization.