JupyterLab, how to run the Notebook Interface

This is a quick entry to show how to run the Jupyter Notebook tool, please note that I have used these versions in a Windows environment:

  • Python 3.10.4
  • pip 23.2.1

Accordding to Jupyter documentation:

«Jupyter Notebook is a simplified notebook authoring application, and is a part of Project Jupyter, a large umbrella project centered around the goal of providing tools (and standards) for interactive computing with computational notebooks.»

Let’s get started.

Seguir leyendo

Mechanical Keyboard Huoji CQ 63, user manual

I’m going to leave this entry as backup for the user manual of my keyboard.

Characteristic

  1. Support system: vs,rinXPI Win7/ Win81 Win10/Android/Apple all operating systems.
  2. Support the Apple system opening process, press ALT to enter the system selection interface.
  3. Bluetooth mode supports any 6 keys without conflict, USB mode supports all keyboards without conflict, and supports booting into BIOS.

FN combination key function

FN +KeysFunctionDescription
1=Fl
2F2
3F3
4F4
5F5
6F6
7F7
8F8
9F9
oF10
Ell
=+F12
ESC‘-
PPRINT
[{HOME
}]DELETE
LEFTspeed +five levels-default third level
RIGHTspeed –five levels-default third level
UPbrightness +five levels-the brightest by default
DOWNbrightness –five levels-the brightest by default
?/Floating with the flow, rippling, running away from the dust, stepping on the snow without a trace, grid, breathing, constant light, horse racing.
/ISwitch to custom mode
FN +CTRL_LCTRL_L CAP and CTRL_L interchange
SPACEpause modeLighting effect pause
ENTERcolor switch
Win LWindows locklock Win L . APP
ACustom recordingLong press 3S to start recording, Mashes; press A again, recording is complete
SCustom recording
QBluetooth device
connection, and device switching
Long press 3S to connection, short press to switch devices
WBluetooth device connection, device switchingLong press 3S to connection, short press to switch devices
EBluetooth device connection, device switchingLong press 3S to connection, short press to switch devices
RWorking mode switchSwitch to USB mode, Bluetooth mode
TBluetooth single carrier test modeLow frequency
YBluetooth single carrier test modeMedium frequency
UBluetooth single carrier test modeHigh frequency
ResetAt the same time ESC and BACKSPACE and CTRL_L+ and direction right 3S to open the reset

Increase FN+ M=Multimedia FN+<=Volume decrease FN+>=Volume increase

BLE Bluetooth mode

The keyboard supports a total of 3 host devices for connection, and the host device needs to support Bluetooth 4.0 or higher protocol, Switch to use by “device button FN+x” (x=CAW1E), the device names are HUOJI.

Charging instructions.

When the USB cable is plugged in, SPACE lights up in blue to remind the user that the battery is charging. (The bottom switch can be opened or closed)

References

GNOME, creating Dynamic Wallpapers

This is a quick entry, there are two kind of Dynamic wallpapers for gnome:

  • Dynamic wallpaper changed by choosen theme (light/dark)
  • Dynamic wallpaper changed by defined time transition

It can easily identify each one, the first have a preview with the both backgrouns (light and dark), the second have a clock icon at the bottom left corner:

They can be created using the next tools, installed from flathub.

Dynamic Wallpaper

https://flathub.org/apps/me.dusansimic.DynamicWallpaper

Dynamic Wallpaper Editor

https://flathub.org/apps/com.github.maoschanz.DynamicWallpaperEditor

Or if you prefer, you could create and edit the files manually from the next locations:

# Only for the actual user

## path to user xml definition of the background
~/.local/share/gnome-background-properties

## path to user backgrounds directory with xml definition for transitions
~/.local/share/backgrounds

# For all users

## path to system xml definition of the background
/usr/share/gnome-background-properties/

## path to system backgrounds directory with xml definition for transitions
/usr/share/backgrounds/Dynamic_Wallpapers/

Thats all, enjoy =D!

Onedrive client for Linux (an alternative)

One of the applications that I’ve used the most in the recent years is the Onedrive to sync my files to the cloud, and recently I found an excellent alternative for linux named onedriver.

This is an open source software that allows the access to your files directly from Nautilus as local file, according to the project:

«This is not a sync client. Instead of syncing files, onedriver performs an on-demand download of files when your computer attempts to use them. onedriver allows you to use files on OneDrive as if they were files on your local computer.«

This are the main features:

  • Files are only downloaded when you use them
  • Bidirectional sync.
  • Can be used offline
  • Fast
  • Has a user interface
  • Multi account support

And that is exactly what I need.

Seguir leyendo

QElectrotech Electric Diagram Editor

Well  this is a short entry for the blog. To create electric diagrams I’ve downloaded QElectrotech, is a free open source tool where you can make a multiple kind of electric diagrams, schemas, models, tables and other stuffs.

It’s a very complete tool and I surprise the many of symbols that it have. There are many options that I don’t understand yet but this is a excellent for my homework of electrical installations.

Here is my first diagram (unifilar diagram):

Screen Shot 2019-10-04 at 12.17.13 AM

I’m going to try to search another tools to compare between them.

Cheers!

Development, Impact & you

2018-06-13 18_42_55-Development Impact and You

Navegando me encontré con este excelente material con la recopilación de herramientas para las personas que se dedican a las actividades de innovación y el desarrollo.

Esta recopilación cuenta con una guía rápida de implementación de herramientas probadas a nivel mundial que te permiten obtener resultados.

EL material se divide en 4 categorías, donde cada uno muestra en una guía rápida lo que tienes que saber sobre la herramienta para utilizarla:

  • Explorar
  • Desarrollar un plan claro
  • Aclarar prioridades
  • Recolectar apreciaciones de otros
  • Conocer a mis colaboradores
  • Generar nuevas ideas
  • Probar y Mejorar
  • Sostener e implementar

Me parece que es un gran trabajo y es auto descriptivo, aquí una muestra.

2018-06-13 18_44_27-DIY-Toolkit-Full-Download-A4-Size.pdf

Todo el material es gratuito pero si gustas apoyar puedes comprar la versión impresa, qué considero es un excelente trabajo.

http://diytoolkit.org/tools/

Saludos

Source Tree resolve conflicts with an external tool

2018-05-21 12_55_29-Sourcetree-blue - Internet Explorer

Source Tree supports multiple external tools to compare differences and resolve conflicts between files. By default you can choose any of this:

Source tree tools

But In this entry I’m going to show how to use it with Meld. 

Meld is a visual diff and merge tool targeted at developers. Meld helps you compare files, directories, and version controlled projects.

In linux systems it’s very useful and it’s my preffered tool (only when I can’t use diff and merge tools from my IDE).

How to configure

For Windows

Go to main menu and select Tools > Options > Diff tab, into selection option External Diff  pick Custom and into field Diff Command set the path to your meld binary (on windows is Meld.exe),  into field Arguments set this:

\"$LOCAL\" \"$REMOTE\"

Now for Merge Tool, select the same binary (Meld.exe) and set this into filed Arguments:

--auto-merge \"$LOCAL\" \"$BASE\" \"$REMOTE\" --output=\"$MERGED\"

Now, if you choose any file in your project you can check the diff selecting External Diff or with shorcut CTRL+D over your file, and meld it’s executed:

extdifmeld

And it’s the same for files in conflict, select your file with the context menu Resolve conflicts > Launch External Merge Tool, now you can view side to side the differences between versions.

extmergemeld

For Mac OSX

Meld is available for OSX here, download and install it.

Select Sourcetree menu > Preferences > Diff tab, on Diff command and Merge command set this value:

open -W -a Meld

For Diff command set  this args:

 --args  $LOCAL $REMOTE

For  Merge command set  this:

--args --auto-merge $LOCAL $BASE $REMOTE --output=$MERGED

Note:If you want to disable auto backup files (with .orig extension) from git execute this command:

 git config --global mergetool.keepBackup false

And thats all, cheers

References

 

Connect to SMB1 from Windows 10

I had tried to connect from my windows 10 to shared folder over old Windows Server, but I received this message:

2018-05-07 11_52_03-_msg_

This explains the connection is using a protocol SMB1, in Win 10 it’s disbaled because is very old and insecure, the easy way to resolve it is enable it on windows features (into Panel Control, you need to reboot your system).

But I don’t wanna do that, I want to protect my system as far as posible, then googling on internet I found muCommander.

This is a ligth file manager (developed in java) with good support to connect with protocols like FTP, HDFS, HTTP, NFS, S3, SFTP, SMB and VSPHERE.

And now I can connect to older servers without expoes my system to some vulnerabilities.

http://www.mucommander.com/

2018-05-07 11_44_01-Acerca de muCommander