├── .editorconfig ├── .gitattributes ├── .github └── workflows │ └── main.yml ├── .gitignore ├── AUTHORS ├── COPYING ├── Dockerfile ├── README.md ├── default.nix ├── desktop ├── C │ └── hello │ │ ├── ABOUT-NLS │ │ ├── AUTHORS │ │ ├── COPYING │ │ ├── ChangeLog │ │ ├── ChangeLog.O │ │ ├── GNUmakefile │ │ ├── INSTALL │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── NEWS │ │ ├── README │ │ ├── README-dev │ │ ├── README-release │ │ ├── THANKS │ │ ├── TODO │ │ ├── aclocal.m4 │ │ ├── app.nix │ │ ├── build-aux │ │ ├── announce-gen │ │ ├── compile │ │ ├── config.guess │ │ ├── config.rpath │ │ ├── config.sub │ │ ├── depcomp │ │ ├── do-release-commit-and-tag │ │ ├── gendocs.sh │ │ ├── gitlog-to-changelog │ │ ├── gnu-web-doc-update │ │ ├── gnupload │ │ ├── install-sh │ │ ├── mdate-sh │ │ ├── missing │ │ ├── prefix-gnulib-mk │ │ ├── snippet │ │ │ ├── _Noreturn.h │ │ │ ├── arg-nonnull.h │ │ │ ├── c++defs.h │ │ │ └── warn-on-use.h │ │ ├── test-driver │ │ ├── texinfo.tex │ │ ├── update-copyright │ │ ├── useless-if-before-free │ │ └── vc-list-files │ │ ├── ci.nix │ │ ├── config.in │ │ ├── configure │ │ ├── configure.ac │ │ ├── contrib │ │ ├── de_franconian_po.txt │ │ └── evolution.txt │ │ ├── default.nix │ │ ├── doc │ │ ├── fdl.texi │ │ ├── hello.info │ │ ├── hello.texi │ │ ├── local.mk │ │ ├── stamp-vti │ │ └── version.texi │ │ ├── hello.1 │ │ ├── lib │ │ ├── basename-lgpl.c │ │ ├── basename.c │ │ ├── c-ctype.c │ │ ├── c-ctype.h │ │ ├── c-strcase.h │ │ ├── c-strcasecmp.c │ │ ├── c-strcaseeq.h │ │ ├── c-strncasecmp.c │ │ ├── close-stream.c │ │ ├── close-stream.h │ │ ├── closeout.c │ │ ├── closeout.h │ │ ├── config.charset │ │ ├── dirname-lgpl.c │ │ ├── dirname.c │ │ ├── dirname.h │ │ ├── dosname.h │ │ ├── errno.in.h │ │ ├── error.c │ │ ├── error.h │ │ ├── exitfail.c │ │ ├── exitfail.h │ │ ├── fpending.c │ │ ├── fpending.h │ │ ├── getopt.c │ │ ├── getopt.in.h │ │ ├── getopt1.c │ │ ├── getopt_int.h │ │ ├── gettext.h │ │ ├── gnulib.mk │ │ ├── intprops.h │ │ ├── local.mk │ │ ├── localcharset.c │ │ ├── localcharset.h │ │ ├── malloc.c │ │ ├── mbrtowc.c │ │ ├── mbsinit.c │ │ ├── mbsrtowcs-impl.h │ │ ├── mbsrtowcs-state.c │ │ ├── mbsrtowcs.c │ │ ├── memchr.c │ │ ├── memchr.valgrind │ │ ├── msvc-inval.c │ │ ├── msvc-inval.h │ │ ├── msvc-nothrow.c │ │ ├── msvc-nothrow.h │ │ ├── progname.c │ │ ├── progname.h │ │ ├── quote.h │ │ ├── quotearg.c │ │ ├── quotearg.h │ │ ├── ref-add.sin │ │ ├── ref-del.sin │ │ ├── stdbool.in.h │ │ ├── stddef.in.h │ │ ├── stdio.in.h │ │ ├── stdlib.in.h │ │ ├── streq.h │ │ ├── strerror-override.c │ │ ├── strerror-override.h │ │ ├── strerror.c │ │ ├── string.in.h │ │ ├── stripslash.c │ │ ├── strndup.c │ │ ├── strnlen.c │ │ ├── strnlen1.c │ │ ├── strnlen1.h │ │ ├── sys_types.in.h │ │ ├── unistd.c │ │ ├── unistd.in.h │ │ ├── verify.h │ │ ├── wchar.in.h │ │ ├── wctype-h.c │ │ ├── wctype.in.h │ │ ├── xalloc-die.c │ │ ├── xalloc-oversized.h │ │ ├── xalloc.h │ │ ├── xmalloc.c │ │ ├── xstrndup.c │ │ └── xstrndup.h │ │ ├── m4 │ │ ├── 00gnulib.m4 │ │ ├── absolute-header.m4 │ │ ├── close-stream.m4 │ │ ├── closeout.m4 │ │ ├── codeset.m4 │ │ ├── configmake.m4 │ │ ├── dirname.m4 │ │ ├── double-slash-root.m4 │ │ ├── errno_h.m4 │ │ ├── error.m4 │ │ ├── extensions.m4 │ │ ├── extern-inline.m4 │ │ ├── fcntl-o.m4 │ │ ├── fpending.m4 │ │ ├── getopt.m4 │ │ ├── gettext.m4 │ │ ├── glibc21.m4 │ │ ├── gnulib-cache.m4 │ │ ├── gnulib-common.m4 │ │ ├── gnulib-comp.m4 │ │ ├── iconv.m4 │ │ ├── include_next.m4 │ │ ├── intlmacosx.m4 │ │ ├── lib-ld.m4 │ │ ├── lib-link.m4 │ │ ├── lib-prefix.m4 │ │ ├── localcharset.m4 │ │ ├── locale-fr.m4 │ │ ├── locale-ja.m4 │ │ ├── locale-zh.m4 │ │ ├── malloc.m4 │ │ ├── mbrtowc.m4 │ │ ├── mbsinit.m4 │ │ ├── mbsrtowcs.m4 │ │ ├── mbstate_t.m4 │ │ ├── memchr.m4 │ │ ├── mmap-anon.m4 │ │ ├── msvc-inval.m4 │ │ ├── msvc-nothrow.m4 │ │ ├── nls.m4 │ │ ├── nocrash.m4 │ │ ├── non-recursive-gnulib-prefix-hack.m4 │ │ ├── off_t.m4 │ │ ├── po.m4 │ │ ├── progtest.m4 │ │ ├── quotearg.m4 │ │ ├── ssize_t.m4 │ │ ├── stdbool.m4 │ │ ├── stddef_h.m4 │ │ ├── stdio_h.m4 │ │ ├── stdlib_h.m4 │ │ ├── strerror.m4 │ │ ├── string_h.m4 │ │ ├── strndup.m4 │ │ ├── strnlen.m4 │ │ ├── sys_socket_h.m4 │ │ ├── sys_types_h.m4 │ │ ├── unistd_h.m4 │ │ ├── warn-on-use.m4 │ │ ├── wchar_h.m4 │ │ ├── wchar_t.m4 │ │ ├── wctype_h.m4 │ │ ├── wint_t.m4 │ │ ├── xalloc.m4 │ │ └── xstrndup.m4 │ │ ├── maint.mk │ │ ├── man │ │ └── hello.x │ │ ├── module.nix │ │ ├── nixpkgs.nix │ │ ├── po │ │ ├── ChangeLog │ │ ├── LINGUAS │ │ ├── Makefile.in.in │ │ ├── Makevars │ │ ├── POTFILES.in │ │ ├── Rules-quot │ │ ├── bg.gmo │ │ ├── bg.po │ │ ├── boldquot.sed │ │ ├── ca.gmo │ │ ├── ca.po │ │ ├── da.gmo │ │ ├── da.po │ │ ├── de.gmo │ │ ├── de.po │ │ ├── el.gmo │ │ ├── el.po │ │ ├── en@boldquot.header │ │ ├── en@quot.header │ │ ├── eo.gmo │ │ ├── eo.po │ │ ├── es.gmo │ │ ├── es.po │ │ ├── et.gmo │ │ ├── et.po │ │ ├── eu.gmo │ │ ├── eu.po │ │ ├── fa.gmo │ │ ├── fa.po │ │ ├── fi.gmo │ │ ├── fi.po │ │ ├── fr.gmo │ │ ├── fr.po │ │ ├── ga.gmo │ │ ├── ga.po │ │ ├── gl.gmo │ │ ├── gl.po │ │ ├── he.gmo │ │ ├── he.po │ │ ├── hello.pot │ │ ├── hr.gmo │ │ ├── hr.po │ │ ├── hu.gmo │ │ ├── hu.po │ │ ├── id.gmo │ │ ├── id.po │ │ ├── insert-header.sin │ │ ├── it.gmo │ │ ├── it.po │ │ ├── ja.gmo │ │ ├── ja.po │ │ ├── ka.gmo │ │ ├── ka.po │ │ ├── ko.gmo │ │ ├── ko.po │ │ ├── lv.gmo │ │ ├── lv.po │ │ ├── ms.gmo │ │ ├── ms.po │ │ ├── nb.gmo │ │ ├── nb.po │ │ ├── nl.gmo │ │ ├── nl.po │ │ ├── nn.gmo │ │ ├── nn.po │ │ ├── pl.gmo │ │ ├── pl.po │ │ ├── pt.gmo │ │ ├── pt.po │ │ ├── pt_BR.gmo │ │ ├── pt_BR.po │ │ ├── quot.sed │ │ ├── remove-potcdate.sin │ │ ├── ro.gmo │ │ ├── ro.po │ │ ├── ru.gmo │ │ ├── ru.po │ │ ├── sk.gmo │ │ ├── sk.po │ │ ├── sl.gmo │ │ ├── sl.po │ │ ├── sr.gmo │ │ ├── sr.po │ │ ├── stamp-po │ │ ├── sv.gmo │ │ ├── sv.po │ │ ├── th.gmo │ │ ├── th.po │ │ ├── tr.gmo │ │ ├── tr.po │ │ ├── uk.gmo │ │ ├── uk.po │ │ ├── vi.gmo │ │ ├── vi.po │ │ ├── zh_CN.gmo │ │ ├── zh_CN.po │ │ ├── zh_TW.gmo │ │ └── zh_TW.po │ │ ├── shell.nix │ │ ├── src │ │ ├── hello.c │ │ └── system.h │ │ └── tests │ │ ├── greeting-1 │ │ ├── greeting-2 │ │ ├── hello-1 │ │ ├── last-1 │ │ └── traditional-1 ├── Go │ └── hello │ │ ├── .gitignore │ │ ├── app.nix │ │ ├── ci.nix │ │ ├── default.nix │ │ ├── go.mod │ │ ├── go.sum │ │ ├── hello.go │ │ ├── module.nix │ │ ├── nixpkgs.nix │ │ └── shell.nix ├── Haskell │ ├── answer-generated │ │ ├── .gitignore │ │ ├── answer.cabal │ │ ├── app.nix │ │ ├── ci.nix │ │ ├── default.nix │ │ ├── module.nix │ │ ├── nixpkgs.nix │ │ ├── shell.nix │ │ ├── src │ │ │ └── Main.hs │ │ └── stack.yaml │ └── answer │ │ ├── .gitignore │ │ ├── answer.cabal │ │ ├── app.nix │ │ ├── ci.nix │ │ ├── default.nix │ │ ├── module.nix │ │ ├── nixpkgs.nix │ │ ├── shell.nix │ │ ├── src │ │ └── Main.hs │ │ └── stack.yaml ├── Java │ ├── ant-dateutils │ │ ├── .gitignore │ │ ├── app.nix │ │ ├── build.xml │ │ ├── ci.nix │ │ ├── default.nix │ │ ├── module.nix │ │ ├── nixpkgs.nix │ │ ├── shell.nix │ │ └── src │ │ │ └── com │ │ │ └── mkyong │ │ │ └── core │ │ │ └── utils │ │ │ └── DateUtils.java │ ├── gs-gradle │ │ ├── .gitignore │ │ ├── app.nix │ │ ├── build.gradle │ │ ├── ci.nix │ │ ├── default.nix │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ └── gradle-wrapper.properties │ │ ├── gradlew │ │ ├── gradlew.bat │ │ ├── module.nix │ │ ├── nixpkgs.nix │ │ ├── shell.nix │ │ └── src │ │ │ ├── main │ │ │ └── java │ │ │ │ └── hello │ │ │ │ ├── Greeter.java │ │ │ │ └── HelloWorld.java │ │ │ └── test │ │ │ └── java │ │ │ └── hello │ │ │ └── HelloWorldTests.java │ └── spring-boot │ │ ├── .gitignore │ │ ├── .mvn │ │ └── wrapper │ │ │ ├── MavenWrapperDownloader.java │ │ │ ├── maven-wrapper.jar │ │ │ └── maven-wrapper.properties │ │ ├── app-settings.xml.nix │ │ ├── app.nix │ │ ├── ci.nix │ │ ├── default.nix │ │ ├── module.nix │ │ ├── mvnw │ │ ├── mvnw.cmd │ │ ├── nixpkgs.nix │ │ ├── pom.xml │ │ ├── shell.nix │ │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── demo │ │ │ │ └── DemoApplication.java │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── demo │ │ └── DemoApplicationTests.java ├── JavaScript │ ├── cowsay-fod │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── app.nix │ │ ├── browser.js │ │ ├── ci.nix │ │ ├── cli.js │ │ ├── cows │ │ │ ├── C3PO.cow │ │ │ ├── R2-D2.cow │ │ │ ├── USA.cow │ │ │ ├── ackbar.cow │ │ │ ├── aperture-blank.cow │ │ │ ├── aperture.cow │ │ │ ├── armadillo.cow │ │ │ ├── atat.cow │ │ │ ├── atom.cow │ │ │ ├── awesome-face.cow │ │ │ ├── banana.cow │ │ │ ├── bearface.cow │ │ │ ├── beavis.zen.cow │ │ │ ├── bees.cow │ │ │ ├── bill-the-cat.cow │ │ │ ├── biohazard.cow │ │ │ ├── bishop.cow │ │ │ ├── black-mesa.cow │ │ │ ├── bong.cow │ │ │ ├── box.cow │ │ │ ├── broken-heart.cow │ │ │ ├── bud-frogs.cow │ │ │ ├── bunny.cow │ │ │ ├── cake-with-candles.cow │ │ │ ├── cake.cow │ │ │ ├── cat.cow │ │ │ ├── cat2.cow │ │ │ ├── catfence.cow │ │ │ ├── charizardvice.cow │ │ │ ├── charlie.cow │ │ │ ├── cheese.cow │ │ │ ├── chessmen.cow │ │ │ ├── chito.cow │ │ │ ├── claw-arm.cow │ │ │ ├── clippy.cow │ │ │ ├── companion-cube.cow │ │ │ ├── cower.cow │ │ │ ├── cowfee.cow │ │ │ ├── cthulhu-mini.cow │ │ │ ├── cube.cow │ │ │ ├── daemon.cow │ │ │ ├── dalek-shooting.cow │ │ │ ├── dalek.cow │ │ │ ├── default.cow │ │ │ ├── docker-whale.cow │ │ │ ├── doge.cow │ │ │ ├── dolphin.cow │ │ │ ├── dragon-and-cow.cow │ │ │ ├── dragon.cow │ │ │ ├── ebi_furai.cow │ │ │ ├── elephant-in-snake.cow │ │ │ ├── elephant.cow │ │ │ ├── elephant2.cow │ │ │ ├── explosion.cow │ │ │ ├── eyes.cow │ │ │ ├── fat-banana.cow │ │ │ ├── fat-cow.cow │ │ │ ├── fence.cow │ │ │ ├── fire.cow │ │ │ ├── flaming-sheep.cow │ │ │ ├── fox.cow │ │ │ ├── ghost.cow │ │ │ ├── ghostbusters.cow │ │ │ ├── glados.cow │ │ │ ├── goat.cow │ │ │ ├── goat2.cow │ │ │ ├── golden-eagle.cow │ │ │ ├── hand.cow │ │ │ ├── happy-whale.cow │ │ │ ├── hedgehog.cow │ │ │ ├── hellokitty.cow │ │ │ ├── hippie.cow │ │ │ ├── hiya.cow │ │ │ ├── hiyoko.cow │ │ │ ├── homer.cow │ │ │ ├── hypno.cow │ │ │ ├── ibm.cow │ │ │ ├── iwashi.cow │ │ │ ├── jellyfish.cow │ │ │ ├── karl_marx.cow │ │ │ ├── kilroy.cow │ │ │ ├── king.cow │ │ │ ├── kiss.cow │ │ │ ├── kitten.cow │ │ │ ├── kitty.cow │ │ │ ├── knight.cow │ │ │ ├── koala.cow │ │ │ ├── kosh.cow │ │ │ ├── lamb.cow │ │ │ ├── lamb2.cow │ │ │ ├── lightbulb.cow │ │ │ ├── lobster.cow │ │ │ ├── lollerskates.cow │ │ │ ├── luke-koala.cow │ │ │ ├── mailchimp.cow │ │ │ ├── maze-runner.cow │ │ │ ├── mech-and-cow.cow │ │ │ ├── meow.cow │ │ │ ├── milk.cow │ │ │ ├── minotaur.cow │ │ │ ├── mona-lisa.cow │ │ │ ├── moofasa.cow │ │ │ ├── mooghidjirah.cow │ │ │ ├── moojira.cow │ │ │ ├── moose.cow │ │ │ ├── mule.cow │ │ │ ├── mutilated.cow │ │ │ ├── nyan.cow │ │ │ ├── octopus.cow │ │ │ ├── okazu.cow │ │ │ ├── owl.cow │ │ │ ├── pawn.cow │ │ │ ├── periodic-table.cow │ │ │ ├── personality-sphere.cow │ │ │ ├── pinball-machine.cow │ │ │ ├── psychiatrichelp.cow │ │ │ ├── psychiatrichelp2.cow │ │ │ ├── pterodactyl.cow │ │ │ ├── queen.cow │ │ │ ├── radio.cow │ │ │ ├── ren.cow │ │ │ ├── renge.cow │ │ │ ├── robot.cow │ │ │ ├── robotfindskitten.cow │ │ │ ├── roflcopter.cow │ │ │ ├── rook.cow │ │ │ ├── sachiko.cow │ │ │ ├── satanic.cow │ │ │ ├── seahorse-big.cow │ │ │ ├── seahorse.cow │ │ │ ├── sheep.cow │ │ │ ├── shikato.cow │ │ │ ├── shrug.cow │ │ │ ├── skeleton.cow │ │ │ ├── small.cow │ │ │ ├── smiling-octopus.cow │ │ │ ├── snoopy.cow │ │ │ ├── snoopyhouse.cow │ │ │ ├── snoopysleep.cow │ │ │ ├── spidercow.cow │ │ │ ├── squid.cow │ │ │ ├── squirrel.cow │ │ │ ├── stegosaurus.cow │ │ │ ├── stimpy.cow │ │ │ ├── sudowoodo.cow │ │ │ ├── supermilker.cow │ │ │ ├── surgery.cow │ │ │ ├── tableflip.cow │ │ │ ├── taxi.cow │ │ │ ├── telebears.cow │ │ │ ├── template.cow │ │ │ ├── threader.cow │ │ │ ├── threecubes.cow │ │ │ ├── toaster.cow │ │ │ ├── tortoise.cow │ │ │ ├── turkey.cow │ │ │ ├── turtle.cow │ │ │ ├── tux-big.cow │ │ │ ├── tux.cow │ │ │ ├── tweety-bird.cow │ │ │ ├── vader-koala.cow │ │ │ ├── vader.cow │ │ │ ├── weeping-angel.cow │ │ │ ├── whale.cow │ │ │ ├── wizard.cow │ │ │ ├── wood.cow │ │ │ ├── world.cow │ │ │ ├── www.cow │ │ │ ├── yasuna_01.cow │ │ │ ├── yasuna_02.cow │ │ │ ├── yasuna_03.cow │ │ │ ├── yasuna_03a.cow │ │ │ ├── yasuna_04.cow │ │ │ ├── yasuna_05.cow │ │ │ ├── yasuna_06.cow │ │ │ ├── yasuna_07.cow │ │ │ ├── yasuna_08.cow │ │ │ ├── yasuna_09.cow │ │ │ ├── yasuna_10.cow │ │ │ ├── yasuna_11.cow │ │ │ ├── yasuna_12.cow │ │ │ ├── yasuna_13.cow │ │ │ ├── yasuna_14.cow │ │ │ ├── yasuna_16.cow │ │ │ ├── yasuna_17.cow │ │ │ ├── yasuna_18.cow │ │ │ ├── yasuna_19.cow │ │ │ ├── yasuna_20.cow │ │ │ ├── ymd_udon.cow │ │ │ └── zen-noh-milk.cow │ │ ├── default.nix │ │ ├── index.js │ │ ├── lib │ │ │ ├── balloon.js │ │ │ ├── cows.js │ │ │ ├── faces.js │ │ │ └── replacer.js │ │ ├── module.nix │ │ ├── nixpkgs.nix │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── rollup.config.js │ │ ├── sample.html │ │ ├── shell.nix │ │ ├── test.js │ │ └── test │ │ │ ├── balloon.js │ │ │ ├── cows.js │ │ │ └── faces.js │ └── cowsay │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── app.nix │ │ ├── browser.js │ │ ├── ci.nix │ │ ├── cli.js │ │ ├── cows │ │ ├── C3PO.cow │ │ ├── R2-D2.cow │ │ ├── USA.cow │ │ ├── ackbar.cow │ │ ├── aperture-blank.cow │ │ ├── aperture.cow │ │ ├── armadillo.cow │ │ ├── atat.cow │ │ ├── atom.cow │ │ ├── awesome-face.cow │ │ ├── banana.cow │ │ ├── bearface.cow │ │ ├── beavis.zen.cow │ │ ├── bees.cow │ │ ├── bill-the-cat.cow │ │ ├── biohazard.cow │ │ ├── bishop.cow │ │ ├── black-mesa.cow │ │ ├── bong.cow │ │ ├── box.cow │ │ ├── broken-heart.cow │ │ ├── bud-frogs.cow │ │ ├── bunny.cow │ │ ├── cake-with-candles.cow │ │ ├── cake.cow │ │ ├── cat.cow │ │ ├── cat2.cow │ │ ├── catfence.cow │ │ ├── charizardvice.cow │ │ ├── charlie.cow │ │ ├── cheese.cow │ │ ├── chessmen.cow │ │ ├── chito.cow │ │ ├── claw-arm.cow │ │ ├── clippy.cow │ │ ├── companion-cube.cow │ │ ├── cower.cow │ │ ├── cowfee.cow │ │ ├── cthulhu-mini.cow │ │ ├── cube.cow │ │ ├── daemon.cow │ │ ├── dalek-shooting.cow │ │ ├── dalek.cow │ │ ├── default.cow │ │ ├── docker-whale.cow │ │ ├── doge.cow │ │ ├── dolphin.cow │ │ ├── dragon-and-cow.cow │ │ ├── dragon.cow │ │ ├── ebi_furai.cow │ │ ├── elephant-in-snake.cow │ │ ├── elephant.cow │ │ ├── elephant2.cow │ │ ├── explosion.cow │ │ ├── eyes.cow │ │ ├── fat-banana.cow │ │ ├── fat-cow.cow │ │ ├── fence.cow │ │ ├── fire.cow │ │ ├── flaming-sheep.cow │ │ ├── fox.cow │ │ ├── ghost.cow │ │ ├── ghostbusters.cow │ │ ├── glados.cow │ │ ├── goat.cow │ │ ├── goat2.cow │ │ ├── golden-eagle.cow │ │ ├── hand.cow │ │ ├── happy-whale.cow │ │ ├── hedgehog.cow │ │ ├── hellokitty.cow │ │ ├── hippie.cow │ │ ├── hiya.cow │ │ ├── hiyoko.cow │ │ ├── homer.cow │ │ ├── hypno.cow │ │ ├── ibm.cow │ │ ├── iwashi.cow │ │ ├── jellyfish.cow │ │ ├── karl_marx.cow │ │ ├── kilroy.cow │ │ ├── king.cow │ │ ├── kiss.cow │ │ ├── kitten.cow │ │ ├── kitty.cow │ │ ├── knight.cow │ │ ├── koala.cow │ │ ├── kosh.cow │ │ ├── lamb.cow │ │ ├── lamb2.cow │ │ ├── lightbulb.cow │ │ ├── lobster.cow │ │ ├── lollerskates.cow │ │ ├── luke-koala.cow │ │ ├── mailchimp.cow │ │ ├── maze-runner.cow │ │ ├── mech-and-cow.cow │ │ ├── meow.cow │ │ ├── milk.cow │ │ ├── minotaur.cow │ │ ├── mona-lisa.cow │ │ ├── moofasa.cow │ │ ├── mooghidjirah.cow │ │ ├── moojira.cow │ │ ├── moose.cow │ │ ├── mule.cow │ │ ├── mutilated.cow │ │ ├── nyan.cow │ │ ├── octopus.cow │ │ ├── okazu.cow │ │ ├── owl.cow │ │ ├── pawn.cow │ │ ├── periodic-table.cow │ │ ├── personality-sphere.cow │ │ ├── pinball-machine.cow │ │ ├── psychiatrichelp.cow │ │ ├── psychiatrichelp2.cow │ │ ├── pterodactyl.cow │ │ ├── queen.cow │ │ ├── radio.cow │ │ ├── ren.cow │ │ ├── renge.cow │ │ ├── robot.cow │ │ ├── robotfindskitten.cow │ │ ├── roflcopter.cow │ │ ├── rook.cow │ │ ├── sachiko.cow │ │ ├── satanic.cow │ │ ├── seahorse-big.cow │ │ ├── seahorse.cow │ │ ├── sheep.cow │ │ ├── shikato.cow │ │ ├── shrug.cow │ │ ├── skeleton.cow │ │ ├── small.cow │ │ ├── smiling-octopus.cow │ │ ├── snoopy.cow │ │ ├── snoopyhouse.cow │ │ ├── snoopysleep.cow │ │ ├── spidercow.cow │ │ ├── squid.cow │ │ ├── squirrel.cow │ │ ├── stegosaurus.cow │ │ ├── stimpy.cow │ │ ├── sudowoodo.cow │ │ ├── supermilker.cow │ │ ├── surgery.cow │ │ ├── tableflip.cow │ │ ├── taxi.cow │ │ ├── telebears.cow │ │ ├── template.cow │ │ ├── threader.cow │ │ ├── threecubes.cow │ │ ├── toaster.cow │ │ ├── tortoise.cow │ │ ├── turkey.cow │ │ ├── turtle.cow │ │ ├── tux-big.cow │ │ ├── tux.cow │ │ ├── tweety-bird.cow │ │ ├── vader-koala.cow │ │ ├── vader.cow │ │ ├── weeping-angel.cow │ │ ├── whale.cow │ │ ├── wizard.cow │ │ ├── wood.cow │ │ ├── world.cow │ │ ├── www.cow │ │ ├── yasuna_01.cow │ │ ├── yasuna_02.cow │ │ ├── yasuna_03.cow │ │ ├── yasuna_03a.cow │ │ ├── yasuna_04.cow │ │ ├── yasuna_05.cow │ │ ├── yasuna_06.cow │ │ ├── yasuna_07.cow │ │ ├── yasuna_08.cow │ │ ├── yasuna_09.cow │ │ ├── yasuna_10.cow │ │ ├── yasuna_11.cow │ │ ├── yasuna_12.cow │ │ ├── yasuna_13.cow │ │ ├── yasuna_14.cow │ │ ├── yasuna_16.cow │ │ ├── yasuna_17.cow │ │ ├── yasuna_18.cow │ │ ├── yasuna_19.cow │ │ ├── yasuna_20.cow │ │ ├── ymd_udon.cow │ │ └── zen-noh-milk.cow │ │ ├── default.nix │ │ ├── index.js │ │ ├── lib │ │ ├── balloon.js │ │ ├── cows.js │ │ ├── faces.js │ │ └── replacer.js │ │ ├── module.nix │ │ ├── nixpkgs.nix │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── rollup.config.js │ │ ├── sample.html │ │ ├── shell.nix │ │ ├── test.js │ │ └── test │ │ ├── balloon.js │ │ ├── cows.js │ │ └── faces.js ├── PHP │ ├── hello-pdf │ │ ├── .gitignore │ │ ├── app.nix │ │ ├── ci.nix │ │ ├── composer.json │ │ ├── composer.lock │ │ ├── default.nix │ │ ├── index.php │ │ ├── module.nix │ │ ├── nixpkgs.nix │ │ └── shell.nix │ └── laravel-cli │ │ ├── .editorconfig │ │ ├── .env.example │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── .styleci.yml │ │ ├── README.md │ │ ├── app.nix │ │ ├── app │ │ ├── Console │ │ │ └── Kernel.php │ │ ├── Exceptions │ │ │ └── Handler.php │ │ ├── Http │ │ │ ├── Controllers │ │ │ │ ├── Auth │ │ │ │ │ ├── ConfirmPasswordController.php │ │ │ │ │ ├── ForgotPasswordController.php │ │ │ │ │ ├── LoginController.php │ │ │ │ │ ├── RegisterController.php │ │ │ │ │ ├── ResetPasswordController.php │ │ │ │ │ └── VerificationController.php │ │ │ │ └── Controller.php │ │ │ ├── Kernel.php │ │ │ └── Middleware │ │ │ │ ├── Authenticate.php │ │ │ │ ├── CheckForMaintenanceMode.php │ │ │ │ ├── EncryptCookies.php │ │ │ │ ├── RedirectIfAuthenticated.php │ │ │ │ ├── TrimStrings.php │ │ │ │ ├── TrustProxies.php │ │ │ │ └── VerifyCsrfToken.php │ │ ├── Providers │ │ │ ├── AppServiceProvider.php │ │ │ ├── AuthServiceProvider.php │ │ │ ├── BroadcastServiceProvider.php │ │ │ ├── EventServiceProvider.php │ │ │ └── RouteServiceProvider.php │ │ └── User.php │ │ ├── artisan │ │ ├── bootstrap │ │ ├── app.php │ │ └── cache │ │ │ └── .gitignore │ │ ├── ci.nix │ │ ├── composer.json │ │ ├── composer.lock │ │ ├── config │ │ ├── app.php │ │ ├── auth.php │ │ ├── broadcasting.php │ │ ├── cache.php │ │ ├── database.php │ │ ├── filesystems.php │ │ ├── hashing.php │ │ ├── logging.php │ │ ├── mail.php │ │ ├── queue.php │ │ ├── services.php │ │ ├── session.php │ │ └── view.php │ │ ├── database │ │ ├── .gitignore │ │ ├── factories │ │ │ └── UserFactory.php │ │ ├── migrations │ │ │ ├── 2014_10_12_000000_create_users_table.php │ │ │ ├── 2014_10_12_100000_create_password_resets_table.php │ │ │ └── 2019_08_19_000000_create_failed_jobs_table.php │ │ └── seeds │ │ │ └── DatabaseSeeder.php │ │ ├── default.nix │ │ ├── module.nix │ │ ├── nixpkgs.nix │ │ ├── package.json │ │ ├── phpunit.xml │ │ ├── public │ │ ├── .htaccess │ │ ├── favicon.ico │ │ ├── index.php │ │ ├── robots.txt │ │ └── web.config │ │ ├── resources │ │ ├── js │ │ │ ├── app.js │ │ │ └── bootstrap.js │ │ ├── lang │ │ │ └── en │ │ │ │ ├── auth.php │ │ │ │ ├── pagination.php │ │ │ │ ├── passwords.php │ │ │ │ └── validation.php │ │ ├── sass │ │ │ └── app.scss │ │ └── views │ │ │ └── welcome.blade.php │ │ ├── routes │ │ ├── api.php │ │ ├── channels.php │ │ ├── console.php │ │ └── web.php │ │ ├── server.php │ │ ├── shell.nix │ │ ├── storage │ │ ├── app │ │ │ ├── .gitignore │ │ │ └── public │ │ │ │ └── .gitignore │ │ ├── framework │ │ │ ├── .gitignore │ │ │ ├── cache │ │ │ │ ├── .gitignore │ │ │ │ └── data │ │ │ │ │ └── .gitignore │ │ │ ├── sessions │ │ │ │ └── .gitignore │ │ │ ├── testing │ │ │ │ └── .gitignore │ │ │ └── views │ │ │ │ └── .gitignore │ │ └── logs │ │ │ └── .gitignore │ │ ├── tests │ │ ├── CreatesApplication.php │ │ ├── Feature │ │ │ └── ExampleTest.php │ │ ├── TestCase.php │ │ └── Unit │ │ │ └── ExampleTest.php │ │ └── webpack.mix.js ├── Python │ └── answer │ │ ├── answer │ │ ├── __init__.py │ │ └── __main__.py │ │ ├── app.nix │ │ ├── ci.nix │ │ ├── default.nix │ │ ├── module.nix │ │ ├── nixpkgs.nix │ │ ├── setup.py │ │ └── shell.nix └── TeX │ └── sample-doc │ ├── .gitignore │ ├── Makefile │ ├── app.nix │ ├── bibliography.bib │ ├── ci.nix │ ├── default.nix │ ├── latexmkrc │ ├── nixpkgs.nix │ ├── project.tex │ └── shell.nix ├── distributed └── Spark │ └── pi │ ├── .gitignore │ ├── app-settings.xml.nix │ ├── app.nix │ ├── cd-nixos.nix │ ├── cd-vbox.nix │ ├── cd.nix │ ├── ci.nix │ ├── cicd.sh │ ├── default.nix │ ├── module.nix │ ├── nixpkgs.nix │ ├── pom.xml │ ├── shell.nix │ └── src │ └── main │ └── java │ └── org │ └── apache │ └── spark │ └── examples │ └── JavaSparkPi.java ├── mobile └── Android │ ├── cardview │ ├── .gitignore │ ├── .google │ │ └── packaging.yaml │ ├── Application │ │ ├── build.gradle │ │ ├── src │ │ │ └── main │ │ │ │ ├── AndroidManifest.xml │ │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ └── android │ │ │ │ │ └── cardview │ │ │ │ │ ├── CardViewActivity.java │ │ │ │ │ └── CardViewFragment.java │ │ │ │ └── res │ │ │ │ ├── drawable-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── tile.9.png │ │ │ │ ├── drawable-mdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── drawable-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── drawable-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── layout │ │ │ │ ├── activity_card_view.xml │ │ │ │ └── fragment_card_view.xml │ │ │ │ ├── values-sw600dp │ │ │ │ ├── template-dimens.xml │ │ │ │ └── template-styles.xml │ │ │ │ ├── values-v11 │ │ │ │ └── template-styles.xml │ │ │ │ ├── values-v21 │ │ │ │ ├── base-colors.xml │ │ │ │ └── base-template-styles.xml │ │ │ │ └── values │ │ │ │ ├── base-strings.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── strings.xml │ │ │ │ ├── template-dimens.xml │ │ │ │ └── template-styles.xml │ │ └── tests │ │ │ ├── AndroidManifest.xml │ │ │ └── src │ │ │ └── com │ │ │ └── example │ │ │ └── android │ │ │ └── cardview │ │ │ └── SampleTests.java │ ├── README.md │ ├── app.nix │ ├── build.gradle │ ├── ci.nix │ ├── default.nix │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── nixpkgs.nix │ ├── settings.gradle │ └── shell.nix │ └── myfirstapp │ ├── .gitignore │ ├── AndroidManifest.xml │ ├── LICENSE.txt │ ├── README.txt │ ├── ant.properties │ ├── app.nix │ ├── build.xml │ ├── ci.nix │ ├── default.nix │ ├── ic_launcher-web.png │ ├── keystore │ ├── nixpkgs.nix │ ├── proguard-project.txt │ ├── project.properties │ ├── res │ ├── drawable-hdpi │ │ ├── ic_action_search.png │ │ └── ic_launcher.png │ ├── drawable-ldpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ ├── ic_action_search.png │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ ├── ic_action_search.png │ │ └── ic_launcher.png │ ├── layout │ │ ├── activity_display_message.xml │ │ └── activity_main.xml │ ├── menu │ │ ├── activity_display_message.xml │ │ └── activity_main.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ └── values │ │ ├── strings.xml │ │ └── styles.xml │ ├── shell.nix │ └── src │ └── com │ └── example │ └── my │ └── first │ └── app │ ├── DisplayMessageActivity.java │ └── MainActivity.java ├── multitier └── Python │ └── helloanswer │ ├── answerlib │ ├── answerlib │ │ ├── __init__.py │ │ └── answerlib.py │ ├── app.nix │ ├── ci.nix │ ├── default.nix │ ├── nixpkgs.nix │ ├── setup.py │ └── shell.nix │ ├── cd-nixos.nix │ ├── cd-vbox.nix │ ├── cd.nix │ ├── ci.nix │ ├── cicd.sh │ ├── client │ ├── app.nix │ ├── ci.nix │ ├── client │ │ ├── __init__.py │ │ └── client.py │ ├── default.nix │ ├── module.nix │ ├── nixpkgs.nix │ ├── setup.py │ └── shell.nix │ ├── hellolib │ ├── app.nix │ ├── ci.nix │ ├── default.nix │ ├── hellolib │ │ ├── __init__.py │ │ └── hellolib.py │ ├── nixpkgs.nix │ ├── setup.py │ └── shell.nix │ ├── nixpkgs.nix │ └── server │ ├── app.nix │ ├── ci.nix │ ├── default.nix │ ├── module.nix │ ├── nixpkgs.nix │ ├── server │ ├── __init__.py │ ├── application │ │ ├── __init__.py │ │ ├── answer_service.py │ │ └── hello_service.py │ ├── domain │ │ ├── __init__.py │ │ ├── answer.py │ │ ├── answer_repository.py │ │ └── hello_repository.py │ ├── presentation │ │ ├── __init__.py │ │ ├── answer.py │ │ └── hello.py │ └── server.py │ ├── setup.py │ └── shell.nix ├── template ├── .circleci │ ├── config-docker.yml │ └── config.yml ├── .github │ └── workflows │ │ └── main.yml ├── .gitlab-ci.yml ├── .travis.yml ├── Jenkinsfile ├── README.md ├── app.nix ├── cd-nixos.nix ├── cd-vbox.nix ├── cd.nix ├── ci.nix ├── cicd.sh ├── default.nix ├── module.nix ├── nixpkgs.nix └── shell.nix └── web ├── FastAPI └── fastapi │ ├── .gitignore │ ├── app.nix │ ├── app │ ├── __init__.py │ ├── main.py │ └── scripts │ │ ├── __init__.py │ │ └── run.py │ ├── cd-nixos.nix │ ├── cd-vbox.nix │ ├── cd.nix │ ├── ci.nix │ ├── cicd.sh │ ├── default.nix │ ├── module.nix │ ├── nixpkgs.nix │ ├── poetry.lock │ ├── pyproject.toml │ ├── shell.nix │ └── tests │ ├── __init__.py │ ├── conftest.py │ └── test_api.py └── Laravel └── laravel ├── .editorconfig ├── .env.example ├── .gitattributes ├── .gitignore ├── .styleci.yml ├── README.md ├── app.nix ├── app ├── Console │ └── Kernel.php ├── Exceptions │ └── Handler.php ├── Foundation │ └── Application.php ├── Http │ ├── Controllers │ │ ├── Auth │ │ │ ├── ConfirmPasswordController.php │ │ │ ├── ForgotPasswordController.php │ │ │ ├── LoginController.php │ │ │ ├── RegisterController.php │ │ │ ├── ResetPasswordController.php │ │ │ └── VerificationController.php │ │ └── Controller.php │ ├── Kernel.php │ └── Middleware │ │ ├── Authenticate.php │ │ ├── CheckForMaintenanceMode.php │ │ ├── EncryptCookies.php │ │ ├── RedirectIfAuthenticated.php │ │ ├── TrimStrings.php │ │ ├── TrustProxies.php │ │ └── VerifyCsrfToken.php ├── Providers │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── BroadcastServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php └── User.php ├── artisan ├── bootstrap ├── app.php └── cache │ └── .gitignore ├── cd-nixos.nix ├── cd-vbox.nix ├── cd.nix ├── ci.nix ├── cicd.sh ├── composer.json ├── composer.lock ├── config ├── app.php ├── auth.php ├── broadcasting.php ├── cache.php ├── database.php ├── filesystems.php ├── hashing.php ├── logging.php ├── mail.php ├── queue.php ├── services.php ├── session.php └── view.php ├── database ├── .gitignore ├── factories │ └── UserFactory.php ├── migrations │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2014_10_12_100000_create_password_resets_table.php │ └── 2019_08_19_000000_create_failed_jobs_table.php └── seeds │ └── DatabaseSeeder.php ├── default.nix ├── logs └── laravel-2020-02-25.log ├── module.nix ├── nixpkgs.nix ├── package-lock.json ├── package.json ├── phpunit.xml ├── public ├── .htaccess ├── css │ └── app.css ├── favicon.ico ├── index.php ├── js │ └── app.js ├── mix-manifest.json ├── robots.txt └── web.config ├── resources ├── js │ ├── app.js │ └── bootstrap.js ├── lang │ └── en │ │ ├── auth.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ └── validation.php ├── sass │ └── app.scss └── views │ └── welcome.blade.php ├── routes ├── api.php ├── channels.php ├── console.php └── web.php ├── server.php ├── shell.nix ├── storage ├── app │ ├── .gitignore │ └── public │ │ └── .gitignore ├── framework │ ├── .gitignore │ ├── cache │ │ ├── .gitignore │ │ └── data │ │ │ └── .gitignore │ ├── sessions │ │ └── .gitignore │ ├── testing │ │ └── .gitignore │ └── views │ │ └── .gitignore └── logs │ └── .gitignore ├── tests ├── CreatesApplication.php ├── Feature │ └── ExampleTest.php ├── TestCase.php └── Unit │ └── ExampleTest.php └── webpack.mix.js /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_style = space 8 | indent_size = 4 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | 14 | [*.nix] 15 | indent_style = space 16 | indent_size = 2 17 | 18 | [*.sh] 19 | indent_style = space 20 | indent_size = 4 21 | 22 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | desktop/** linguist-vendored 3 | desktop/**/*.nix -linguist-vendored 4 | distributed/** linguist-vendored 5 | distributed/**/*.nix -linguist-vendored 6 | mobile/** linguist-vendored 7 | mobile/**/*.nix -linguist-vendored 8 | multitier/** linguist-vendored 9 | multitier/**/*.nix -linguist-vendored 10 | web/** linguist-vendored 11 | web/**/*.nix -linguist-vendored 12 | nixpkgs-* export-ignore 13 | 14 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | on: 3 | pull_request: 4 | push: 5 | schedule: 6 | - cron: '0 12 * * *' 7 | jobs: 8 | pipeline: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - uses: actions/checkout@v2 12 | - uses: cachix/install-nix-action@v8 13 | 14 | - name: Build all examples 15 | run: | 16 | nix-build -A examplesBuilds 17 | 18 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | Tomáš Vlk 2 | 3 | -------------------------------------------------------------------------------- /desktop/C/hello/ChangeLog.O: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/ChangeLog.O -------------------------------------------------------------------------------- /desktop/C/hello/THANKS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/THANKS -------------------------------------------------------------------------------- /desktop/C/hello/TODO: -------------------------------------------------------------------------------- 1 | GNU hello --- TODO 2 | 3 | Todo: 4 | 5 | * submit a new hello.pot. 6 | 7 | end of file TODO 8 | -------------------------------------------------------------------------------- /desktop/C/hello/build-aux/snippet/_Noreturn.h: -------------------------------------------------------------------------------- 1 | #if !defined _Noreturn && __STDC_VERSION__ < 201112 2 | # if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \ 3 | || 0x5110 <= __SUNPRO_C) 4 | # define _Noreturn __attribute__ ((__noreturn__)) 5 | # elif 1200 <= _MSC_VER 6 | # define _Noreturn __declspec (noreturn) 7 | # else 8 | # define _Noreturn 9 | # endif 10 | #endif 11 | -------------------------------------------------------------------------------- /desktop/C/hello/contrib/de_franconian_po.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/contrib/de_franconian_po.txt -------------------------------------------------------------------------------- /desktop/C/hello/contrib/evolution.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/contrib/evolution.txt -------------------------------------------------------------------------------- /desktop/C/hello/default.nix: -------------------------------------------------------------------------------- 1 | { nixpkgsSource ? null, localFiles ? true }: 2 | 3 | let 4 | nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource localFiles; }; 5 | pkgs = nixpkgs.pkgs; 6 | lib = nixpkgs.lib; 7 | appPackage = nixpkgs.appPackage; 8 | in 9 | 10 | builtins.trace "Nixpkgs version: ${lib.version}" 11 | builtins.trace "Use local files: ${lib.boolToString localFiles}" 12 | 13 | appPackage 14 | -------------------------------------------------------------------------------- /desktop/C/hello/doc/stamp-vti: -------------------------------------------------------------------------------- 1 | @set UPDATED 19 July 2014 2 | @set UPDATED-MONTH July 2014 3 | @set EDITION 2.10 4 | @set VERSION 2.10 5 | -------------------------------------------------------------------------------- /desktop/C/hello/doc/version.texi: -------------------------------------------------------------------------------- 1 | @set UPDATED 19 July 2014 2 | @set UPDATED-MONTH July 2014 3 | @set EDITION 2.10 4 | @set VERSION 2.10 5 | -------------------------------------------------------------------------------- /desktop/C/hello/lib/close-stream.h: -------------------------------------------------------------------------------- 1 | #include 2 | int close_stream (FILE *stream); 3 | -------------------------------------------------------------------------------- /desktop/C/hello/lib/local.mk: -------------------------------------------------------------------------------- 1 | include lib/gnulib.mk 2 | 3 | # Allow "make distdir" to succeed before "make all" has run. 4 | dist-hook: $(noinst_LIBRARIES) 5 | .PHONY: dist-hook 6 | -------------------------------------------------------------------------------- /desktop/C/hello/lib/memchr.valgrind: -------------------------------------------------------------------------------- 1 | # Suppress a valgrind message about use of uninitialized memory in memchr(). 2 | # POSIX states that when the character is found, memchr must not read extra 3 | # bytes in an overestimated length (for example, where memchr is used to 4 | # implement strnlen). However, we use a safe word read to provide a speedup. 5 | { 6 | memchr-value4 7 | Memcheck:Value4 8 | fun:rpl_memchr 9 | } 10 | { 11 | memchr-value8 12 | Memcheck:Value8 13 | fun:rpl_memchr 14 | } 15 | -------------------------------------------------------------------------------- /desktop/C/hello/lib/unistd.c: -------------------------------------------------------------------------------- 1 | #include 2 | #define _GL_UNISTD_INLINE _GL_EXTERN_INLINE 3 | #include "unistd.h" 4 | -------------------------------------------------------------------------------- /desktop/C/hello/lib/wctype-h.c: -------------------------------------------------------------------------------- 1 | /* Normally this would be wctype.c, but that name's already taken. */ 2 | #include 3 | #define _GL_WCTYPE_INLINE _GL_EXTERN_INLINE 4 | #include "wctype.h" 5 | -------------------------------------------------------------------------------- /desktop/C/hello/m4/close-stream.m4: -------------------------------------------------------------------------------- 1 | #serial 4 2 | dnl Copyright (C) 2006-2007, 2009-2014 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl Prerequisites of lib/close-stream.c. 8 | AC_DEFUN([gl_CLOSE_STREAM], 9 | [ 10 | : 11 | ]) 12 | -------------------------------------------------------------------------------- /desktop/C/hello/m4/closeout.m4: -------------------------------------------------------------------------------- 1 | # closeout.m4 serial 6 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2014 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | dnl Prerequisites of lib/closeout.c. 9 | AC_DEFUN([gl_CLOSEOUT], 10 | [ 11 | : 12 | ]) 13 | -------------------------------------------------------------------------------- /desktop/C/hello/m4/msvc-nothrow.m4: -------------------------------------------------------------------------------- 1 | # msvc-nothrow.m4 serial 1 2 | dnl Copyright (C) 2011-2014 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_MSVC_NOTHROW], 8 | [ 9 | AC_REQUIRE([gl_MSVC_INVAL]) 10 | ]) 11 | -------------------------------------------------------------------------------- /desktop/C/hello/m4/off_t.m4: -------------------------------------------------------------------------------- 1 | # off_t.m4 serial 1 2 | dnl Copyright (C) 2012-2014 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl Check whether to override the 'off_t' type. 8 | dnl Set WINDOWS_64_BIT_OFF_T. 9 | 10 | AC_DEFUN([gl_TYPE_OFF_T], 11 | [ 12 | m4_ifdef([gl_LARGEFILE], [ 13 | AC_REQUIRE([gl_LARGEFILE]) 14 | ], [ 15 | WINDOWS_64_BIT_OFF_T=0 16 | ]) 17 | AC_SUBST([WINDOWS_64_BIT_OFF_T]) 18 | ]) 19 | -------------------------------------------------------------------------------- /desktop/C/hello/m4/quotearg.m4: -------------------------------------------------------------------------------- 1 | # quotearg.m4 serial 9 2 | dnl Copyright (C) 2002, 2004-2014 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_QUOTEARG], 8 | [ 9 | : 10 | ]) 11 | -------------------------------------------------------------------------------- /desktop/C/hello/m4/xalloc.m4: -------------------------------------------------------------------------------- 1 | # xalloc.m4 serial 18 2 | dnl Copyright (C) 2002-2006, 2009-2014 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_XALLOC], [:]) 8 | -------------------------------------------------------------------------------- /desktop/C/hello/m4/xstrndup.m4: -------------------------------------------------------------------------------- 1 | # xstrndup.m4 serial 2 2 | dnl Copyright (C) 2003, 2009-2014 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_XSTRNDUP], 8 | [ 9 | gl_PREREQ_XSTRNDUP 10 | ]) 11 | 12 | # Prerequisites of lib/xstrndup.c. 13 | AC_DEFUN([gl_PREREQ_XSTRNDUP], [ 14 | : 15 | ]) 16 | -------------------------------------------------------------------------------- /desktop/C/hello/man/hello.x: -------------------------------------------------------------------------------- 1 | [NAME] 2 | hello - friendly greeting program 3 | [ADDITIONAL INFORMATION] 4 | See 5 | .UR http://git.savannah.gnu.org/cgit/hello.git/tree/man/hello.x 6 | man/hello.x 7 | .UE 8 | how to add addtional information to a manual page. 9 | -------------------------------------------------------------------------------- /desktop/C/hello/module.nix: -------------------------------------------------------------------------------- 1 | { config, lib, pkgs, ... }: 2 | 3 | with lib; 4 | 5 | let 6 | pkg = pkgs.hello; 7 | in 8 | { 9 | config = { 10 | environment.systemPackages = [ pkg ]; 11 | }; 12 | } 13 | -------------------------------------------------------------------------------- /desktop/C/hello/po/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/ChangeLog -------------------------------------------------------------------------------- /desktop/C/hello/po/LINGUAS: -------------------------------------------------------------------------------- 1 | bg 2 | ca 3 | da 4 | de 5 | el 6 | eo 7 | es 8 | et 9 | eu 10 | fa 11 | fi 12 | fr 13 | ga 14 | gl 15 | he 16 | hr 17 | hu 18 | id 19 | it 20 | ja 21 | ka 22 | ko 23 | lv 24 | ms 25 | nb 26 | nl 27 | nn 28 | pl 29 | pt 30 | pt_BR 31 | ro 32 | ru 33 | sk 34 | sl 35 | sr 36 | sv 37 | th 38 | tr 39 | uk 40 | vi 41 | zh_CN 42 | zh_TW 43 | -------------------------------------------------------------------------------- /desktop/C/hello/po/POTFILES.in: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2005, 2006, 2014 Free Software Foundation, Inc. 2 | # 3 | # Copying and distribution of this file, with or without modification, 4 | # are permitted in any medium without royalty provided the copyright 5 | # notice and this notice are preserved. 6 | # 7 | # List of source files containing translatable strings. 8 | 9 | # Package source files. 10 | src/hello.c 11 | 12 | # Gnulib source files. 13 | lib/error.c 14 | lib/getopt.c 15 | lib/closeout.c 16 | lib/quotearg.c 17 | lib/xalloc-die.c 18 | -------------------------------------------------------------------------------- /desktop/C/hello/po/bg.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/bg.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/boldquot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | s/“/“/g 8 | s/”/”/g 9 | s/‘/‘/g 10 | s/’/’/g 11 | -------------------------------------------------------------------------------- /desktop/C/hello/po/ca.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/ca.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/da.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/da.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/da.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/da.po -------------------------------------------------------------------------------- /desktop/C/hello/po/de.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/de.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/el.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/el.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/eo.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/eo.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/es.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/es.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/et.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/et.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/et.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/et.po -------------------------------------------------------------------------------- /desktop/C/hello/po/eu.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/eu.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/fa.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/fa.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/fi.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/fi.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/fr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/fr.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/ga.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/ga.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/gl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/gl.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/he.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/he.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/he.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/he.po -------------------------------------------------------------------------------- /desktop/C/hello/po/hr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/hr.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/hu.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/hu.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/id.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/id.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/it.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/it.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/it.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/it.po -------------------------------------------------------------------------------- /desktop/C/hello/po/ja.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/ja.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/ja.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/ja.po -------------------------------------------------------------------------------- /desktop/C/hello/po/ka.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/ka.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/ko.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/ko.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/lv.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/lv.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/ms.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/ms.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/nb.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/nb.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/nl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/nl.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/nn.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/nn.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/nn.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/nn.po -------------------------------------------------------------------------------- /desktop/C/hello/po/pl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/pl.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/pt.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/pt.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/pt.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/pt.po -------------------------------------------------------------------------------- /desktop/C/hello/po/pt_BR.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/pt_BR.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/quot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | -------------------------------------------------------------------------------- /desktop/C/hello/po/remove-potcdate.sin: -------------------------------------------------------------------------------- 1 | # Sed script that remove the POT-Creation-Date line in the header entry 2 | # from a POT file. 3 | # 4 | # The distinction between the first and the following occurrences of the 5 | # pattern is achieved by looking at the hold space. 6 | /^"POT-Creation-Date: .*"$/{ 7 | x 8 | # Test if the hold space is empty. 9 | s/P/P/ 10 | ta 11 | # Yes it was empty. First occurrence. Remove the line. 12 | g 13 | d 14 | bb 15 | :a 16 | # The hold space was nonempty. Following occurrences. Do nothing. 17 | x 18 | :b 19 | } 20 | -------------------------------------------------------------------------------- /desktop/C/hello/po/ro.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/ro.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/ro.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/ro.po -------------------------------------------------------------------------------- /desktop/C/hello/po/ru.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/ru.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/sk.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/sk.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/sl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/sl.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/sr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/sr.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/stamp-po: -------------------------------------------------------------------------------- 1 | timestamp 2 | -------------------------------------------------------------------------------- /desktop/C/hello/po/sv.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/sv.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/th.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/th.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/tr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/tr.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/uk.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/uk.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/vi.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/vi.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/zh_CN.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/zh_CN.gmo -------------------------------------------------------------------------------- /desktop/C/hello/po/zh_TW.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/C/hello/po/zh_TW.gmo -------------------------------------------------------------------------------- /desktop/C/hello/shell.nix: -------------------------------------------------------------------------------- 1 | { nixpkgsSource ? null }: 2 | 3 | let 4 | nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource; localFiles = true; }; 5 | pkgs = nixpkgs.pkgs; 6 | lib = nixpkgs.lib; 7 | appPackage = nixpkgs.appPackage; 8 | in 9 | pkgs.mkShell { 10 | inputsFrom = [ appPackage ]; 11 | src = null; 12 | } 13 | -------------------------------------------------------------------------------- /desktop/Go/hello/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/Go/hello/.gitignore -------------------------------------------------------------------------------- /desktop/Go/hello/default.nix: -------------------------------------------------------------------------------- 1 | { nixpkgsSource ? null, localFiles ? true }: 2 | 3 | let 4 | nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource localFiles; }; 5 | pkgs = nixpkgs.pkgs; 6 | lib = nixpkgs.lib; 7 | appPackage = nixpkgs.appPackage; 8 | in 9 | 10 | builtins.trace "Nixpkgs version: ${lib.version}" 11 | builtins.trace "Use local files: ${lib.boolToString localFiles}" 12 | 13 | appPackage 14 | -------------------------------------------------------------------------------- /desktop/Go/hello/go.mod: -------------------------------------------------------------------------------- 1 | module main 2 | 3 | go 1.13 4 | 5 | require rsc.io/quote v1.5.2 6 | -------------------------------------------------------------------------------- /desktop/Go/hello/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c h1:qgOY6WgZOaTkIIMiVjBQcw93ERBE4m30iBm00nkL0i8= 2 | golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 3 | rsc.io/quote v1.5.2 h1:w5fcysjrx7yqtD/aO+QwRjYZOKnaM9Uh2b40tElTs3Y= 4 | rsc.io/quote v1.5.2/go.mod h1:LzX7hefJvL54yjefDEDHNONDjII0t9xZLPXsUe+TKr0= 5 | rsc.io/sampler v1.3.0 h1:7uVkIFmeBqHfdjD+gZwtXXI+RODJ2Wc4O7MPEh/QiW4= 6 | rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= 7 | -------------------------------------------------------------------------------- /desktop/Go/hello/hello.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "rsc.io/quote" 6 | ) 7 | 8 | func main() { 9 | fmt.Println("Hello, world!") 10 | fmt.Println(quote.Hello()) 11 | } 12 | 13 | -------------------------------------------------------------------------------- /desktop/Go/hello/module.nix: -------------------------------------------------------------------------------- 1 | { config, lib, pkgs, ... }: 2 | 3 | with lib; 4 | 5 | let 6 | pkg = pkgs.hello; 7 | in 8 | { 9 | config = { 10 | environment.systemPackages = [ pkg ]; 11 | }; 12 | } 13 | -------------------------------------------------------------------------------- /desktop/Haskell/answer-generated/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/Haskell/answer-generated/.gitignore -------------------------------------------------------------------------------- /desktop/Haskell/answer-generated/answer.cabal: -------------------------------------------------------------------------------- 1 | name: answer 2 | version: 0.1.0.0 3 | build-type: Simple 4 | license: BSD3 5 | cabal-version: >=1.10 6 | 7 | executable answer 8 | hs-source-dirs: src 9 | main-is: Main.hs 10 | ghc-options: -threaded -rtsopts -with-rtsopts=-N 11 | build-depends: base, protolude 12 | default-language: Haskell2010 13 | -------------------------------------------------------------------------------- /desktop/Haskell/answer-generated/default.nix: -------------------------------------------------------------------------------- 1 | { nixpkgsSource ? null, localFiles ? true }: 2 | 3 | let 4 | nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource localFiles; }; 5 | pkgs = nixpkgs.pkgs; 6 | lib = nixpkgs.lib; 7 | appPackage = nixpkgs.appPackage; 8 | in 9 | 10 | builtins.trace "Nixpkgs version: ${lib.version}" 11 | builtins.trace "Use local files: ${lib.boolToString localFiles}" 12 | 13 | appPackage 14 | -------------------------------------------------------------------------------- /desktop/Haskell/answer-generated/module.nix: -------------------------------------------------------------------------------- 1 | { config, lib, pkgs, ... }: 2 | 3 | with lib; 4 | 5 | let 6 | pkg = pkgs.answer-generated; 7 | in 8 | { 9 | config = { 10 | environment.systemPackages = [ pkg ]; 11 | }; 12 | } 13 | -------------------------------------------------------------------------------- /desktop/Haskell/answer-generated/src/Main.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE NoImplicitPrelude #-} 2 | {-# LANGUAGE TypeApplications #-} 3 | 4 | 5 | module Main where 6 | 7 | import Protolude 8 | 9 | import Text.Printf (printf) 10 | 11 | 12 | main :: IO () 13 | main = putStrLn @ [Char] . printf template $ (42 :: Int) 14 | where 15 | template = 16 | "Answer to the Ultimate Question of Life,\n\ 17 | \ the Universe, and Everything: %d" 18 | -------------------------------------------------------------------------------- /desktop/Haskell/answer-generated/stack.yaml: -------------------------------------------------------------------------------- 1 | # stack.yaml docs: 2 | # https://docs.haskellstack.org/en/stable/yaml_configuration/ 3 | 4 | resolver: lts-13.26 5 | 6 | packages: 7 | - . 8 | 9 | extra-deps: [] 10 | 11 | flags: {} 12 | 13 | extra-package-dbs: [] 14 | 15 | -------------------------------------------------------------------------------- /desktop/Haskell/answer/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/Haskell/answer/.gitignore -------------------------------------------------------------------------------- /desktop/Haskell/answer/answer.cabal: -------------------------------------------------------------------------------- 1 | name: answer 2 | version: 0.1.0.0 3 | build-type: Simple 4 | license: BSD3 5 | cabal-version: >=1.10 6 | 7 | executable answer 8 | hs-source-dirs: src 9 | main-is: Main.hs 10 | ghc-options: -threaded -rtsopts -with-rtsopts=-N 11 | build-depends: base, protolude 12 | default-language: Haskell2010 13 | -------------------------------------------------------------------------------- /desktop/Haskell/answer/default.nix: -------------------------------------------------------------------------------- 1 | { nixpkgsSource ? null, localFiles ? true }: 2 | 3 | let 4 | nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource localFiles; }; 5 | pkgs = nixpkgs.pkgs; 6 | lib = nixpkgs.lib; 7 | appPackage = nixpkgs.appPackage; 8 | in 9 | 10 | builtins.trace "Nixpkgs version: ${lib.version}" 11 | builtins.trace "Use local files: ${lib.boolToString localFiles}" 12 | 13 | appPackage 14 | -------------------------------------------------------------------------------- /desktop/Haskell/answer/module.nix: -------------------------------------------------------------------------------- 1 | { config, lib, pkgs, ... }: 2 | 3 | with lib; 4 | 5 | let 6 | pkg = pkgs.answer; 7 | in 8 | { 9 | config = { 10 | environment.systemPackages = [ pkg ]; 11 | }; 12 | } 13 | -------------------------------------------------------------------------------- /desktop/Haskell/answer/src/Main.hs: -------------------------------------------------------------------------------- 1 | {-# LANGUAGE NoImplicitPrelude #-} 2 | {-# LANGUAGE TypeApplications #-} 3 | 4 | 5 | module Main where 6 | 7 | import Protolude 8 | 9 | import Text.Printf (printf) 10 | 11 | 12 | main :: IO () 13 | main = putStrLn @ [Char] . printf template $ (42 :: Int) 14 | where 15 | template = 16 | "Answer to the Ultimate Question of Life,\n\ 17 | \ the Universe, and Everything: %d" 18 | -------------------------------------------------------------------------------- /desktop/Haskell/answer/stack.yaml: -------------------------------------------------------------------------------- 1 | # stack.yaml docs: 2 | # https://docs.haskellstack.org/en/stable/yaml_configuration/ 3 | 4 | resolver: lts-13.26 5 | 6 | packages: 7 | - . 8 | 9 | extra-deps: [] 10 | 11 | flags: {} 12 | 13 | extra-package-dbs: [] 14 | 15 | -------------------------------------------------------------------------------- /desktop/Java/ant-dateutils/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/Java/ant-dateutils/.gitignore -------------------------------------------------------------------------------- /desktop/Java/ant-dateutils/default.nix: -------------------------------------------------------------------------------- 1 | { nixpkgsSource ? null, localFiles ? true }: 2 | 3 | let 4 | nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource localFiles; }; 5 | pkgs = nixpkgs.pkgs; 6 | lib = nixpkgs.lib; 7 | appPackage = nixpkgs.appPackage; 8 | in 9 | 10 | builtins.trace "Nixpkgs version: ${lib.version}" 11 | builtins.trace "Use local files: ${lib.boolToString localFiles}" 12 | 13 | appPackage 14 | -------------------------------------------------------------------------------- /desktop/Java/ant-dateutils/module.nix: -------------------------------------------------------------------------------- 1 | { config, lib, pkgs, ... }: 2 | 3 | with lib; 4 | 5 | let 6 | pkg = pkgs.ant-dateutils; 7 | in 8 | { 9 | config = { 10 | environment.systemPackages = [ pkg ]; 11 | }; 12 | } 13 | -------------------------------------------------------------------------------- /desktop/Java/ant-dateutils/shell.nix: -------------------------------------------------------------------------------- 1 | { nixpkgsSource ? null }: 2 | 3 | let 4 | nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource; localFiles = true; }; 5 | pkgs = nixpkgs.pkgs; 6 | lib = nixpkgs.lib; 7 | appPackage = nixpkgs.appPackage; 8 | in 9 | pkgs.mkShell { 10 | inputsFrom = [ appPackage ]; 11 | src = null; 12 | } 13 | -------------------------------------------------------------------------------- /desktop/Java/ant-dateutils/src/com/mkyong/core/utils/DateUtils.java: -------------------------------------------------------------------------------- 1 | package com.mkyong.core.utils; 2 | 3 | import java.util.Date; 4 | import java.util.Calendar; 5 | import java.util.GregorianCalendar; 6 | 7 | public class DateUtils { 8 | 9 | public static void main(String[] args) { 10 | 11 | System.out.println(getCurrentYear()); 12 | 13 | } 14 | 15 | private static int getCurrentYear() { 16 | 17 | Calendar calendar = new GregorianCalendar(); 18 | calendar.setTime(new Date()); 19 | int year = calendar.get(Calendar.YEAR); 20 | 21 | return year; 22 | 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /desktop/Java/gs-gradle/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/Java/gs-gradle/.gitignore -------------------------------------------------------------------------------- /desktop/Java/gs-gradle/default.nix: -------------------------------------------------------------------------------- 1 | { nixpkgsSource ? null, localFiles ? true }: 2 | 3 | let 4 | nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource localFiles; }; 5 | pkgs = nixpkgs.pkgs; 6 | lib = nixpkgs.lib; 7 | appPackage = nixpkgs.appPackage; 8 | in 9 | 10 | builtins.trace "Nixpkgs version: ${lib.version}" 11 | builtins.trace "Use local files: ${lib.boolToString localFiles}" 12 | 13 | appPackage 14 | -------------------------------------------------------------------------------- /desktop/Java/gs-gradle/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/Java/gs-gradle/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /desktop/Java/gs-gradle/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /desktop/Java/gs-gradle/module.nix: -------------------------------------------------------------------------------- 1 | { config, lib, pkgs, ... }: 2 | 3 | with lib; 4 | 5 | let 6 | pkg = pkgs.gs-gradle; 7 | in 8 | { 9 | config = { 10 | environment.systemPackages = [ pkg ]; 11 | }; 12 | } 13 | -------------------------------------------------------------------------------- /desktop/Java/gs-gradle/shell.nix: -------------------------------------------------------------------------------- 1 | { nixpkgsSource ? null }: 2 | 3 | let 4 | nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource; localFiles = true; }; 5 | pkgs = nixpkgs.pkgs; 6 | lib = nixpkgs.lib; 7 | appPackage = nixpkgs.appPackage; 8 | in 9 | pkgs.mkShell { 10 | inputsFrom = [ appPackage ]; 11 | src = null; 12 | } 13 | -------------------------------------------------------------------------------- /desktop/Java/gs-gradle/src/main/java/hello/Greeter.java: -------------------------------------------------------------------------------- 1 | package hello; 2 | 3 | public class Greeter { 4 | public String sayHello() { 5 | return "Hello world!"; 6 | } 7 | } -------------------------------------------------------------------------------- /desktop/Java/gs-gradle/src/main/java/hello/HelloWorld.java: -------------------------------------------------------------------------------- 1 | package hello; 2 | 3 | import org.joda.time.LocalDate; 4 | 5 | public class HelloWorld { 6 | public static void main(String[] args) { 7 | LocalDate currentDate = new LocalDate(); 8 | System.out.println("The current year is: " + currentDate.getYear()); 9 | 10 | Greeter greeter = new Greeter(); 11 | System.out.println(greeter.sayHello()); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /desktop/Java/spring-boot/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /desktop/Java/spring-boot/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/Java/spring-boot/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /desktop/Java/spring-boot/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar 3 | -------------------------------------------------------------------------------- /desktop/Java/spring-boot/default.nix: -------------------------------------------------------------------------------- 1 | { nixpkgsSource ? null, localFiles ? true }: 2 | 3 | let 4 | nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource localFiles; }; 5 | pkgs = nixpkgs.pkgs; 6 | lib = nixpkgs.lib; 7 | appPackage = nixpkgs.appPackage; 8 | in 9 | 10 | builtins.trace "Nixpkgs version: ${lib.version}" 11 | builtins.trace "Use local files: ${lib.boolToString localFiles}" 12 | 13 | appPackage 14 | -------------------------------------------------------------------------------- /desktop/Java/spring-boot/module.nix: -------------------------------------------------------------------------------- 1 | { config, lib, pkgs, ... }: 2 | 3 | with lib; 4 | 5 | let 6 | pkg = pkgs.spring-boot; 7 | in 8 | { 9 | config = { 10 | environment.systemPackages = [ pkg ]; 11 | }; 12 | } 13 | -------------------------------------------------------------------------------- /desktop/Java/spring-boot/shell.nix: -------------------------------------------------------------------------------- 1 | { nixpkgsSource ? null }: 2 | 3 | let 4 | nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource; localFiles = true; }; 5 | pkgs = nixpkgs.pkgs; 6 | lib = nixpkgs.lib; 7 | appPackage = nixpkgs.appPackage; 8 | in 9 | pkgs.mkShell { 10 | inputsFrom = [ appPackage ]; 11 | src = null; 12 | shellHook = '' 13 | alias mvn='mvn -Dmaven.repo.local="${appPackage.deps}"' 14 | ''; 15 | } 16 | -------------------------------------------------------------------------------- /desktop/Java/spring-boot/src/main/java/com/example/demo/DemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class DemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(DemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /desktop/Java/spring-boot/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /desktop/Java/spring-boot/src/test/java/com/example/demo/DemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class DemoApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .* 3 | !.gitignore 4 | !.travis.yml 5 | build 6 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 4 4 | - 6 5 | sudo: false 6 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/cows/C3PO.cow: -------------------------------------------------------------------------------- 1 | # C3PO 2 | # 3 | # adapted from 'telnet -e x towel.blinkenlights.nl' 4 | $the_cow = <_ 10 | (\\) ) 11 | \\__/ 12 | (____) 13 | | | 14 | |__| 15 | /____\\ 16 | (______) 17 | EOC 18 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/cows/bong.cow: -------------------------------------------------------------------------------- 1 | ## 2 | ## A cow with a bong, from lars@csua.berkeley.edu 3 | ## 4 | $the_cow = < 、 _ ィ 14 | /  ̄ ヽ 15 | / | iヽ 16 | |\| |/| 17 | | ||/\/\/\/ | | 18 | EOC 19 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/cows/clippy.cow: -------------------------------------------------------------------------------- 1 | # Clippy 2 | # 3 | # from http://www.reddit.com/r/commandline/comments/2lb5ij/what_is_your_favorite_ascii_art/cltg01p 4 | # 5 | $the_cow = <=G===' '. 8 | |======| 9 | |======| 10 | )--/]IIIIII] 11 | |_______| 12 | C O O O D 13 | C O O O D 14 | C O O O D 15 | C__O__O__O__D 16 | snd [_____________] 17 | EOC 18 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/cows/default.cow: -------------------------------------------------------------------------------- 1 | $the_cow = <<"EOC"; 2 | $thoughts ^__^ 3 | $thoughts ($eyes)\\_______ 4 | (__)\\ )\\/\\ 5 | $tongue ||----w | 6 | || || 7 | EOC 8 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/cows/docker-whale.cow: -------------------------------------------------------------------------------- 1 | ## 2 | ## docker whale 3 | ## 4 | $the_cow = < $eye\\ _~ 9 | `;'\\\\__-' \\_ 10 | | ) _ \\ \\ 11 | / / `` w w 12 | w w 13 | EOC 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/cows/goat2.cow: -------------------------------------------------------------------------------- 1 | # 2 | # CodeGoat.io: https://github.com/danyshaanan/goatsay 3 | # 4 | $the_cow = < 21 | EOC 22 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/cows/minotaur.cow: -------------------------------------------------------------------------------- 1 | $the_cow = <<"EOC"; 2 | $thoughts ^__^ 3 | $thoughts ($eyes) 4 | (__) 5 | /-||-\\ 6 | \\|\\/|/ 7 | o==o 8 | |||| 9 | ()() 10 | EOC 11 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/cows/moofasa.cow: -------------------------------------------------------------------------------- 1 | ## 2 | ## MOOfasa. 3 | ## 4 | $the_cow = < 11 | \\__/ 12 | (____) 13 | | | 14 | | | 15 | |__| 16 | /____\\ 17 | (______) 18 | (________) 19 | EOC 20 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/cows/ren.cow: -------------------------------------------------------------------------------- 1 | ## 2 | ## Ren 3 | ## 4 | $the_cow = < ____; ; |/\\><| ____ _<) 13 | {____/ \\_________________/ \\____} 14 | \\ '' / \\ '' / 15 | jgs '--' '--' 16 | EOC 17 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/cows/telebears.cow: -------------------------------------------------------------------------------- 1 | ## 2 | ## A cow performing an unnatural act, artist unknown. 3 | ## 4 | $the_cow = <> 12 | EOC 13 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/cows/template.cow: -------------------------------------------------------------------------------- 1 | # 2 | $the_cow = < 9 | /_/ \\_\\ 10 | EOC 11 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/cows/tux.cow: -------------------------------------------------------------------------------- 1 | ## 2 | ## TuX 3 | ## (c) pborys@p-soft.silesia.linux.org.pl 4 | ## 5 | $the_cow = <.' 8 | '-:_ ) / `' '=. 9 | ) > {_/, /~) 10 | snd |/ `^ .' 11 | EOC 12 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/cows/www.cow: -------------------------------------------------------------------------------- 1 | ## 2 | ## A cow wadvertising the World Wide Web, from lim@csua.berkeley.edu 3 | ## 4 | $the_cow = <-'-゚-'`゚u 22 | ーi-i~i-i~ 23 | |.| |.| 24 | |-| |-| 25 | ヒコ ヒコ 26 | EOC 27 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/cows/yasuna_10.cow: -------------------------------------------------------------------------------- 1 | # 2 | # 何でそういうときだけ凄そうなの! 3 | # 4 | 5 | $the_cow = <|:::::|<\/\// 18 | \ :::>TヌT<::: / 19 | Y : \W/ : Y 20 | EOC 21 | -------------------------------------------------------------------------------- /desktop/JavaScript/cowsay-fod/cows/yasuna_12.cow: -------------------------------------------------------------------------------- 1 | # 2 | # からあげ 3 | # 4 | 5 | $the_cow = < 2 | 3 | 4 | 5 | Cowsay 6 | 7 | 8 | 9 |

