Entradas

Mostrando las entradas de 2018

HDMI audio elementary os

1 sudo apt-get install pavucontrol 2 Open pulseAudio Volume Control 3 Go to configuration and select Digital Stereo (HDMI)

Donativos

Imagen
Donaciones

Lanzador Matlab

Imagen
[Desktop Entry] Version=1.0 Type=Application Name=Matlab2 GenericName=Matlab2 Icon=application-default-icon TryExec=/home/oscar/openmatlab.sh Exec=/home/oscar/openmatlab.sh Path=/home/oscar NoDisplay=false Categories=Utility; StartupNotify=false Terminal=true openmatlab.sh   #!/bin/bash cd /home/oscar/Documents/MATLAB/bin/ ./matlab Terminal=false Type=Application Crearlo con menu editor sudo apt-get update && sudo apt-get install menulibre

Installar tema mac en ubuntu

Installar tema mac en ubuntu: Link Dock https://www.omgubuntu.co.uk/2017/03/make-ubuntu-look-like-mac-5-steps

Instalar Maple linux

Imagen
Ejecutamos el instalador donde clic y seguimos los pasos del asistente de instalación. Ya instalado Maple procedemos a ejecutar el crack para activarlo. Primero necesitamos instalar el paquete lsb. sudo aptitude install lsb Después entramos a la carpeta del crack Ejecutamos el archivo " maple_2015_lic.sh" sh maple_2015_lic.sh Ahora ya podemos abrir Maple.

Copiar archivos protegidos en Ubuntu desde la Terminal

En modo gráfico Para ejecutar “Nautilus” como super usuario en modo gráfico, solo abre una terminal y escribe lo siguiente: sudo nautilus

latex2rtf

Instalar latex2rtf Para instalar latex2rtf en Ubuntu 14.04 (Trusty Tahr) ejecutar los siguientes comandos: sudo apt-get update sudo apt-get install latex2rtf     Example latex2rtf -o out.rtf simple.tex latex2rtf -f2 -o out2.rtf simple.tex latex2rtf -M2 -f0 -o out3.rtf simple.tex 

LATEX to HTML to word or PDF to Word

      latex2html texfile.tex -split 0 -no_navigation -info "" -address "" -html_version 4.0,unicode    sudo apt install latex2html      Otro conversor  sudo apt install pandoc   pandoc -s index.html -o example30.docx   PDF to Word http://pdf2doc.com/es/      LaTeX math to docx: pandoc -s math.tex -o example30.docx  

odt to latex

writer2latex works with Ubuntu 16.04! Installation: sudo apt-get install writer2latex writer2latex-manual How to use it: go to the target file directory and: w2l file.odt

Latex

Install Latex https://milq.github.io/install-latex-ubuntu-debian/ Convert Latex to odt or doc, or viceversa https://metakermit.com/2011/convert-latex-documents-to-odt-or-doc-and-vice-versa/ Convert LaTeX documents to .odt or .doc (and vice-versa) An easy way to convert LaTeX documents to .odt or .doc, as recommended by ohsss at Ubuntu Forums here , is via a command-line program tex4ht. You install it ( sudo apt-get install tex4ht ) and then issue these commands in your terminal: $ latex document.tex $ htlatex document.tex where document.tex is your LaTeX document. You should now get a document.html file in the same folder. You can open the html file from LibreOffice Writer and save it as .odt or .doc or copy the formatted text into some other document. For the opposite direction, I previously tried the Word-to-LaTeX Microsoft Word plug-in by GrindEQ which works good and has many options, but you can only use it for a limited number of times free of

Installation of the fuzzy tool for python

https://pythonhosted.org/scikit-fuzzy/install.html For python3 pip3 install -U scikit-fuzzy

How to Calculate Your TOEFL Score

Imagen
How to Calculate Your TOEFL Score Have you taken your TOEFL test? If you have, I believe you already knew how much you get your score. But did you wonder where your score comes up from? Me, myself at first felt very confused because I've never got score with three digits before. If you have the same feeling like me, let's take a look how do we get our TOEFL Score. To find out our TOEFL score, there are at least 2 stages. First, we need to convert the correct answers that we have through TOEFL scoring table as follows: For example, if we have 35 correct answers in section 1, 30 correct answers in section 2 and 48 correct answers in section 3 then we can see how do we convert the score as follows: Section 1 Section 2 Section 3 The Correct Answers 35 30 48 Converted Score 54 54 65 The next stage: 1. sum up all of the converted scores :  54 + 54 + 65 = 173 2. divide into 3 : 173/3 = 57.7 3. times to 10 : 57.7 x 10 = 577

Creando apps en Raspbarrypi

