Language Selection

English French German Italian Portuguese Spanish

HowTos

Excellent Utilities: cheat.sh – community driven cheat sheet

Filed under
HowTos

This is a series highlighting best-of-breed utilities. We’re covering a wide range of utilities including tools that boost your productivity, help you manage your workflow, and lots more besides. There’s a complete list of the tools in this series in the Summary section.

Erik Karlsson, one of our regular contributors, has curated the finest free books that help you learn whatever programming language takes your fancy. There’s everything covered from C, C++, Java, Python, R, and much more. Link: Excellent Free Books to Master Programming.

The books offer an exceptional amount of information. But sometimes you’ll need some very specific information that you can access instantly. Erik is currently curating his recommendations for high quality free programming tutorials. But until they’re ready, we are showcasing a utility that offers an alternative to programming tutorials. Step forward cheat sheets with cheat.sh.

What makes cheat.sh special? It offers unified access to the best community driven cheat sheets repositories of the world. cheat.sh uses selected community driven cheat sheet repositories and information sources, maintained by thousands of users, developers and authors all over the world. Besides covering 58 programming languages, it also offers cheat sheets for more than 1,000 Linux commands, and access to information from Stack Overflow.

Read more

today's howtos

Filed under
HowTos

today's howtos

Filed under
HowTos
  • How to install Chromium on Ubuntu using SNAP
  • 3D using Godot

    It is time for another installment of Godot (previous entries: introduction, 2D). This time, I have dived into the world of 3D. The goal is to recreate parts of an old time favorite: Kosmonaut. Something I remember playing a lot on my dad’s 286 with amazing EGA graphics.

    The state of the game when writing can be seen in the short screen capture below. This is more of a tech demo status than a full game at the moment, but I hope you will still find it interesting. You can also get the complete source code.

    [...]

    Once we have a world with a track (the grid map), we add a player to the scene (the yellow blob in the image above – I need to learn Blender to create a proper ship). The player scene contains the ship – and the camera. This means that the camera follows the player automatically – very convenient.

    The player script is responsible for this ship’s movements based on user input. Inputs can either be pressed for a long time, used for sideways movement, or just tapped (i.e. the release is ignored), used for jumping. Each of the inputs are mapped to a keyboard key (or other input device) in the Project Settings dialog, under the Input Map tab. This feels a bit awkward to me and makes me lose the feeling of flow – but I don’t know how to do it better.

  • How to install OpenOffice on Linux
  • How To Install Free SSL Certificate for Apache on CentOS 8
  • Install VirtualBox 6 on CentOS 8
  • How to Install Odoo 13 on Ubuntu 18.04
  • How to Install Anaconda on Debian 10
  • Install Shutter Screenshot Tool via PPA in Ubuntu 19.10

today's howtos and programming bits

Filed under
Development
HowTos
  • CentOS 8 Package Management with DNF on the Command Line
  • AdamW’s Debugging Adventures: “dnf is locked by another application”
  • Managing user accounts with Cockpit
  • Download Ubuntu 19.10 ISO image to install on VirtualBox VM
  • GNU poke: Dealing with alternatives - Unions in Poke

    Computing with data whose form is not the most convenient way to be manipulated, like is often the case in unstructured binary data, requires performing a preliminary step that transforms the data into a more convenient representation, usually featuring a higher level of abstraction. This step is known in computer jargon as unmarshalling, when the data is fetch from some storage or transmission media or, more generally, decoding.

    Once the computation has been performed, the result should be transformed back to the low-level representation to be stored or transmitted. This is performed in a closing step known as marshalling or, more generally, encoding.

    Consider the following C program whose purpose is to read a 32-bit signed integer from a byte-oriented storage media at a given offset, multiply it by two, and store the result at the same offset.

  • Android NDK r21 moves to beta

    Android announced that NDK r21 is now in beta. Android NDK is a toolset for implementing parts of an app in native code. The release — which is the first long term support release — includes improved defaults for better security and performance.

    One of the key features in the release is an update to GNU Make to version 4.2, which provides a number of bug fixes, and enables ‘–output-sync’ to avoid interleaving output with error messages, the team explained. This is enabled by default with ndk-build.

    Additionally, GDB, the GNU project debugger, has been updated to version 8.3, which includes fixes for debugging modern Intel CPUs.

  • What is the history behind C Programming and Unix?

    If you think C programming and Unix are unrelated, then you are making a big mistake. Back in the 1970s and 1980s, if the Unix engineers at Bell Labs had decided to use another programming language instead of C to develop a new version of Unix, then we would be talking about that language today.

    The relationship between the two is simple; Unix is the first operating system that is implemented with a high-level C programming language, got its fame and power from Unix. Of course, our statement about C being a high-level programming language is not true in today’s world.

    This article is an excerpt from the book Extreme C by Kamran Amini. Kamran teaches you to use C’s power. Apply object-oriented design principles to your procedural C code. You will gain new insight into algorithm design, functions, and structures. You’ll also understand how C works with UNIX, how to implement OO principles in C, and what multiprocessing is.

5 Practical Examples of the Read Command in Linux

Filed under
HowTos

With read command, you can make your bash script interactive by accepting user inputs. Learn to use the read command in Linux with these practical examples.
Read more

Syndicate content

More in Tux Machines

today's howtos

Ubuntu: AMD Support, NVIDIA GPU Operator and More

  • Ubuntu 19.10 Doesn't Ship With AMD Navi / Radeon RX 5700 Support Working, But Easy To Enable

    While last week's release of Ubuntu 19.10 "Eoan Ermine" is new enough for Radeon RX 5700 series support with the Linux 5.3 kernel and Mesa 19.2, it doesn't actually work out-of-the-box for these Navi graphics cards. While the principal driver components of the Linux kernel and Mesa3D (for RadeonSI OpenGL and RADV Vulkan) are new enough with Navi support, Ubuntu 19.10's support isn't rounded out because its linux-firmware package isn't new enough for containing the necessary Navi firmware binaries required for the open-source driver usage. So if booting a clean Ubuntu 19.10 install with Radeon RX 5700, you are likely to just see a blank screen.

  • NVIDIA GPU Operator – Simplifying AI/ML Deployments on the Canonical Platform

    Leveraging Kubernetes for AI deployments is becoming increasingly popular. Chances are if your business is involved in AI/ML with Kubernetes you are using tools like Kubeflow to reduce complexity, costs and deployment time. Or, you may be missing out! With AI/ML being the tech topics of the world, GPUs play a critical role in the space. NVIDIA, a prominent player in the GPU space is one of the top choices for most stakeholders in the field. Nvidia takes their commitment to the space a step ahead with the launch of the GPU Operator open-source project at Mobile World Congress LA.

  • Ubuntu Weekly Newsletter Issue 601

    Welcome to the Ubuntu Weekly Newsletter, Issue 601 for the week of October 13th – 19th, 2019.

Audiocasts/Shows: Linux Headlines, Ohio Linux Fest, GNU World Order and Extras

Android Leftovers