This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #define N 10 | |
| int switches[N]; | |
| void flipSwitches(int p) { | |
| int j; | |
| int flipped = 0; | |
| for (j = 1; j <= N; j++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/apache2/sites-available/default | |
| <VirtualHost *:80> | |
| ServerAdmin webmaster@localhost | |
| ServerName default | |
| DocumentRoot /var/www | |
| <Directory /> | |
| Options FollowSymLinks | |
| AllowOverride None |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import hypermedia.video.*; | |
| import java.awt.Rectangle; | |
| int MAXFACES = 500; | |
| int DX, DY, DW, DH; | |
| int TX, TY, TW, TH; | |
| int numberOfFacesCaptured = 0; | |
| int faceLengthFlag = 0; | |
| int cueFlag = 0; | |
| int sleepCount = 5000; |
NewerOlder