It's still from the moment I entered some notes earlier this evening.
Post your "CTRL-V"
Moderators: Fons, Crazy Bob, Phaseolus, eddydevries, Bollivierke, Ord€p, Craft, Math Murderer
- rosalbissima
- Euro-Regular

- Posts: 257
- Joined: Thu Oct 09, 2003 7:29 pm
- Location: Belgium
- Andres_age
- Euro-Expert in Training

- Posts: 396
- Joined: Wed Mar 16, 2005 10:14 pm
- Location: Palma de Mallorca - 4047 notes
Errr... mine is VEEERY long
Saving the work of my Linux university practise xD
Code: Select all
void reaper(int s) {
while(wait3(NULL, WNOHANG, NULL) > 0)
acabados++;
}
void interpretar (char*x) { //x: numero del comando a interpretar y ejecutar
int i,segundo_plano;
//Interpretamos el comando con sus parametros
argv[0]=strtok(x," ");
i=1;
while (argv[i]=strtok(NULL," ")) i++;
//Ejecutamos
if (!strcmp(argv[0],"exit")) { // Salimos del shell
exit(0);
}
if (strcmp(argv[i-1],"&")) { //Comprobamos petición segundo plano
segundo_plano=0;
} else {
segundo_plano=1;
argv[i-1]=NULL;
}
if (fork()==0) { // Ejecutamos el comando
execvp(argv[0],argv);
printf ("Error: no se pudo ejecutar '%s'",argv[0]);
exit(1);
}
totales++;
//Esperamos que el programa termine si está en primer plano
if (!segundo_plano) {
while (acabados < totales) pause();
}
}
main() {
int i,j;
acabados=0;
totales=0;
signal(SIGCHLD, reaper);
printf("\n\nmishell$ ");
while (fgets(linea,500,stdin)) {
// Separamos los comandos
comandos[0]=strtok(linea,";\n");
i=1;
while (comandos[i]=strtok(NULL,";\n")) {
i++;
}
i=0;
while (comandos[i]!=NULL) {
interpretar(comandos[i]);
i++;
}
printf("\nmishell$ ");
}
}
Saving the work of my Linux university practise xD
- Andres_age
- Euro-Expert in Training

- Posts: 396
- Joined: Wed Mar 16, 2005 10:14 pm
- Location: Palma de Mallorca - 4047 notes
No, just (ANSI) C, but with Linux functions (fork, execv, etc).
The practise is creating a shell, and this is part of it. It just execute commands, you can separate it with a ";" and put them in background with "&". I still have to implement pipes, redirect in/out, do an interpreter for shell scripting (glups) and so on. Very "funny". But better than last year practise: do a whole file system!
PD: Post your friends email! X-D
The practise is creating a shell, and this is part of it. It just execute commands, you can separate it with a ";" and put them in background with "&". I still have to implement pipes, redirect in/out, do an interpreter for shell scripting (glups) and so on. Very "funny". But better than last year practise: do a whole file system!
PD: Post your friends email! X-D
- mirandolina
- Euro-Master

- Posts: 2088
- Joined: Sat Oct 25, 2003 5:23 pm
- Location: Padua - Italy
It's called TeX. For more see my ctrl-vDakkus wrote:What is this stuff?Gauss wrote:\int\limits_{\partial E} \left(\begin{array}{c}
xy^2 \\ x^3 y \end{array}\right)
\cdot d\mathrm{A}
\qquad\mbox{and}\qquad
\int\limits_{\partial W} \left(\begin{array}{c}
xy\sin(\pi z) \\ x^3 + y^3 \\ x^2 + y^2 \end{array}\right)
\cdot d\mathrm{A}$$
Well...
http://heim.ifi.uio.no/~dag/ntug/what-is.shtml
Code: Select all
ESPAÑA
99 00 01 02 03 04 05
1C T T T T T T F
2C T T T F F T T
5C T T T F T T F
10C T T T T T T T
20C T T T T T F F
50C T T T F T F F
1 € T T T T T T F
2 € T T T T T T FI think you cannot see correctly the table...
- Shark
- Euro-Regular in Training

- Posts: 130
- Joined: Tue Jul 05, 2005 8:04 pm
- Location: Finland
- Contact:
http://www.eurobilltracker.eu/index.php ... d=11248205
I have my latest hit because I updated my "Seutukuntabingo" list
I have my latest hit because I updated my "Seutukuntabingo" list
- miguel_scp
- Euro-Regular in Training

