Non classé

Generative Opensource Furniture

We had an issue in our lab, as we we have our largest wall with glass windows.

I came up with the idea of installing some wood panels against those windows, and maintain them with a hidden wood block from behind.

Here is the design process in accelerate:

Generated support frame used as constraining shape for cutting.

Using router and cutting and moving clamps to access middle area.

Following curve along the offset shape.

Non classé

Installer un wordpress en ligne de commande sur une machine linux

$ sudo apt-get install apache2 apache2-utils
$ sudo apt-get install mysql-client mysql-server
$ sudo apt-get install php7.0 php7.0-mysql libapache2-mod-php7.0 php7.0-cli php7.0-cgi php7.0-gd  
$ cd
$ wget -c http://wordpress.org/latest.tar.gz
$ tar -xzvf latest.tar.gz
$ sudo rsync -av wordpress/* /var/www/html/
$ sudo chown -R www-data:www-data /var/www/html/
$ sudo chmod -R 755 /var/www/html/

Définissez votre votre_nom_dutilisateur et votre_password pour modifier les commandes suivantes.

$ mysql -u root -p 
CREATE USER 'votre_nom_dutilisateur'@'localhost' IDENTIFIED BY 'votre_password';
CREATE DATABASE wp_site;
GRANT ALL PRIVILEGES ON wp_site.* TO 'votre_nom_dutilisateur'@'localhost' IDENTIFIED BY 'votre_password';
GRANT ALL PRIVILEGES ON *.* TO 'votre_nom_dutilisateur'@'localhost'
FLUSH PRIVILEGES;
EXIT;
$ cd /var/www/html/
$ sudo mv wp-config-sample.php wp-config.php
$ sudo nano wp-config.php

Editez les lignes suivantes avec celles correspondants au nom de la base de données, de votre nom d’utilisateur, et de votre password.

define('DB_NAME', 'wp_site');
define('DB_USER', 'votre_nom_dutilisateur');
define('DB_PASSWORD', 'votre_password'); 
define('DB_HOST', 'localhost'); 

Une fois terminé faites (option + x sous mac) (ctrl + x) et yes.

$ sudo mv index.html index.apache
$ sudo systemctl restart apache2.service 
$ sudo systemctl restart mysql.service

Puis connectez vous sur votre http://addressip/wp-admin/

 

Non classé

White Screen on PiTFT screen with Raspberry 3

Raspberry Pi Model : 3

PiTFt Screen : 480×320 Resistive Touch

Why this page ?

Adafruit link may not work and give errors due to Raspberry Pi kernel update.

Using this scripts gave me good results :

# wget https://raw.githubusercontent.com/adafruit/Adafruit-PiTFT-Helper/master/adafruit-pitft-helper2.sh
# chmod +x adafruit-pitft-helper2.sh
# sudo ./adafruit-pitft-helper2.sh

My screen 480×320 doesn’t appear in the list so i choose a similar one (key 4)

When asked if you want to boot PiTFt with console say NO so you boot in graphical mode.

White Screen will go away and you’ll be able to reach the console.