mirror of
https://github.com/skiqqy/skiqqy.github.io
synced 2025-01-02 20:42:03 +00:00
Tidy up
This commit is contained in:
parent
ac17fb4eef
commit
44f3b691d1
4
Makefile
4
Makefile
@ -4,9 +4,9 @@ CC=gcc
|
|||||||
FLAGS=-Wall -pedantic
|
FLAGS=-Wall -pedantic
|
||||||
EXE=bin/GenBlog
|
EXE=bin/GenBlog
|
||||||
|
|
||||||
all: comp blog build
|
all: build
|
||||||
|
|
||||||
demo: comp blog buildd
|
demo: buildd
|
||||||
|
|
||||||
comp: install
|
comp: install
|
||||||
$(CC) $(FLAGS) src/GenBlog.c -o $(EXE)
|
$(CC) $(FLAGS) src/GenBlog.c -o $(EXE)
|
||||||
|
@ -76,19 +76,17 @@ SBLOCK. What I consider bloat
|
|||||||
EBLOCK.
|
EBLOCK.
|
||||||
|
|
||||||
SBLOCK. Contact Details
|
SBLOCK. Contact Details
|
||||||
* Fediverse: @x@social.skiqqy.xyz
|
* Email: a/mailto:skiqqy@redxen.eu/skiqqy@redxen.eu/ (preferred)
|
||||||
\\\\
|
\\\\
|
||||||
* Twitter: @posix_patrol
|
* Fediverse: a/https://social.skiqqy.xyz/x/x@social.skiqqy.xyz/
|
||||||
\\\\
|
\\\\
|
||||||
* Instagram: @_skiqqy
|
* Twitter: a/https://twitter.com/posix_patrol/@posix_patrol/
|
||||||
\\\\
|
\\\\
|
||||||
* Email: ohmyskippy@disroot.org
|
* Instagram: a/https://www.instagram.com/_skiqqy/@_skiqqy/
|
||||||
\\\\
|
\\\\
|
||||||
* xmpp: ohmyskippy@disroot.org
|
* xmpp: ohmyskippy@disroot.org
|
||||||
\\\\
|
\\\\
|
||||||
* Discord: Skiqqy#1159
|
* Discord: Skiqqy#1159
|
||||||
EBLOCK.
|
\\\\
|
||||||
|
* IRC: skiqqy
|
||||||
SBLOCK. Other
|
|
||||||
* IRC: irc.skiqqy.xyz:6667
|
|
||||||
EBLOCK.
|
EBLOCK.
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
a{
|
a{
|
||||||
|
text-decoration: none;
|
||||||
color:#DC143C
|
color:#DC143C
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ int main() {
|
|||||||
while ((ent = readdir(dir)) != NULL) {
|
while ((ent = readdir(dir)) != NULL) {
|
||||||
if (strcmp(ent->d_name, ".") && strcmp(ent->d_name, "..")) {
|
if (strcmp(ent->d_name, ".") && strcmp(ent->d_name, "..")) {
|
||||||
sprintf(htmlName, "./blogs/");
|
sprintf(htmlName, "./blogs/");
|
||||||
sprintf(link, "");
|
link[0] = 0;
|
||||||
|
|
||||||
c = ent->d_name;
|
c = ent->d_name;
|
||||||
i = 0;
|
i = 0;
|
||||||
@ -62,7 +62,6 @@ int main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void genBP(char *file) {
|
void genBP(char *file) {
|
||||||
char buff[256];
|
|
||||||
curr = fopen(file, "r");
|
curr = fopen(file, "r");
|
||||||
|
|
||||||
// just for debug
|
// just for debug
|
||||||
@ -102,7 +101,7 @@ void echoFile(FILE *fp) {
|
|||||||
strcat(line, cat);
|
strcat(line, cat);
|
||||||
} else {
|
} else {
|
||||||
printf("%s\n", line);
|
printf("%s\n", line);
|
||||||
sprintf(line, "");
|
line[0] = 0;
|
||||||
}
|
}
|
||||||
ch = getc(fp);
|
ch = getc(fp);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user