10 |     
17 |   
18 | 
19 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay-fod/test.js:
--------------------------------------------------------------------------------
1 | require("nodeunit").reporters.default.run(['test']);


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay-fod/test/faces.js:
--------------------------------------------------------------------------------
 1 | var getFace = require("../lib/faces");
 2 | 
 3 | exports.getFace = function (test) {
 4 | 	test.expect(4);
 5 | 
 6 | 	// Defaults
 7 | 	var face = getFace({
 8 | 		e : "oo",
 9 | 		T : "  "
10 | 	});
11 | 	test.equal(face.eyes, "oo");
12 | 	test.equal(face.tongue, "  ");
13 | 
14 | 	// One mode
15 | 	var face = getFace({
16 | 		g : true,
17 | 		e : "oo",
18 | 		T : "  "
19 | 	});
20 | 	test.equal(face.eyes, "$$");
21 | 	test.equal(face.tongue, "  ");
22 | 
23 | 	// I don't really want to test two modes
24 | 	test.done();
25 | }


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .*
3 | !.gitignore
4 | !.travis.yml
5 | build
6 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 |   - 4
4 |   - 6
5 | sudo: false
6 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/cows/C3PO.cow:
--------------------------------------------------------------------------------
 1 | # C3PO
 2 | #
 3 | # adapted from 'telnet -e x towel.blinkenlights.nl'
 4 | $the_cow = <_
