Fablab Ressources

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.

This shape can be styled for each new design, based on each’s preference.

Following curve along the offset shape.

The number of rows, columns, the size of the base panel is also parametric so it can be adapted to any specific place or existing wood material.

Fablab Ressources

Generative Opensource Design for Fablabs

I just designed a system for fablab storage of consumables.

I started designing it on paper

Using a very simple slit system of intricated panels i started creating the frame.

Orientation of slits matters a lot in this case but also order of assembly.

After an afternoon of work i finally designed on grasshopper a generative definition to create lasercutable plans for assembly

Assembling the pans in the order so to get a steady mesh.

And inside the drawer.

Download Opensource Definition: boxGen.gh

designed by Daniel Assayag

forGeeks

Airtable API – Testing while installing / Ayda

Using a platform with Ruby 2.5

sudo apt-get install nodejs

sudo apt-get install npm

If you have an error when trying to git clone (gnutls_handshake() failed: Public key signature verification has failed.) you may do:

sudo apt-get remove –purge libgnutls-deb0-28

sudo npm install airtable

+ airtable@0.5.9 yeah

export $AIRTABLE_BASE_ID=yourid

export AIRTABLE_API_KEY=yourkey

forGeeks

Install Full Web platform on VPS + SSL (debian jessie 8) (03-2019) – Documentation while installing / Ayda

Firewall settings for VNC or other service:

sudo iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 80 -j ACCEPT

First, you will try to do it on Jessie 8 – But it wont work, and you will try :

to install the ruby ppa.

sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update

if you did it then you must delete the created file in /etc/apt/sources.list.d

If you were not able to install the cmd apt-add-repository so you will try:

sudo apt-get install software-properties-common

Anyway, Ruby ver is limited to 2.1 on jessie. So you will want to upgrade to latest debian distrib (buster, 2019)

you must edit sources.list and after that update/upgrade/dist-upgrade

deb http://httpredir.debian.org/debian buster main 
deb http://httpredir.debian.org/debian buster-updates main
deb http://security.debian.org buster/updates main

now install ruby-full package so you are no longer limited to 2.1

sudo apt-get install ruby-full

ayda@vps663660:~$ ruby -v

ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux-gnu]

yeaah!=)

Now you want install the whole team : Apache, Mysql, Php..

You can check a nice method but the packets are deprecated : install all packages missing : https://www.memoinfo.fr/tutoriels-linux/installer-apache-php-mysql-ruby-passenger/

Here are some updated edits from the link above.

/etc/apache2/mods-available/passenger.load

LoadModule passenger_module /var/lib/gems/2.5.0/gems/passenger-6.0.2/buildout/apache2/mod_passenger.so

/etc/apache2/mods-available/passenger.conf

PassengerRoot /var/lib/gems/2.5.0/gems/passenger-6.0.2

PassengerDefaultRuby /usr/bin/ruby2.5

PassengerDefaultUser www-data

 sudo aptitude install  php7.3-mysql libapache2-mod-php7.3  php7.3

Now Create a SSL certificate for you wwwebsite :

sudo apt-get install certbot python-certbot-apache -t buster

setup apache conf

<VirtualHost *:80>       
ServerAdmin admin@yoursitebitch.com
ServerName yoursitebitch.com
ServerAlias www.yoursitebitch.com
DocumentRoot /var/www/html
</VirtualHost>

sudo certbot –apache

Select option 2

Site is secure :^) dont forget to renew certificate

ressources: https://certbot.eff.org/lets-encrypt/debianstretch-apache

Projet OrgaTec

Portiron vif d’etampes

Terreau univ

Dessus bruyere

Projet OrgaTec

Radis 5

Terreau univ

Dessus bruyere
5 plants faiblards

Projet OrgaTec

Radis saxa 4

Base bruyere

Jusqua moitie perlite
Haut terreau
Tapis compost
Deux plantes entrelacées

Projet OrgaTec

Radis saxa 3

Terreau universel

Couche superficielle semis perlite
Tapis compost

Projet OrgaTec

Potiron Giraumon Turban – Partage avec droit de modification

Benjamin RIBOT vous donne accès au document suivant avec droit de modification :
Cet e-mail permet d’accéder à cet élément sans être obligé de se connecter. Ne le transférez qu’à des personnes en qui vous avez confiance.
Google Docs vous permet de créer et de modifier des documents en ligne.
Google LLC, 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA
Vous avez reçu cet e-mail parce que quelqu'un a partagé un document avec vous à partir de Google Docs.
Logo Google Docs

Projet OrgaTec

potiron rouge Vif d’étampes – Partage avec droit de modification

Benjamin RIBOT vous donne accès au document suivant avec droit de modification :
Sender's profile photoVoici mes fiches graines
Cet e-mail permet d’accéder à cet élément sans être obligé de se connecter. Ne le transférez qu’à des personnes en qui vous avez confiance.
Google Docs vous permet de créer et de modifier des documents en ligne.
Google LLC, 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA
Vous avez reçu cet e-mail parce que quelqu'un a partagé un document avec vous à partir de Google Docs.
Logo Google Docs

Projet OrgaTec

First Version of code

/*
Orgatec Light retribution program
by @dan.ass

Read the value of a LDR and turn LED on during a cycle of 12seconds if the quantity of light
has reached a certain threshold.

This code reuse some existing code to hard reset millis function.
This code has variables names in french.

It is developped during a program made in collaboration between CRI
and Fablabs Solidaires, supervised by teacher Daniel Assayag.

http://makerlab.cri-paris.org/orgatec/
*/
extern volatile unsigned long timer0_millis;
unsigned long new_value = 0;

int LumiereTotale = 0;
int Heure = 0;
int Journee = 12;
int Cycle = 7;
int Lampe = 12;
void setup() {
Serial.begin(9600);
pinMode(Lampe, OUTPUT);
}

void loop() {

int Temps = millis() / 1000;

int CapteurLumiere = map(analogRead(A0), 700, 1023, 0, 100);
LumiereTotale += CapteurLumiere;
digitalWrite(12, LOW);

Serial.print(« Lumiere actuelle: « );
Serial.print(CapteurLumiere);
Serial.println(«  »);

Serial.print(« Lumiere totale: « );
Serial.print(LumiereTotale);
Serial.println(«  »);

Serial.print(« Temps total: »);
Serial.print(Temps);

if (Temps >= Cycle){
if (LumiereTotale > 1000) {
digitalWrite(Lampe, LOW);
}
else {
digitalWrite(Lampe, HIGH);
}
}

if (Temps >= 12) {
setMillis(0);
LumiereTotale = 0;
Serial.println(«  »);
Serial.println(« Fin de Journée »);
Serial.println(«  »);
}

Serial.println(«  »);
Serial.print(« Heure : »);
Serial.print(Heure);

Serial.println(«  »);
delay(1000);

}

void setMillis(unsigned long new_millis){
uint8_t oldSREG = SREG;
cli();
timer0_millis = new_millis;
SREG = oldSREG;
}

Par Daniel Assayag, il y a
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.