Blog do Manfred Daniel
sábado, 28 de abril de 2018
Four great frameworks for Node.js
Express : http://expressjs.com/
Meteor : https://www.meteor.com/
Sails : https://sailsjs.com/
Geddy : http://geddyjs.org/
sexta-feira, 27 de abril de 2018
TODAY COULD BE THE DAY OF MY DEATH
I need to vent somewhat
I'm tired of myself
Tired of being overbearing
Tired of being boring
Tired of being so passive
Tired of hurting myself
Today I could cut my wrists
Again
Hope this is the last attempt
Alcohol and medicines
I'm tired of being so alone
Show my face to the world
A face that is not the current one
I have a decision to make
quarta-feira, 18 de setembro de 2013
Equação da Reta em Linguagem C
/* Equação da reta: ax + b = y
* O coeficiente a define a inclinação da reta, que pode ser calculada por a = delta_y / delta_x
* Com o coeficiente a, podemos calcular o b pela própria equação da reta, sendo b = y - ax
*/
double equacao_reta(double x1, double y1, double x2, double y2, double x)
{
double dx = x2 - x1;
double dy = y2 - y1;
double a = dy / dx;
double b = y2 - a*x2;
return a*x + b;
}
Assinar:
Postagens (Atom)