[Desktop Entry] Version=1.0 Encoding=UTF-8 Type=Application Categories=Network; Name=BP Diagnosis Comment=Remote control solution. Exec=/home/pi/appBP/appBP.sh Icon=BP Location /usr/share/applications

Install pandas

sudo apt-get install python3-pandas With this also numpy is installed

Intall keras

Installar keras http://deeplearning.net/software_links/ pip install keras Installar Backend theano https://conda.io/miniconda.html conda install theano pygpu nano ~/.bashrc #Add this export MKL_THREADING_LAYER=GNU source ~/.bashrc Modificar keras.json cd .keras nano keras.json {     "image_dim_ordering": "th",     "floatx": "float32",     "epsilon": 1e-07,     "backend": "theano",     "image_data_format": "channels_last" }

permisos linux a todos los archivos de la ruta

chmod -R 777 .

Encontrar dispositivo serial en ubuntu

dmesg | grep tty

Cambiar python version desde la consola

19 down vote accepted Open your .bashrc file nano ~/.bashrc . Type alias python=python3 on to a new line at the top of the file then save the file with ctrl+o and close the file with ctrl+x. Then, back at your command line type source ~/.bashrc . Now your alias should be permanent. EDIT: For update alternatives, the priority is an integer. The priority represents which program should be the first used. This article sums it all up pretty well.

Pyqt4 installation and creation of a python file from terminal linux

sudo apt-get install python-qt4 qt4-designer sudo apt install pyqt4-dev-tools pyuic4 -x -o ./example.py ./example.ui for python 3 sudo apt-get install python3-pyqt4

Install OpenCV python 3

pip3 install opencv - python

Raspberry PI 3 - [HINDI]How To Enable Serial Port (UART) PART-1 | Serial Port | UART 2017

link Command : Step-1 sudo nano /boot/config.txt enable_uart=1 sudo reboot Step-2 sudo systemctl stop serial-getty@ttyS0.service Step-3 sudo systemctl disable serial-getty@ttyS0.service sudo reboot Step-4 sudo nano /boot/cmdline.txt Remove : console=serial0,115200 Step-5 sudo nano /boot/config.txt #add dtoverlay=pi3-miniuart-bt sudo reboot

fingerprint

Imagen
https://learn.sparkfun.com/tutorials/fingerprint-scanner-gt-521fxx-hookup-guide Hardware Overview Features The GT-521F32 and GT-521F52 have a lot in common with the previous models. They have the same protocol commands and packet structure. Code that was implemented for previous models should be functionally the same. The fingerprint scanner has the ability to: Enroll a Fingerprint Identify a Fingerprint Capable of 360° Recognition However, there are a few differences in the boards. These include: Different Board Layout 4x Mounting Holes 2x JST SH Connectors Touch Interface One significant difference to keep in mind when integrating the fingerprint scanner in a project is the number of fingerprints that the device can hold. The GT-521F32 costs less but it can hold only 200 fingerprints. The GT-521F52 is slightly more expensive but it can hold 3000 fingerprints. Technical Specs GT-521F32 / GT-521F52 CPU

How to Execute a Script at Startup on the Raspberry Pi

Imagen
The Raspberry Pi computer is a great tool for creating all kinds of interesting DIY projects and computer-powered builds. Whether it be used as a media center, web server, gaming console, or simply a computer, there are countless reasons why you might need a particular program or script to automatically startup when the Raspberry Pi desktop loads. While there are as many ways to run scripts at startup as there are uses for the Raspberry Pi, executing a script when the desktop environment boots is the easiest method with the most versatility. Configure your Raspberry Pi 1 Understand the requirements and how it works.  This method requires the PIXEL desktop environment with the latest version of the Raspbian Jessie operating system. It is achieved by editing an "autostart" file that runs commands at startup in the LXDE desktop environment, which is the framework the Raspberry Pi's PIXEL desktop is built on. This method is preferred in scenarios where: your script

Install tensorflow en windows

pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.7.0-py3-none-any.whl

Tkinter tkFileDialog module

Imagen
Tkinter tkFileDialog module tkFileDialog  is a module with open and save dialog functions. Instead of implementing those in  Tkinter GUI  on your own. Related courses Tkinter GUI Application Development Projects Overview An overview of file dialogs: Function Parameters Purpose .askopenfilename Directory, Title, Extension To  open  file: Dialog that requests selection of an existing file. .asksaveasfilename Directory, Title, Extension) To  save  file: Dialog that requests creation or replacement of a file. .askdirectory None To  open directory Tkinter Open File The  askopenfilename  function to creates an file dialog object. The extensions are shown in the bottom of the form (Files of type). The code below will simply show the dialog and return the filename.  If a user presses cancel the filename is empty. On a Windows machine change the initialdir to “C:\”. Python 2.7 version: from Tkinter import * from Tkinter import * import Tkinter , Tkconstants ,