10 |   (\\)  )
11 |    \\__/
12 |   (____)
13 |    |  |
14 |    |__|
15 |   /____\\
16 |  (______)
17 | EOC
18 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/cows/bong.cow:
--------------------------------------------------------------------------------
 1 | ##
 2 | ## A cow with a bong, from lars@csua.berkeley.edu
 3 | ##
 4 | $the_cow = <  、 _      ィ
14 |     /         ̄    ヽ
15 |    /  |              iヽ
16 |    |\|              |/|
17 |    |  ||/\/\/\/ | |
18 | EOC
19 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/cows/clippy.cow:
--------------------------------------------------------------------------------
 1 | # Clippy
 2 | #
 3 | # from http://www.reddit.com/r/commandline/comments/2lb5ij/what_is_your_favorite_ascii_art/cltg01p
 4 | #
 5 | $the_cow = <=G==='   '.
 8 |             |======|
 9 |             |======|
10 |         )--/]IIIIII]
11 |            |_______|
12 |            C O O O D
13 |           C O  O  O D
14 |          C  O  O  O  D
15 |          C__O__O__O__D
16 | snd     [_____________]
17 | EOC
18 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/cows/default.cow:
--------------------------------------------------------------------------------
1 | $the_cow = <<"EOC";
2 |         $thoughts   ^__^
3 |          $thoughts  ($eyes)\\_______
4 |             (__)\\       )\\/\\
5 |              $tongue ||----w |
6 |                 ||     ||
7 | EOC
8 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/cows/docker-whale.cow:
--------------------------------------------------------------------------------
 1 | ##
 2 | ## docker whale
 3 | ##
 4 | $the_cow = < $eye\\     _~
 9 |            `;'\\\\__-' \\_
10 |               | )  _ \\ \\
11 |              / / ``   w w
12 |             w w
13 | EOC
14 | 
15 | 
16 | 
17 | 
18 | 
19 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/cows/goat2.cow:
--------------------------------------------------------------------------------
 1 | #
 2 | #	CodeGoat.io: https://github.com/danyshaanan/goatsay
 3 | #
 4 | $the_cow = <
21 | EOC
22 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/cows/minotaur.cow:
--------------------------------------------------------------------------------
 1 | $the_cow = <<"EOC";
 2 |         $thoughts   ^__^
 3 |          $thoughts  ($eyes)
 4 |             (__)
 5 |            /-||-\\
 6 |            \\|\\/|/
 7 |             o==o 
 8 |             ||||
 9 |             ()()
10 | EOC
11 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/cows/moofasa.cow:
--------------------------------------------------------------------------------
 1 | ##
 2 | ## MOOfasa.
 3 | ##
 4 | $the_cow = <
11 |     \\__/
12 |    (____)
13 |     |  |
14 |     |  |
15 |     |__|
16 |    /____\\
17 |   (______)
18 |  (________)
19 | EOC
20 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/cows/ren.cow:
--------------------------------------------------------------------------------
 1 | ##
 2 | ## Ren 
 3 | ##
 4 | $the_cow = <   ____;      ;  |/\\><|   ____   _<)
13 |   {____/    \\_________________/    \\____}
14 |        \\ '' /                 \\ '' /
15 |  jgs    '--'                   '--'
16 | EOC
17 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/cows/telebears.cow:
--------------------------------------------------------------------------------
 1 | ##
 2 | ## A cow performing an unnatural act, artist unknown.
 3 | ##
 4 | $the_cow = <> 
12 | EOC
13 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/cows/template.cow:
--------------------------------------------------------------------------------
1 | # 
2 | $the_cow = <
 9 |        /_/   \\_\\
10 | EOC
11 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/cows/tux.cow:
--------------------------------------------------------------------------------
 1 | ##
 2 | ## TuX
 3 | ## (c) pborys@p-soft.silesia.linux.org.pl 
 4 | ##
 5 | $the_cow = <.'
 8 |         '-:_      )  / `' '=.
 9 |           ) >     {_/,     /~)
