{"id":16967900,"url":"https://github.com/skyf0l/firtree","last_synced_at":"2025-03-21T18:18:31.864Z","repository":{"id":134742712,"uuid":"304688343","full_name":"skyf0l/Firtree","owner":"skyf0l","description":"Obfuscate versions of firtree","archived":false,"fork":false,"pushed_at":"2020-10-19T14:29:18.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T13:11:51.168Z","etag":null,"topics":["c","ioccc","obfuscation"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skyf0l.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-16T16:58:31.000Z","updated_at":"2024-09-10T21:53:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"5a8041af-c0cf-48cf-b054-a3fa5029f53b","html_url":"https://github.com/skyf0l/Firtree","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyf0l%2FFirtree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyf0l%2FFirtree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyf0l%2FFirtree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyf0l%2FFirtree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skyf0l","download_url":"https://codeload.github.com/skyf0l/Firtree/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244844531,"owners_count":20519790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","ioccc","obfuscation"],"created_at":"2024-10-14T00:10:09.508Z","updated_at":"2025-03-21T18:18:31.837Z","avatar_url":"https://github.com/skyf0l.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Firtree\nObfuscate versions of the Epitech Firtree\n\n## The Firtree\nAn ascii art resizable fir tree based on a f\\*cking generating algorithm\n\n## My programs\n\n### Ascii art firtree in ascii art firtree\n``` c\n               g\n              (s)\n             {;int\n            x=s/2;{\n             !~0;}\n            return\\\n           s\u00261?(2*++\n          x+8)*x-3:x*\n         (2*x+10)+1;};\n          main(int x,\n         void**y){;int\n        d,i,l,O,o,_;if(\n       x\u00261||(x=atoi(1[y]\n      ))\u003c1){printf(!1[y]?\n     \"Usage: %s size\\n\":0,\n       *y);return-!~1;;}\n      char*b;for(b=malloc\n     ((d=g(x))+1),d/=2,o=0\n    ;++o\u003c=x;){for(_=d;O=0\u003c_\n   ;)b[--_]=32;while(++O\u003c=3+\n  o){for(i=g(o)+(O-o-3)*2,_=l\n =d-i/2;_\u003cl+i;b[_++]=42);i[b+l\n   ]=10;write(1,b,++i+l);}}i\n  =x;if(~i\u00261)i++;l=d-i/2;_=0;\n while(_\u003cl+i)b[_++]=_\u003cl?32:124\n;_[b]=10;while(x--){;write(1,b,\n            l+i+1);}\n            free(b);\n            return i\n            =~1\u00261;};\n```\nCompilation whithout warnings\n```\ngcc -Wno-implicit-int -o firtree firtree_art.c \n```\n\n### All code in while condition\n``` c\n#include \u003cstdio.h\u003e\n#include \u003cunistd.h\u003e\n#include \u003cstdlib.h\u003e\n\nint main(int w, int **x, int *y, int z)\n{\n    while ((1[*x]\u00261[*x]-1\u0026\u0026(w=atoi(x[w-(y[2\u003c\u003c1]=!(y[1\u003c\u003c!!y]=y[3]=!y))])*!(w^2|(*y=!*x))))\u0026(1[*x]=!!x++[2]\u0026\u0026--x)\u0026(**x=37+(y[2]\u003c(1[*x]\u00261[*x]-1)?84:y[2]\u003c(**x=!(1[*x]-!!y|1[*x]))+y[!y]?78*(y[4]\u003c=w):46))||y[4]\u003c=2*w\u0026\u0026write((*x[!2]^=89)\u0026\u00261,*x,((y[2]++\u003e=*y)\u0026\u0026(y[4]\u003c=(y[1]=w)\u0026\u0026y[3]\u003c3+4[y]||++*(1[*x]*4+y)\u0026(y[3]=!*x))^(y[1\u003c\u003c1]=-((y[1]\u00261?((y[1]/=2,++y[1])+4)*y[1]-1.5:((y[1]/=2)+5)*y[1]+.5)*2-(*y+=(w-(y[!x]=(~(z=4[y])\u00261?((z/=2)+5)*z+.5:(z/=2)*(++z+4)-1.5)*2+(++*(3+y)-3-4[y])*2))*(y[1\u003c\u003c2]\u003ew)*1[*x]))/2*!!(y[y-y]+=(y[4]-w)*!(*y\u00261)\u003e!y))||1)[*x])|w)\n    {\n        // code\n    }\n    return (0);\n}\n```\nCompilation whithout warnings\n```\ngcc -Wno-incompatible-pointer-types -o firtree firtree_while.c \n```\n\n## Exemples\n```\n$ ./firtree 1\n   *\n  ***\n *****\n*******\n   |\n```\n```\n$ ./firtree 4\n              *\n             ***\n            *****\n           *******\n            *****\n           *******\n          *********\n         ***********\n        *************\n         ***********\n        *************\n       ***************\n      *****************\n     *******************\n    *********************\n      *****************\n     *******************\n    *********************\n   ***********************\n  *************************\n ***************************\n*****************************\n            |||||\n            |||||\n            |||||\n            |||||\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyf0l%2Ffirtree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyf0l%2Ffirtree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyf0l%2Ffirtree/lists"}