Search
public copyright
inscriptions
145 results found for tag:"programming".
1903150300473
venv (virtual environments) in python
03/15/2019
Ramón Invarato Menéndez
You can download the project of this blog post clicking here. Virtual environments in python (venv) are a way that we can isolate different projects from each other. Sometimes When we work with python, each time we don’t have a dependency, what we do is: sudo pip install DEPENDENCY; for example sudo pip install sympy … Continúa leyendo venv (virtual environments) in python La entrada venv (virtual environments) in python se publicó primero en Jarroba.
Creative Commons Attribution Non-Commercial Share Alike 3.0
Tired of the freaking “UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\motherf*****’ in position 69: ordinal not in range(128)“ error message? Check this awesome Jupyter Notebook I created to clarify things! :)
All rights reserved
1711244920571
Softmax for dummies
11/24/2017
Here you will find a Jupyter Notebook where I explain the rationale behind the Softmax function and how it used in AI’s neural networks.
All rights reserved
1705272444536
Two blogs in the same page
05/27/2017
Motivation: I want to show 2 blogs in my WordPress site. A quick search on the web reveals that apparently you must install each blog separately, but I don’t want to do so. In fact I don’t need two different blogs, I just want to split posts in two different pages (by category). Solution: the […]
All rights reserved
1705272443966
CoRD – Remote Desktop Protocol
05/27/2017
Motivation: I need to connect to from my Mac to a remote desktop which is running a Windows server. I want a tool to be able to do this connection by using RDP (Remote Desktop Protocol). Solution: I found this software, CoRD, which works better than the Microsoft Remote Desktop Connection for Mac (haven’t tried […]
All rights reserved
1705272443935
wp-cv plugin creation
05/27/2017
Motivation: I hate standard text-based CVs. They are so boring and I want something that gives you a quick look into the main things somebody has done. And I also want it to be strongly ‘time-based’. Plus: I want a very very simple design and I need to have a functional version very very soon. […]
All rights reserved
Motivation: protect some directories from being accessed without authorisation. Solution: using the .httaccess file. You just have to configure one and place it into the directory you want to protect. The code inside the file would look something like this: 1 2 3 4 AuthType Basic AuthName "guest" AuthUserFile "/home/user/.htpasswds/public_html/directory2storepass/passwd" require valid-user AuthType Basic AuthName […]
All rights reserved
1705272443911
VIM tab configuration
05/27/2017
Motivation: I like to edit files using VIM. In my server (Bluehost) the default configuration makes my ‘tab’ to produce really width spaces and I want it to be the size of 4 spaces. Solution: I edited a file .vimrc and I placed in my home directory in my server. The content of this file […]
All rights reserved
Motivation: in the single post page, the arrow that points to the next post appears one line below the ‘Next’ text in Safari and Chrome browsers. Solution: I don’t know if this is a ‘good’ way to solve it or if I should report it somewhere, but as a quick fix I’ve edited my child […]
All rights reserved
1705272443102
WordPress in Spanish
05/27/2017
Motivation: it’s pretty simple. I just wanted to create a WordPress site in Spanish. Solution: download the file from the source specified below. Extract the file es_ES.mo and place it in /wp-content/languages/. Finally, change the file wp-config.php in the root directory to point to Spanish language: define ('WPLANG', 'es_ES'); Source: http://es.wordpress.org
All rights reserved
1705272443096
remove_filter function in WordPress
05/27/2017
Motivation: In a specific website I am using the simplex theme. If one tries to place a static page as home instead of the blog, simplex keeps showing the Home page. Solution: as you can see, people have already reported this. But in the current version of the theme the line is introduced in functions.php […]
All rights reserved
1705272443065
SSH Public Key Based Authentication
05/27/2017
Motivation: I want to acces to my Bluehost server from my local computer, make some file copies ‘scp’ but from a script executed by Crontab, so I don’t want to introduce my password manually. Solution: Generate the key from your local machine (I don’t think it’s needed but, store the keys in ~/.ssh 1 ssh-keygen […]
All rights reserved
1705272443041
Permalinks on WordPress (amazon EC2)
05/27/2017
Motivation: in my particular case I moved a WordPress site from Bluehost to amazon’s EC2. Permalinks were not working. Solution: I had to modify the override option from my httpd service. Go to /etc/httpd/conf and edit httpd.conf 1 2 3 4 <Directory />     Options FollowSymLinks     AllowOverride All </Directory> <Directory /> Options […]
All rights reserved
1705272442945
Permalinks on WordPress (Ubuntu)
05/27/2017
1) Enable Mod Rewrite : sudo a2enmod rewrite 2) Change AllowOverride None to AllowOverride All : sudo nano /etc/apache2/sites-enabled/000-default 3) Restart Apache : sudo /etc/init.d/apache2 restart
All rights reserved
1705272442938
Permalinks WordPress
05/27/2017
So far, I found myself trying to solve the same problem on different machines. – EC2 amazon Ubuntu instance. In this one I had to modify http.conf. – Ubuntu server 12. Here I installed apache2 so the approach was a bit different.
All rights reserved
[this post will be properly edited] I was creating the new database and WordPress would tell me to install the site. Solution: dropped the database and created it from ‘mysql’ prompt. user$ mysql -u root -p’yourpassword’ -h localhost mysql> create database your_database_name; mysql> exit user$ mysql -u root -p’yourpassword’ -h localhost your_database_name
All rights reserved
1705272440699
Setting up FTP server on Ubuntu
05/27/2017
[TODO: nicely edit this post] source: http://www.noob2geek.com/linux/setup-vsftpd-debian-ubuntu/ the only thing you need to add to this tutorial is: ‘sudo chmod a-w /var/www/your_ftp_directory’ ‘sudo mkdir /var/www/your_ftp_directory/new_directory’
All rights reserved
1601026158295
Conversaciones programadas
01/02/2016
Un número interesante de compañías cometieron el último día del año el ya clásico error de programar sus tweets y actualizaciones en medios sociales poniendo las doce de la mañana en lugar de las doce de la noche, lo que llevó, como otros años, a múltiples situaciones absurdas de felicitaciones anticipadas y fotografías con fondo …
Creative Commons Attribution 3.0
Digital technology is now so ubiquitous that many think a rounded education requires a grounding in this subject just as much as in biology, chemistry or physics.” (La tecnología digital es ya tan omnipresente que muchos piensan que una adecuada formación requiere una buena base en esta materia, al mismo nivel que en la biología, la química o la física.) […]
Creative Commons Attribution 3.0
First | Previous | Page 6 of 8 | Next | Last
write to us if you want to leave us a message
© 2026 Safe Creative