Skip to content

Instantly share code, notes, and snippets.

View arthurafarias's full-sized avatar

Arthur de Araújo Farias arthurafarias

  • Campina Grande, Brasil
View GitHub Profile
@arthurafarias
arthurafarias / ufcg-ee-lca-exp03-2.m
Created April 7, 2016 19:27 — forked from anonymous/ufcg-ee-lca-exp03-2.m
Controle Analógico EXP03-2
Jm=1.5;
Ra=60e-3;
La=1.8e-3;
Ke=0.8;
Fm=0.01;
oe=1;
Ka=(Ke*oe)/(Ke^2*oe^2+Ra*Fm);
Km=(Ra)/(Ke^2*oe^2+Ra*Fm);
Ta=La/Ra;
Tm=Jm/Fm;
@arthurafarias
arthurafarias / _service.md
Last active April 24, 2016 04:13 — forked from naholyr/_service.md
Sample /etc/init.d script

Sample service script for debianoids

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)