help-circle
rss
This tutorial will show you How to install Java (OpenJDK) on a Raspberry Pi running the newest Raspbian OS.
fedilink

Small projects to practice TDD?
I want to make a website using TDD. But I want to read and practice with a couple of small projects first. I'll read it, and then try it myself and check my implementation with the repository. I'm looking for projects with good test coverage, of less than 5k lines, written in JavaScript, Python, go or Rust. Where can I find this kind of projects? Github advanced search doesn't have the ability to look for number of lines of code or test coverage. This is what I've found: **npm modules** usually have tests: - JavaScript, 1.8k lines, 77% coverage: https://github.com/jshint/fixmyjs **katas, exercises, challenges**: [exercism](https://github.com/exercism?q=&type=all&language=&sort=stargazers) has a repository for each language, with exercises and tests.
fedilink

[zsh] What is the proper way to define this aliases?
I have several ways of defining aliases mixed together and I want to make them all the same. But I don't even know why I've written them in different ways and now I don't know which to choose. I think `${ZDOTDIR:-$HOME}/.zshrc` is a bad idea. I should just define `$ZSHRC` somewhere and call it here, or I would have to change it in many places if I wanted to change the file location or name. But what about the rest, I have this in one place `'${=EDITOR} "$MYVIMRC"'` and this in another `"$EDITOR $TMUXRC"`, which are the same in my opinion. ``` # Quick access to the .zshrc file alias ez='${=EDITOR} ${ZDOTDIR:-$HOME}/.zshrc' alias zshrc='${=EDITOR} ${ZDOTDIR:-$HOME}/.zshrc' alias ev='${=EDITOR} "$MYVIMRC"' # edit vimrc alias vimrc='${=EDITOR} ${ZDOTDIR:-$HOME}/.zshrc' alias et="$EDITOR $TMUXRC" # edit tmux.conf alias tmuxrc="$EDITOR $TMUXRC" ```
fedilink

Learn the math foundations you need to excel at computer science! (Click "courses" at the top)
fedilink

Kernighan & Ritchie: "The C Programming Language" [PDF]
The "holy bible" of C programming. (I recommend you download it) Mirror: http://math.ecnu.edu.cn/~jypan/Teaching/ParaComp/books/The%20C%20Programming%20Language%202nd.pdf
fedilink

Complete javascript example videos?
I really liked this video. It isn't prepared, he just pauses the video when he has a bug. Any more videos like this for javascript? I'm going to try now to do the same by myself and see if I get it right.
fedilink

C Programming Introduction [CS50]
Harvard lecture series
fedilink


A place to learn programming.
Share free resources here.

Ask questions on heapoverflow.ml

Python docs (tutorial)
Javascript docs (node)
Hard challenges (Project Euler)

  • 0 users online
  • 2 users / day
  • 2 users / week
  • 1 user / month
  • 4 users / 6 months
  • 1 subscriber
  • 9 Posts
  • 6 Comments
  • Modlog
Lemmy
A community of leftist privacy and FOSS enthusiasts, run by Lemmy’s developers

What is Lemmy.ml

Rules

  1. No bigotry - including racism, sexism, ableism, homophobia, or xenophobia. Code of Conduct.
  2. Be respectful. Everyone should feel welcome here.
  3. No porn.
  4. No Ads / Spamming.

Feel free to ask questions over in: