This file contains 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
int getFactorialOf(unsigned number) { | |
if (number == 0) { | |
return 1; | |
} | |
unsigned int factorial, i; |
This file contains 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
<!-- By Jeremy Keith (http://adactio.com/journal/4272/) --> | |
<label for=source>How did you hear about us?</label> | |
<datalist id=sources> | |
<select name=source> | |
<option>please choose...</option> | |
<option value=television>Television</option> | |
<option value=radio>Radio</option> | |
<option value=newspaper>Newspaper</option> | |
<option>Other</option> |
This file contains 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
#<system> <dir> <type> <options> <dump> <pass> | |
LABEL=boot /boot ext4 noatime,nodev,nosuid,noexec 0 2 | |
LABEL=root / ext4 noatime 0 1 | |
LABEL=var /var ext4 noatime,nodev,nosuid,noexec 0 2 | |
LABEL=home /home ext4 noatime,nodev,nosuid 0 2 |
This file contains 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
begin transaction; | |
create table regions (id integer primary key, name text unique not null); | |
insert into regions (name) values ('Tarapacá'); -- 1 | |
insert into regions (name) values ('Antofagasta'); -- 2 | |
insert into regions (name) values ('Atacama'); -- 3 | |
insert into regions (name) values ('Coquimbo'); -- 4 | |
insert into regions (name) values ('Valparaíso'); -- 5 | |
insert into regions (name) values ('Libertador General Bernardo O''Higgins'); -- 6 |