10 |   snd     |/               `^ .'
11 | EOC
12 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/cows/www.cow:
--------------------------------------------------------------------------------
 1 | ##
 2 | ## A cow wadvertising the World Wide Web, from lim@csua.berkeley.edu
 3 | ##
 4 | $the_cow = <-'-゚-'`゚u
22 |         ーi-i~i-i~
23 |          |.|  |.|
24 |          |-|  |-|
25 |          ヒコ  ヒコ 
26 | EOC
27 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/cows/yasuna_10.cow:
--------------------------------------------------------------------------------
 1 | #
 2 | # 何でそういうときだけ凄そうなの!
 3 | #
 4 | 
 5 | $the_cow = <|:::::|<\/\//
18 |         \ :::>TヌT<::: /
19 |           Y : \W/ : Y 
20 | EOC
21 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/cows/yasuna_12.cow:
--------------------------------------------------------------------------------
 1 | #
 2 | # からあげ
 3 | #
 4 | 
 5 | $the_cow = <
 2 | 
 3 |   
 4 |     
 5 |     Cowsay
 6 |     
 7 |   
 8 |   
 9 |     

10 |     
17 |   
18 | 
19 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/shell.nix:
--------------------------------------------------------------------------------
 1 | { nixpkgsSource ? null }:
 2 | 
 3 | let
 4 |   nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource; localFiles = true; };
 5 |   pkgs = nixpkgs.pkgs;
 6 |   lib = nixpkgs.lib;
 7 |   appPackage = nixpkgs.appPackage;
 8 | in
 9 |   appPackage.shell