- Posts: 114
- Joined: Mon Oct 17, 2005 5:57 pm
Mine is the list of songs Xutos & Pontapés (THE portuguese rock band) are playing in November...
1º DESEJO
1.FIM DE SEMANA
2.DESEJO
3.PEQUENO PROMENOR
4.ZONA LIMITE
5.ALTA ROTAÇÃO
6.MAE
7.ENQUANTO A NOITE CAI
8.DIZ-ME
9.MUNDO AO CONTRÁRIO
10.TEIMOSIA
11.REMAR REMAR
12. PARA TI MARIA
13.A MINHA MANEIRA
14.HOMEM DO LEME
15.CHUVA DISSOLVENTE
16.INFERNO II
17.NEGRAS COMO A NOITE
18.CIRCO DE FERAS
19.NÃO SOU O ÚNICO
20. AI SE ELE CAI
21. ESQUADRÃO DA MORTE
22. 1º DE AGOSTO
23.SEMEN
24.SUBMISSÃO
25. CASINHA
2º DESEJO
1.ESTUPIDEZ
2.NÃO SOU JESUS
3.DADOS VICIADOS
4.BARCOS GREGOS
5.FACA NO CORAÇÃO
6.FIM DO MÊS
7.JOGO EMPURRA
8.FIM DE SEMANA
9. DESEJO
10.MUNDO AO CONTRARIO
11.NÓS DOIS
12.HÁS-DE VER
13.CONTA-ME HISTÓRIAS
14.TEIMOSIA
15.N'AMERICA
16.O QUE FOI NÃO VOLTA A SER
17.GRITOS MUDOS
18.SUBMISSÃO
19.A MINHA MANEIRA
20.MARIA
21.VIDA MALVADA
22.UM MERGULHO
ENCORE
CONTENTORES
DIA S. RECEBER
AI SE ELE CAI
CASINHA
3º DESEJO
- O VENTO
- DESEJO
- BUSCA
- OUTRO PAIS
- FUTURO
- COMO EU (DEITAR A PERDER)
- TEIMOSIA
- MUNDO AO CONTRARIO
- TOCA E FOGE
- QUERO-TE
- SE ME AMAS
- QUERO MAIS
- SEMEN
- GENTE DE MERDA
- MOEDA AO AR
- NÃO SOU ÚNICO
- HOMEM DO LEME
- ESTA CIDADE
- PRISÃO EM SI
- ABRE AS PERNINHAS
- I.LOVE TO PLAY
- MORTE LENTA
- AI SE ELE CAI
- CHUVA
- CIRCO DE FERAS
- P’RA SEMPRE
- CASINHA
- BaliBennie
- Forum Moderator

- Posts: 3692
- Joined: Tue Jun 01, 2004 12:13 am
- Location: The Netherlands
- Contact:
Met een echt Hollands biljet nog wel!
Mijn broer en vriendin hebben dit meegenomen vanuit Almelo naar Hasselt.[/quote]
For a PM to Rufes I just sent.
Mijn broer en vriendin hebben dit meegenomen vanuit Almelo naar Hasselt.[/quote]
For a PM to Rufes I just sent.
Visit my homepage to see my statistics, maps and more!
Look at my 5 years statistics
Er gaat niets boven Groningen EBT
Look at my 5 years statistics
Er gaat niets boven Groningen EBT
As magpie said very correctly this is one line of LaTeX which is a convenient way to typeset any kind of mathematical formula, structurally comparable to HTML. It is my favourite way to write all my documents on the computer. The software is free and available for almost all platforms. (Wikipedia uses essentially LaTeX for its content when it comes to formulae.)Dakkus wrote:What is this stuff?Gauss wrote:\int\limits_{\partial E} \left(\begin{array}{c}
xy^2 \\ x^3 y \end{array}\right)
\cdot d\mathrm{A}
\qquad\mbox{and}\qquad
\int\limits_{\partial W} \left(\begin{array}{c}
xy\sin(\pi z) \\ x^3 + y^3 \\ x^2 + y^2 \end{array}\right)
\cdot d\mathrm{A}$$
This particular line contains the source code for two surface integrals which were supposed to be evaluated as homework. Notice how intuitive the commands are: \int for integral, \pi for π, etc.
Last edited by Gauss on Wed Oct 26, 2005 2:02 pm, edited 1 time in total.
