1
0
Fork 0

relicense, add some stuff I don't remember

master
Marrub 2015-01-24 08:33:08 +00:00
parent 5633b1ecc4
commit ea77a2f417
6 changed files with 129 additions and 17 deletions

71
HELL.c Normal file
View File

@ -0,0 +1,71 @@
#include <stdio.h>
#include <stdlib.h>
#define td typedef
#define onion union
#define build struct
#define __STDEF(vg, n, n0) t\
d o\
nion { v\
g } n; t\
d bu\
ild { v\
g } n\
0
#define __TDEF td
#define zurückkommen return
#define NICH NULL
#define ERFOLG 0
#define AUSFAL -250
#define m_MainFunction main
#define CASE case
#define ERR_F stderr
#define OUT_F stdout
#define gDataMåx 5
#define O o /*legacy suprot*/
/* ===== */
__STDEF(
int i_Ind_;
char c_Ind_;
const char *z_Lab_;
, tDataStore, tDataStoré);
__TDEF int zahl;
__TDEF const char* t_strn;
tDataStoré* sData = NICH; /* deprecated, use loc. vars instead */
int m_DtGrab(tDataStoré *sData, zahl iArg, t_strn *zArg)
{ sData->i_Ind_ = 0
; sData->c_Ind_ = '\0'
; zurückkommen ERFOLG
;}
int m_DtLoop(tDataStoré sData[gDataMåx], zahl iArg, t_strn *zArg)
{ int o = -24
; for
( o = 0
; o < gDataMåx
; o++
){ m_DtGrab(&sData[O], iArg, zArg)
;} if
( sData[O].c_Ind_ == '!'
){ fprintf(ERR_F, "Data invalid")
; zurückkommen AUSFAL
;} else
{ o = 0
; while
( o
!= gDataMåx
){ printf("%d\n", sData[O].i_Ind_)
; ++o
;}} zurückkommen ERFOLG
;}
int m_MainFunction(zahl iArg, t_strn *zArg)
{ tDataStoré sData[gDataMåx]
; m_DtLoop(sData, iArg, zArg)
; zurückkommen ERFOLG
;}

12
LEVEL9HELL.c Normal file
View File

@ -0,0 +1,12 @@
#include <stdio.h>
#define _T typedef
#define r return
_T int i;_T char c;_T i z;_T const c* s;_T struct{i í;c á;}tÐ;
i mD(tÐ *sD,z iA,s *zA){sD->í=0;sD->á=0;r 0;}i md(tÐ sD[5],z iA,s *zA)
{for(i o=0; o<5; o++){mD(&sD[o],iA,zA); }
for(i o=0;o<5;o++) printf("%d\n",sD[o].í);
r 0;}i main
(z iA,s *zA)
{tÐ sD[5];
md(sD,iA,zA);
r 0;}

36
LICENSE
View File

@ -1,20 +1,24 @@
Copyright (c) 2015 Marrub
This is free and unencumbered software released into the public domain.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <http://unlicense.org/>

7
main.c Normal file
View File

@ -0,0 +1,7 @@
#include <stdio.h>
int main(int argc, const char **argv)
{
puts("hello, world!");
return 0;
}

View File

@ -1 +1,4 @@
this was going to be named stupid_utils but github gave me a much better name
this was going to be named stupid_utils but github gave me a much better name
all of these files are just random stuff I made for some reason or another
they're mostly useless or were only ever needed once
some of them (like cutshitup) can be useful

15
what.c Normal file
View File

@ -0,0 +1,15 @@
#include <stdio.h>
int main()
{
int butt = 100;
printf("%d ", butt);
fflush(stdout);
butt &= 0;
printf("%d ", butt);
fflush(stdout);
butt |= 100;
printf("%d ", butt);
fflush(stdout);
return 0;
}