10 | 


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/test.js:
--------------------------------------------------------------------------------
1 | require("nodeunit").reporters.default.run(['test']);


--------------------------------------------------------------------------------
/desktop/JavaScript/cowsay/test/faces.js:
--------------------------------------------------------------------------------
 1 | var getFace = require("../lib/faces");
 2 | 
 3 | exports.getFace = function (test) {
 4 | 	test.expect(4);
 5 | 
 6 | 	// Defaults
 7 | 	var face = getFace({
 8 | 		e : "oo",
 9 | 		T : "  "
10 | 	});
11 | 	test.equal(face.eyes, "oo");
12 | 	test.equal(face.tongue, "  ");
13 | 
14 | 	// One mode
15 | 	var face = getFace({
16 | 		g : true,
17 | 		e : "oo",
18 | 		T : "  "
19 | 	});
20 | 	test.equal(face.eyes, "$$");
21 | 	test.equal(face.tongue, "  ");
22 | 
23 | 	// I don't really want to test two modes
24 | 	test.done();
25 | }


--------------------------------------------------------------------------------
/desktop/PHP/hello-pdf/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/PHP/hello-pdf/.gitignore


--------------------------------------------------------------------------------
/desktop/PHP/hello-pdf/composer.json:
--------------------------------------------------------------------------------
 1 | {
 2 |     "name": "exampleapp/exampleapp",
 3 | 
 4 |     "require": {
 5 |         "dompdf/dompdf": "^0.8.0"
 6 |     },
 7 | 
 8 |     "config": {
 9 |         "autoloader-suffix": "hellopdf"
10 |     }
11 | }
12 | 


