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

Volla Phone Promises to Support Ubuntu Touch, Gets Kickstarter Campaign

Founded by Dr. Jörg Wurzer, an experienced entrepreneur with more than 20 years of experience in research and development in user experience, machine learning, natural language processing, artificial intelligence, and product management, Volla Phone promises to be a privacy-focused mobile phone powered by a free and open source operating system. At its heart, the Volla Phone device will use Nemo Mobile, an OS based on the Android Open Source Project (AOSP) promising increased security and privacy features, as well as simplicity for the everyday user. For developers, Volla Phone also promises to support an alternative, free, and open-source operation system like Ubuntu Touch. Read more Also: Ubuntu 18.04.4 LTS- Expected Release Date & More

Programming: DevNation, Python, RcppAnnoy and More

  • Plumbing Kubernetes CI/CD with Tekton

    Our first DevNation Live regional event was held in Bengaluru, India in July. This free technology event focused on open source innovations, with sessions presented by elite Red Hat technologists. In this session, Kamesh Sampath introduces Tekton, which is the Kubernetes-native way of defining and running CI/CD. Sampath explores the characteristics of Tekton—cloud-native, decoupled, and declarative—and shows how to combine various building blocks of Tekton to build and deploy a cloud-native application.

  • Coverage 5.0 beta 1

    I want to finish coverage.py 5.0. It has some big changes, so I need people to try it and tell me if it’s ready. Please install coverage.py 5.0 beta 1 and try it in your environment. I especially want to hear from you if you tried the earlier alphas of 5.0. There have been some changes in the SQLite database that were needed to make measurement efficient enough for large test suites, but that hinder ad-hoc querying.

  • How to get current date and time in Python?

    In this article, you will learn to get today's date and current date and time in Python. We will also format the date and time in different formats using strftime() method. There are a number of ways you can take to get the current date. We will use the date class of the datetime module to accomplish this task.

  • RcppAnnoy 0.0.14

    A new minor release of RcppAnnoy is now on CRAN, following the previous 0.0.13 release in September. RcppAnnoy is the Rcpp-based R integration of the nifty Annoy library by Erik Bernhardsson. Annoy is a small and lightweight C++ template header library for very fast approximate nearest neighbours—originally developed to drive the famous Spotify music discovery algorithm. This release once again allows compilation on older compilers. The 0.0.13 release in September brought very efficient 512-bit AVX instruction to accelerate computations. However, this could not be compiled on older machines so we caught up once more with upstream to update to conditional code which will fall back to either 128-bit AVX or no AVX, ensuring buildability “everywhere”.

  • The Royal Mint eyes fresh IT talent to power digital drive

    The Royal Mint has been manufacturing coins for 1,100 years, originally from the Tower of London and, since 1967, from its current site in South Wales. Today, it is the world’s largest export mint, printing 3.3 billion coins and blanks a year, and now is looking to expand its digital reach to serve retail customers online.

  • Google plans to give slow websites a new badge of shame in Chrome

    A new badge could appear in the future that’s designed to highlight sites that are “authored in a way that makes them slow generally.” Google will look at historical load latencies to figure out which sites are guilty of slow load times and flag them, and the Chrome team is also exploring identifying sites that will load slowly based on device hardware or network connectivity.

  • Moving towards a faster web

    In the future, Chrome may identify sites that typically load fast or slow for users with clear badging. This may take a number of forms and we plan to experiment with different options, to determine which provides the most value to our users.

    Badging is intended to identify when sites are authored in a way that makes them slow generally, looking at historical load latencies. Further along, we may expand this to include identifying when a page is likely to be slow for a user based on their device and network conditions.

  • The Maturing of QUIC

    QUIC continues to evolve through a collaborative and iterative process at the IETF — of adding features, implementing them, evaluating them, reworking or discarding them because they don’t stand up to continued scrutiny, and refining them. And in doing so, QUIC has matured in more ways than we imagined, yielding a protocol that is remarkably different and substantially better than it was in the beginning. So, keeping your arms and legs inside the ride at all times, let us take you on this journey of how QUIC has gone from an early experiment to a standard poised to modernize the [Internet].

  • HEADS UP: ntpd changing [in OpenBSD]

    Probably after 6.7 we'll delete the warning. Maybe for 6.8 we'll remove -s and -S from getopt, and starting with those options will fail.

today's howtos