--------------------------------------------------------------------------------
/desktop/PHP/hello-pdf/default.nix:
--------------------------------------------------------------------------------
 1 | { nixpkgsSource ? null, localFiles ? true }:
 2 | 
 3 | let
 4 |   nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource localFiles; };
 5 |   pkgs = nixpkgs.pkgs;
 6 |   lib = nixpkgs.lib;
 7 |   appPackage = nixpkgs.appPackage;
 8 | in
 9 | 
10 |   builtins.trace "Nixpkgs version: ${lib.version}"
11 |   builtins.trace "Use local files: ${lib.boolToString localFiles}"
12 | 
13 |   appPackage
14 | 


--------------------------------------------------------------------------------
/desktop/PHP/hello-pdf/index.php:
--------------------------------------------------------------------------------
 1 | loadHtml('hello world');
 8 | 
 9 | $dompdf->setPaper('A4', 'landscape');
10 | $dompdf->render();
11 | 
12 | $dompdf->stream();
13 | 
14 | 


--------------------------------------------------------------------------------
/desktop/PHP/hello-pdf/module.nix:
--------------------------------------------------------------------------------
 1 | { config, lib, pkgs, ... }:
 2 | 
 3 | with lib;
 4 | 
 5 | let
 6 |   pkg = pkgs.hello-pdf;
 7 | in
 8 |   {
 9 |     config = {
10 |       environment.systemPackages = [ pkg ];
11 |     };
12 |   }
13 | 


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/.editorconfig:
--------------------------------------------------------------------------------
 1 | root = true
 2 | 
 3 | [*]
 4 | charset = utf-8
 5 | end_of_line = lf
 6 | insert_final_newline = true
 7 | indent_style = space
 8 | indent_size = 4
 9 | trim_trailing_whitespace = true
10 | 
11 | [*.md]
12 | trim_trailing_whitespace = false
13 | 
14 | [*.{yml,yaml}]
15 | indent_size = 2
16 | 


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto
2 | *.css linguist-vendored
3 | *.scss linguist-vendored
4 | *.js linguist-vendored
5 | CHANGELOG.md export-ignore
6 | 


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/.gitignore:
--------------------------------------------------------------------------------
 1 | /node_modules
 2 | /public/hot
 3 | /public/storage
 4 | /storage/*.key
 5 | /vendor
 6 | .env
 7 | .env.backup
 8 | .phpunit.result.cache
 9 | Homestead.json
10 | Homestead.yaml
11 | npm-debug.log
12 | yarn-error.log
13 | 


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/.styleci.yml:
--------------------------------------------------------------------------------
 1 | php:
 2 |   preset: laravel
 3 |   disabled:
 4 |     - unused_use
 5 |   finder:
 6 |     not-name:
 7 |       - index.php
 8 |       - server.php
 9 | js:
10 |   finder:
11 |     not-name:
12 |       - webpack.mix.js
13 | css: true
14 | 


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/app/Http/Controllers/Controller.php:
--------------------------------------------------------------------------------
 1 | expectsJson()) {
18 |             return route('login');
19 |         }
20 |     }
21 | }
22 | 


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/app/Http/Middleware/CheckForMaintenanceMode.php:
--------------------------------------------------------------------------------
 1 | call(UsersTableSeeder::class);
15 |     }
16 | }
17 | 


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/default.nix:
--------------------------------------------------------------------------------
 1 | { nixpkgsSource ? null, localFiles ? true }:
 2 | 
 3 | let
 4 |   nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource localFiles; };
 5 |   pkgs = nixpkgs.pkgs;
 6 |   lib = nixpkgs.lib;
 7 |   appPackage = nixpkgs.appPackage;
 8 | in
 9 | 
10 |   builtins.trace "Nixpkgs version: ${lib.version}"
11 |   builtins.trace "Use local files: ${lib.boolToString localFiles}"
12 | 
13 |   appPackage
14 | 


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/module.nix:
--------------------------------------------------------------------------------
 1 | { config, lib, pkgs, ... }:
 2 | 
 3 | with lib;
 4 | 
 5 | let
 6 |   pkg = pkgs.laravel-cli;
 7 | in
 8 |   {
 9 |     config = {
10 |       environment.systemPackages = [ pkg ];
11 |     };
12 |   }
13 | 


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/PHP/laravel-cli/public/favicon.ico


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/public/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Disallow:
3 | 


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/resources/js/app.js:
--------------------------------------------------------------------------------
1 | require('./bootstrap');
2 | 


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/resources/sass/app.scss:
--------------------------------------------------------------------------------
1 | //
2 | 


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/routes/channels.php:
--------------------------------------------------------------------------------
 1 | id === (int) $id;
16 | });
17 | 


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/routes/web.php:
--------------------------------------------------------------------------------
 1 | make(Kernel::class)->bootstrap();
19 | 
20 |         return $app;
21 |     }
22 | }
23 | 


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/tests/Feature/ExampleTest.php:
--------------------------------------------------------------------------------
 1 | get('/');
18 | 
19 |         $response->assertStatus(200);
20 |     }
21 | }
22 | 


--------------------------------------------------------------------------------
/desktop/PHP/laravel-cli/tests/TestCase.php:
--------------------------------------------------------------------------------
 1 | assertTrue(true);
18 |     }
19 | }
20 | 


--------------------------------------------------------------------------------
/desktop/Python/answer/answer/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/desktop/Python/answer/answer/__init__.py


--------------------------------------------------------------------------------
/desktop/Python/answer/answer/__main__.py:
--------------------------------------------------------------------------------
 1 | import sys
 2 | from numpy import array
 3 | 
 4 | def main(args=None):
 5 |     """The main routine."""
 6 |     x = array([[0, 0, 0],[0, 42, 0],[0, 0, 0]])
 7 |     print(x.item((1, 1)))
 8 | 
 9 | if __name__ == "__main__":
10 |     main()
11 | 


--------------------------------------------------------------------------------
/desktop/Python/answer/default.nix:
--------------------------------------------------------------------------------
 1 | { nixpkgsSource ? null, localFiles ? true }:
 2 | 
 3 | let
 4 |   nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource localFiles; };
 5 |   pkgs = nixpkgs.pkgs;
 6 |   lib = nixpkgs.lib;
 7 |   appPackage = nixpkgs.appPackage;
 8 | in
 9 | 
10 |   builtins.trace "Nixpkgs version: ${lib.version}"
11 |   builtins.trace "Use local files: ${lib.boolToString localFiles}"
12 | 
13 |   appPackage
14 | 


--------------------------------------------------------------------------------
/desktop/Python/answer/module.nix:
--------------------------------------------------------------------------------
 1 | { config, lib, pkgs, ... }:
 2 | 
 3 | with lib;
 4 | 
 5 | let
 6 |   pkg = pkgs.answer;
 7 | in
 8 |   {
 9 |     config = {
10 |       environment.systemPackages = [ pkg ];
11 |     };
12 |   }
13 | 


--------------------------------------------------------------------------------
/desktop/Python/answer/setup.py:
--------------------------------------------------------------------------------
 1 | import setuptools
 2 | 
 3 | setuptools.setup(
 4 |     name="answer",
 5 |     version="1.0",
 6 |     description="Asnwer",
 7 |     long_description=
 8 |         """
 9 |         A program that prints answer to the ultimate question.
10 |         """,
11 |     url="https://example.com/",
12 |     packages=[ 'answer' ],
13 |     python_requires='>=3.5',
14 |     entry_points={
15 |         'console_scripts': [
16 |             'answer = answer.__main__:main'
17 |         ]
18 |     },
19 | )
20 | 


--------------------------------------------------------------------------------
/desktop/TeX/sample-doc/.gitignore:
--------------------------------------------------------------------------------
1 | # .gitignore to keep this directory
2 | ###################################
3 | 
4 | 


--------------------------------------------------------------------------------
/desktop/TeX/sample-doc/bibliography.bib:
--------------------------------------------------------------------------------
1 | @book{example,
2 |  author = {Tomáš Vlk},
3 |  title = {Example bibliography item},
4 |  year = {2020},
5 |  isbn = {123456789},
6 |  publisher = {Example publisher},
7 |  address = {Prague, CZ},
8 | }
9 | 


--------------------------------------------------------------------------------
/desktop/TeX/sample-doc/default.nix:
--------------------------------------------------------------------------------
 1 | { nixpkgsSource ? null, localFiles ? true }:
 2 | 
 3 | let
 4 |   nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource localFiles; };
 5 |   pkgs = nixpkgs.pkgs;
 6 |   lib = nixpkgs.lib;
 7 |   appPackage = nixpkgs.appPackage;
 8 | in
 9 | 
10 |   builtins.trace "Nixpkgs version: ${lib.version}"
11 |   builtins.trace "Use local files: ${lib.boolToString localFiles}"
12 | 
13 |   appPackage
14 | 


--------------------------------------------------------------------------------
/desktop/TeX/sample-doc/shell.nix:
--------------------------------------------------------------------------------
 1 | { nixpkgsSource ? null }:
 2 | 
 3 | let
 4 |   nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource; localFiles = true; };
 5 |   pkgs = nixpkgs.pkgs;
 6 |   lib = nixpkgs.lib;
 7 |   appPackage = nixpkgs.appPackage;
 8 | in
 9 |   pkgs.mkShell {
10 |     inputsFrom = [ appPackage ];
11 |     src = null;
12 |   }
13 | 


--------------------------------------------------------------------------------
/distributed/Spark/pi/.gitignore:
--------------------------------------------------------------------------------
 1 | HELP.md
 2 | target/
 3 | !.mvn/wrapper/maven-wrapper.jar
 4 | !**/src/main/**
 5 | !**/src/test/**
 6 | 
 7 | ### STS ###
 8 | .apt_generated
 9 | .classpath
10 | .factorypath
11 | .project
12 | .settings
13 | .springBeans
14 | .sts4-cache
15 | 
16 | ### IntelliJ IDEA ###
17 | .idea
18 | *.iws
19 | *.iml
20 | *.ipr
21 | 
22 | ### NetBeans ###
23 | /nbproject/private/
24 | /nbbuild/
25 | /dist/
26 | /nbdist/
27 | /.nb-gradle/
28 | build/
29 | 
30 | ### VS Code ###
31 | .vscode/
32 | 


--------------------------------------------------------------------------------
/distributed/Spark/pi/default.nix:
--------------------------------------------------------------------------------
 1 | { nixpkgsSource ? null, localFiles ? true }:
 2 | 
 3 | let
 4 |   nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource localFiles; };
 5 |   pkgs = nixpkgs.pkgs;
 6 |   lib = nixpkgs.lib;
 7 |   appPackage = nixpkgs.appPackage;
 8 | in
 9 | 
10 |   builtins.trace "Nixpkgs version: ${lib.version}"
11 |   builtins.trace "Use local files: ${lib.boolToString localFiles}"
12 | 
13 |   appPackage
14 | 


--------------------------------------------------------------------------------
/distributed/Spark/pi/shell.nix:
--------------------------------------------------------------------------------
 1 | { nixpkgsSource ? null }:
 2 | 
 3 | let
 4 |   nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource; localFiles = true; };
 5 |   pkgs = nixpkgs.pkgs;
 6 |   lib = nixpkgs.lib;
 7 |   appPackage = nixpkgs.appPackage;
 8 | in
 9 |   pkgs.mkShell {
10 |     buildInputs = with pkgs; [ spark ];
11 |     inputsFrom = [ appPackage ];
12 |     src = null;
13 |     shellHook = ''
14 |       alias mvn='mvn -Dmaven.repo.local="${appPackage.deps}"'
15 |     '';
16 |   }
17 | 


--------------------------------------------------------------------------------
/mobile/Android/cardview/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/cardview/.gitignore


--------------------------------------------------------------------------------
/mobile/Android/cardview/.google/packaging.yaml:
--------------------------------------------------------------------------------
 1 | 
 2 | # GOOGLE SAMPLE PACKAGING DATA
 3 | #
 4 | # This file is used by Google as part of our samples packaging process.
 5 | # End users may safely ignore this file. It has no relevance to other systems.
 6 | ---
 7 | status:       PUBLISHED
 8 | technologies: [Android]
 9 | categories:   [Views Widgets]
10 | languages:    [Java]
11 | solutions:    [Mobile]
12 | github:       android/views-widgets
13 | license: apache2
14 | 


--------------------------------------------------------------------------------
/mobile/Android/cardview/Application/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/cardview/Application/src/main/res/drawable-hdpi/ic_launcher.png


--------------------------------------------------------------------------------
/mobile/Android/cardview/Application/src/main/res/drawable-hdpi/tile.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/cardview/Application/src/main/res/drawable-hdpi/tile.9.png


--------------------------------------------------------------------------------
/mobile/Android/cardview/Application/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/cardview/Application/src/main/res/drawable-mdpi/ic_launcher.png


--------------------------------------------------------------------------------
/mobile/Android/cardview/Application/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/cardview/Application/src/main/res/drawable-xhdpi/ic_launcher.png


--------------------------------------------------------------------------------
/mobile/Android/cardview/Application/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/cardview/Application/src/main/res/drawable-xxhdpi/ic_launcher.png


--------------------------------------------------------------------------------
/mobile/Android/cardview/build.gradle:
--------------------------------------------------------------------------------
 1 | buildscript {
 2 |     repositories {
 3 |         google()
 4 |         jcenter()
 5 |     }
 6 | 
 7 |     dependencies {
 8 |         classpath 'com.android.tools.build:gradle:3.4.2'
 9 |         classpath 'com.google.gms:google-services:4.3.3'
10 |     }
11 | }
12 | 
13 | allprojects {
14 |     repositories {
15 |         google()
16 |         jcenter()
17 |     }
18 | }
19 | 
20 | 


--------------------------------------------------------------------------------
/mobile/Android/cardview/default.nix:
--------------------------------------------------------------------------------
 1 | { nixpkgsSource ? null, localFiles ? true, release ? false }:
 2 | 
 3 | let
 4 |   nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource localFiles; };
 5 |   pkgs = nixpkgs.pkgs;
 6 |   lib = nixpkgs.lib;
 7 |   appPackage = nixpkgs.appPackage.override { inherit release; };
 8 | in
 9 | 
10 |   builtins.trace "Nixpkgs version: ${lib.version}"
11 |   builtins.trace "Use local files: ${lib.boolToString localFiles}"
12 |   builtins.trace "Release: ${lib.boolToString release}"
13 | 
14 |   appPackage
15 | 


--------------------------------------------------------------------------------
/mobile/Android/cardview/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/cardview/gradle/wrapper/gradle-wrapper.jar


--------------------------------------------------------------------------------
/mobile/Android/cardview/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | 


--------------------------------------------------------------------------------
/mobile/Android/cardview/settings.gradle:
--------------------------------------------------------------------------------
1 | include 'Application'
2 | 


--------------------------------------------------------------------------------
/mobile/Android/myfirstapp/.gitignore:
--------------------------------------------------------------------------------
1 | bin
2 | gen
3 | 


--------------------------------------------------------------------------------
/mobile/Android/myfirstapp/README.txt:
--------------------------------------------------------------------------------
1 | This is the example application taken from the Goole Android development
2 | introduction: "Building Your First App":
3 | 
4 | http://developer.android.com/training/basics/firstapp/index.html
5 | 
6 | 
7 | 


--------------------------------------------------------------------------------
/mobile/Android/myfirstapp/default.nix:
--------------------------------------------------------------------------------
 1 | { nixpkgsSource ? null, localFiles ? true, release ? false }:
 2 | 
 3 | let
 4 |   nixpkgs = import ./nixpkgs.nix { inherit nixpkgsSource localFiles; };
 5 |   pkgs = nixpkgs.pkgs;
 6 |   lib = nixpkgs.lib;
 7 |   appPackage = nixpkgs.appPackage.override { inherit release; };
 8 | in
 9 | 
10 |   builtins.trace "Nixpkgs version: ${lib.version}"
11 |   builtins.trace "Use local files: ${lib.boolToString localFiles}"
12 |   builtins.trace "Release: ${lib.boolToString release}"
13 | 
14 |   appPackage
15 | 


--------------------------------------------------------------------------------
/mobile/Android/myfirstapp/ic_launcher-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/myfirstapp/ic_launcher-web.png


--------------------------------------------------------------------------------
/mobile/Android/myfirstapp/keystore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/myfirstapp/keystore


--------------------------------------------------------------------------------
/mobile/Android/myfirstapp/res/drawable-hdpi/ic_action_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/myfirstapp/res/drawable-hdpi/ic_action_search.png


--------------------------------------------------------------------------------
/mobile/Android/myfirstapp/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/myfirstapp/res/drawable-hdpi/ic_launcher.png


--------------------------------------------------------------------------------
/mobile/Android/myfirstapp/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/myfirstapp/res/drawable-ldpi/ic_launcher.png


--------------------------------------------------------------------------------
/mobile/Android/myfirstapp/res/drawable-mdpi/ic_action_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/myfirstapp/res/drawable-mdpi/ic_action_search.png


--------------------------------------------------------------------------------
/mobile/Android/myfirstapp/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/myfirstapp/res/drawable-mdpi/ic_launcher.png


--------------------------------------------------------------------------------
/mobile/Android/myfirstapp/res/drawable-xhdpi/ic_action_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/myfirstapp/res/drawable-xhdpi/ic_action_search.png


--------------------------------------------------------------------------------
/mobile/Android/myfirstapp/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vlktomas/nix-examples/0ebd762662c42270309e01b8f96161a3376f7ddf/mobile/Android/myfirstapp/res/drawable-xhdpi/ic_launcher.png


--------------------------------------------------------------------------------
/mobile/Android/myfirstapp/res/menu/activity_display_message.xml:
--------------------------------------------------------------------------------
1 | 
2 |     
6 | 
7 | 


--------------------------------------------------------------------------------
/mobile/Android/myfirstapp/res/menu/activity_main.xml:
--------------------------------------------------------------------------------
1 | 
2 |     
6 | 
7 | 


--------------------------------------------------------------------------------
/mobile/Android/myfirstapp/res/values-v11/styles.xml:
--------------------------------------------------------------------------------
1 | 
2 | 
3 |